Jump to content

Sysresccd unfriendliness [solved]


Timppl
 Share

Recommended Posts

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, :wall: and this is really annoying me. :realmad:

 

Can anybody help please?

Edited by Timppl
Link to comment
Share on other sites

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=.

Link to comment
Share on other sites

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).

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...