Re: Instructing dhclient to set hostname of client

2006-10-27 Thread Doug Barton
Joe Holden wrote: Brooks Davis wrote: On Tue, Oct 24, 2006 at 09:16:07AM +0200, Harti Brandt wrote: On Mon, 23 Oct 2006, Joe Holden wrote: JH>Andrey V. Elsukov wrote: JH>> Doug Barton wrote: JH>>> If you're talking about a laptop where you're not sure what the DHCP JH>>> server is going to sen

Re: Instructing dhclient to set hostname of client

2006-10-24 Thread Joe Holden
Brooks Davis wrote: > On Tue, Oct 24, 2006 at 09:16:07AM +0200, Harti Brandt wrote: >> On Mon, 23 Oct 2006, Joe Holden wrote: >> >> JH>Andrey V. Elsukov wrote: >> JH>> Doug Barton wrote: >> JH>>> If you're talking about a laptop where you're not sure what the DHCP >> JH>>> server is going to send y

Re: Instructing dhclient to set hostname of client

2006-10-24 Thread Brooks Davis
On Tue, Oct 24, 2006 at 09:16:07AM +0200, Harti Brandt wrote: > On Mon, 23 Oct 2006, Joe Holden wrote: > > JH>Andrey V. Elsukov wrote: > JH>> Doug Barton wrote: > JH>>> If you're talking about a laptop where you're not sure what the DHCP > JH>>> server is going to send you, then I have this in /et

Re: Instructing dhclient to set hostname of client

2006-10-24 Thread Harti Brandt
On Mon, 23 Oct 2006, Joe Holden wrote: JH>Andrey V. Elsukov wrote: JH>> Doug Barton wrote: JH>>> If you're talking about a laptop where you're not sure what the DHCP JH>>> server is going to send you, then I have this in /etc/rc.local: JH>> JH>> Hi, Doug. JH>> JH>> What you think about adding a

Re: Instructing dhclient to set hostname of client

2006-10-23 Thread Andrey V. Elsukov
Doug Barton wrote: I think making FreeBSD more like Windows is a bad idea. :) Yes, i partially agree, but this feature can be usefull on a laptops. If this feature will have a chance to commit, I can try to implement it. -- WBR, Andrey V. Elsukov ___

Re: Instructing dhclient to set hostname of client

2006-10-23 Thread Doug Barton
Andrey V. Elsukov wrote: Doug Barton wrote: If you're talking about a laptop where you're not sure what the DHCP server is going to send you, then I have this in /etc/rc.local: Hi, Doug. What you think about adding a new feature to dhclient - Alternate IP Configuration. This configuration ca

Re: Instructing dhclient to set hostname of client

2006-10-23 Thread Joe Holden
Andrey V. Elsukov wrote: > Doug Barton wrote: >> If you're talking about a laptop where you're not sure what the DHCP >> server is going to send you, then I have this in /etc/rc.local: > > Hi, Doug. > > What you think about adding a new feature to dhclient - Alternate IP > Configuration. This con

Re: Instructing dhclient to set hostname of client

2006-10-22 Thread Andrey V. Elsukov
Doug Barton wrote: If you're talking about a laptop where you're not sure what the DHCP server is going to send you, then I have this in /etc/rc.local: Hi, Doug. What you think about adding a new feature to dhclient - Alternate IP Configuration. This configuration can be specified in dhclient

Re: Instructing dhclient to set hostname of client

2006-10-22 Thread Doug Barton
Joe Holden wrote: Hi all, Is it possible to get dhclient to resolve the ip its been given, and set that as the hostname? (6.2-PRE) For future reference, this really belongs on freebsd-questions. If you know for sure that the DHCP server is going to send you a hostname, then you can put this