On Thursday 27 February 2003 10:51 pm, Greg Meyer wrote: > I am having trouble with the hostname on my cooker box and can't figure out > what is going on. I am updated through 20030227's Cooker. > > I am on a network with a dhcp server and have set a hostname in > drakconnect. When I reboot, the machine is assigned an ip address by the > dhcp server (192.168.0.6) and the hostname is set to dhcppc5. > > I know that the dhcp server is providing the hostname, but why doesn't the > OS use the hostname I entered in drakconnect? > > The contents of my /etc/sysconfig/networking file: > > NETWORKING=yes > GATEWAY=192.168.0.1 > > If I add a hostname and domain name to /etc/sysconfig/networking, it still > boots up using dhcppc5 as the hostname. What is going on here? >
I'll confess that i forgot to check the contents of /etc/sysconfig/network-scripts/ifcfg-eth0 after I reran draconnect, and the hostname is set in there properly. If that is the case, why would that not override the dhcp server assigned hostname? -- Greg
