Re: hostname with dhcp-client
Carl == Carl Greco [EMAIL PROTECTED] writes: Carl Anyone know how to set the hostname under dhcp? Carl send host-name peregrine.cox-internet.com; Carl lease { Carl interface eth0; Carl option host-name peregrine.cox-internet.com; Carl } You can set your hostname the same way as without DHCP: through /etc/hostname You shouldn't put a `lease' into the dhclient.conf: that's only used to help configure the network if the DHCP server is down. The `send host-name' directive is meant to tell the server the hostname you'd like to have. I use this to update the DNS information for my home network. -- G. ``Iggy'' Geens - ICQ: #64109250 Home: [EMAIL PROTECTED] - Work: [EMAIL PROTECTED] WWW: http://users.pandora.be/guy.geens/ `I want quality, not quantity. But I want lots of it!'
Re: hostname with dhcp-client
On Sat, Aug 11, 2001 at 11:03:51AM -0500, Carl Greco wrote: send host-name peregrine.cox-internet.com; lease { interface eth0; option host-name peregrine.cox-internet.com; } I have used several combinations in the above config file including setting the hostname and domain names separately. I don't find an error message from dhclient; however, the hostname assigned by DNS, i.e., from nslookup on the ip address, is not `peregrine' but some combination of letter, numbers and dashes. I was under the impression that the 'host-name' option to DHCP was just used to look up your machine in the DHCP server's database, and that you needed to get whoever runs your DNS server to give you the reverse DNS you want too. I don't think you can just send a host name over DHCP and expect it to work. -- Colin Watson [EMAIL PROTECTED]
hostname with dhcp-client
Anyone know how to set the hostname under dhcp? I have dhcp-client [2.0pl4-2] debian 2.2 - potato [patched to date] kernel [2.2.19] I establish a lease with dhclient with the following config file, i.e., [/etc/dhclient.conf] send host-name peregrine.cox-internet.com; lease { interface eth0; option host-name peregrine.cox-internet.com; } I have used several combinations in the above config file including setting the hostname and domain names separately. I don't find an error message from dhclient; however, the hostname assigned by DNS, i.e., from nslookup on the ip address, is not `peregrine' but some combination of letter, numbers and dashes. I found several messages in the Debian Mailing List Archives that may be useful but it appears there is a problem with the database. I get the following message when I attempt to read one of the messages: The requested URL /www/debian-user/2001/debian-user-200107/msg02249.html was not found on this server. -- Carl Greco [EMAIL PROTECTED]
Re: hostname with dhcp-client
Hello Carl, Saturday, August 11, 2001, 6:03:51 PM, you wrote: CG The requested URL CG /www/debian-user/2001/debian-user-200107/msg02249.html was not found CG on this server. try it without '/www' so it's /debian-user/2001/debian-user-200107/msg02249.html This helped me. -- Best regards, Petermailto:[EMAIL PROTECTED]