Timppl Posted April 11, 2006 Report Share Posted April 11, 2006 (edited) I booted my computer ( Mandriva 2006 ) with the latest sysresccd last week and now every time it boots up the hostname is set to sysresccd instead of the correct one, which is amadeus. I have looked through all the files under /etc and could not find anything that would give me this unwanted hostname. If I change it back to amadeus using mcc it remains correct until the next reboot, when it is again set to sysresccd. I have looked through all the logs and cannot see any mention of setting the hostname during bootup. Also, because the hostname is wrong, gnome will not start correctly. I cannot see any mention of this behaviour on the sysresccd website. I can't think of anything else to try, and this is really annoying me. Can anybody help please? Edited April 13, 2006 by Timppl Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted April 11, 2006 Report Share Posted April 11, 2006 Hostname is set in /etc/sysconfig/network, contents of mine: [ian@esprit ~]$ cat /etc/sysconfig/network HOSTNAME=esprit.buziaks.com NETWORKING=yes GATEWAY=10.1.1.1 just edit this file replacing the name against HOSTNAME=. Quote Link to comment Share on other sites More sharing options...
Timppl Posted April 11, 2006 Author Report Share Posted April 11, 2006 I looked in there and this is what is in it: HOSTNAME=amadeus.launchbury.org.uk NETWORKING=yes Despite this, it still comes up with hostname sysresccd ( see below) $hostnamesysresccd Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted April 12, 2006 Report Share Posted April 12, 2006 Are you using DHCP? What's the contents of your /etc/sysconfig/network-scripts/ifcfg-eth0 or the ethernet device you are using? (eth1, wlan0, ath0, etc, etc). Quote Link to comment Share on other sites More sharing options...
Timppl Posted April 13, 2006 Author Report Share Posted April 13, 2006 I am using eth0, with cable connection to an MSI wireless router. /etc/sysconfig/ifcfg-eth0 contents are DEVICE=eth0 BOOTPROTO=dhcp IPADDR="No IP" NETMASK="No Mask" BROADCAST=255 ONBOOT=yes METRIC=10 MII_NOT_SUPPORTED=no PEERDNS=yes DHCP_CLIENT=dhclient NEEDHOSTNAME=yes PEERDNS=yes PEERYP=no PEERNTPD=no Is it possible that the hostname is being set from the router? Quote Link to comment Share on other sites More sharing options...
Timppl Posted April 13, 2006 Author Report Share Posted April 13, 2006 (edited) Sorted now. It was the dhcp server in the linker. Thanks to ianw1974 for pointing me in the right direction Edited April 13, 2006 by Timppl Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted April 13, 2006 Report Share Posted April 13, 2006 No worries, glad you're sorted :P Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.