On Saturday 16 August 2003 10:02 pm, Rolf Pedersen wrote:
Greg Meyer wrote:
On Saturday 16 August 2003 02:19 pm, Dave Sherman wrote:
You *might* be able to edit /etc/sysconfig/network-scripts/ifcfg-eth0 and make sure there is in entry that looks like: NEEDHOSTNAME=no
You would also need to edit /etc/sysconfig/network, and set the
following entry (if it's not already there): HOSTNAME=localhost
This is the solution and was the first response to your post. SOmehow I think you missed it.
$ cat /etc/sysconfig/network NETWORKING=yes HOSTNAME=localhost
I did do this, maybe you didn't get the mail that stated that. Thanks.
It is the NEEDHOSTAME=no that is important. It prevents the machine from
I had set this in /etc/sysconfig/network-scripts/ifcfg-eth0, as I had implemented all the suggestions in this thread.
setting the hostname to the one acquired in the dhcp process. I can't double check my machine because I am using a router for my cable modem and use static addressing behind it. I have previously solved the problem by running drakconnect in expert mode, making sure the need host name box is unchecked, and don't make any entries in the zeroconf or tmdnsboxes.
Ran drakconnect in expert mode, several times. Left default dhcp-client
checked. DHCP host name is filled in from previous usage/configuration,
no doubt. Tried removing that but made no difference. Network
hotplugging is default; tried it this way and with this unselected. 'Assign host name from DHCP address' left unselected.
'Zeroconf Host name' is default 'localhost'. Tried leaving this and
blanking this. 'Host name' is default 'localhost'. HTTP and FTP
proxies left blank. Reboot after each configuration. Prompt comes up
as DHCP host name.
Putting hostname localhost in rc.local has the desired effect plus the side effect of disabling autologin. Actually, the desired effect is to get this working without rc.local but I don't know how stubborn I will be ;p Thanks.
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
