(At the very least on a vanilla 1.6 GHz Dell Inspiron 530) hostname cannot be changed successfully. To replicate:
Do a fresh install from the i386 DVD
Allow the system to do all updates (kernel, Firefox, etc)
Computer->Control Panel->Network Settings
Note original hostname
Change the hostname to davinci
If you then start a Gnome Terminal, you will see that the prompt in the terminal reads youruser@davinci but the terminal header reads youruser@oldhostname. Numerous other apps are affected similarly.
Not sure if this is a similar solution, but I changed my hostname in a different location.
I went to:
YAST > Network Devices > Network Card > Network Settings (dialog box pops up) > Hostname/DNS Tab > Hostname … where I entered “stonehenge01”. I left the “change host name via DHCP” checked, and I left the “write host name to /etc/hosts” checked.
My hostname now appears as “stongehenge01” ( ie oldcpu@stonehenge01 )
Perhaps reboot if you haven’t already, since the base system won’t
reload all of those until it starts up with them though new shells
invoked from the change on will have the new name. This shouldn’t be a
huge issue since almost anything new should make new calls to hostname
and get the correct value.
Good luck.
petermholmes wrote:
> Not sure where to put this so I threw it in here.
>
> (At the very least on a vanilla 1.6 GHz Dell Inspiron 530) hostname
> cannot be changed successfully. To replicate:
>
> 1. Do a fresh install from the i386 DVD
> 2. Allow the system to do all updates (kernel, Firefox, etc)
> 3. Computer->Control Panel->Network Settings
> 4. Note original hostname
> 4. Change the hostname to davinci
>
>
> If you then start a Gnome Terminal, you will see that the prompt in the
> terminal reads youruser@davinci but the terminal header reads
> youruser@oldhostname. Numerous other apps are affected similarly.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
Rebooting yields artifacts in the hostname. In this case you’ll get the last 3 characters of the original hostname assigned by OpenSuse11. For example, an original hostname of “linux-oeb8” will become “davincieb8”