Help - Search - Members - Calendar
Full Version: Change Server Name
Linuxhelp > Support > Technical Support
rodnod
Where are the config files to change the name of my server.? I have changed it in network settings and samba so the new name [marvin] appears on the network, but when I check the log files it still shows as the old name [inferno].

[snip]
Jan 21 12:08:45 inferno network: Bringing up interface eth0: succeeded
Jan 21 12:08:45 inferno kernel: ip_tables: © 2000-2002 Netfilter core team
Jan 21 12:08:45 inferno kernel: e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex
Jan 21 12:08:47 inferno network: Bringing up interface eth1: succeeded
[snip]

Thanks
Rod
michaelk
The /etc/sysconfig/network file is where you change the hostname.
rodnod
I have already changed the settings in /etc/sysconfig/network. Checked them again, and yes they are updated. I have restarted the services after making changes, but is it possible I need to do a full system reboot.?
michaelk
Yes. you can use the hostname command to change the hostname at any time.
Termina
Besides using the hostname (which isn't a permament change, IIRC) edit /etc/hostname

That'll change it. To get it to show username@newhostname, just log off/on. smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.