Unfortunately, using the hostname command like that solves the problem until you reboot. Red Hat does things differently just like every other distro, and I'm sure each one of them thinks their idea is brilliant. That is another topic though.
To address the problem, you can "fix" it one of two ways. Manually edit the following file:
/etc/sysconfig/network
When you open it, you'll be able to tell what you need to change. There may be other files you have to change, which is why I suggest the second method:
Go through your system menu, select "System Settings" followed by "Network". If I remember correctly, there will be a tab somewhere that gives you the ability to alter the hostname. If you can't find it there, it may be under "System Tools" followed by "Network device control" or something like that. Anyway, use the Red Hat tools to modify a Red Hat system. That's why they are there: so you don't have to worry about their special, behind the scenes setup.
If you don't like that philosophy, then build an LFS system. You'll either feel a great sense of freedom or an immense, newfound appreciation for the simplicity offered by these tools.
Last edited by Dark_Helmet; 09-11-2005 at 10:04 PM.
|