Re: DHCP and hostname

1998-07-30 Thread E. S. Venkatraman
Thanks for all of you who have helped me. I solved the hostname problem by using the "-c commandfile" option in the "dhcpc" init script in /etc/init.d. Now if I can make the rest of the init scripts (particularly xdm) wait for the hostname to be set (it takes the DHCP server about 15 seconds to c

Re: DHCP and hostname

1998-07-29 Thread Mark H. Mabry
Venkat> My linux machine is in a network where the IP addresses are Venkat> assigned using DHCP. I use "dhcpcd" to get the IP address Venkat> but it also mangles my machine's hostname (probably because Venkat> the DHCP server is not properly configured). Is there a way Venkat> to quer

Re: DHCP and hostname

1998-07-27 Thread Troy
Would work for the hostname command, I am unsure if you have a MTA set up, which you would also need to change the hostname in. do a "grep /etc/* | more" to see how many files it is in. On mine it comes up in: HOSTNAME hostname mailname hosts and ssh config files [which you can't 'properly' edi

Re: DHCP and hostname

1998-07-27 Thread E. S. Venkatraman
Getting a static IP address is not feasible. Also to get the DHCP server to return the right hostname might not be feasible. Will it be feasible to get the hostname from the DNS once the IP address has been assigned (either when I boot the machine up or when the lease for the address is renewed)

DHCP and hostname

1998-07-24 Thread E. S. Venkatraman
My linux machine is in a network where the IP addresses are assigned using DHCP. I use "dhcpcd" to get the IP address but it also mangles my machine's hostname (probably because the DHCP server is not properly configured). Is there a way to query the DNS server for the correct hostname from the