On Sat, May 10, 2008 at 02:50:05PM +0300, Denis Doroshenko wrote:
> hello,
> 
> in case there is a "dhcp" in hostname.if(5), netstart does
> the following:
> 
> cmd="ifconfig $if $name $mask $bcaddr $ext1 $ext2 down"
> cmd="$cmd;dhclient $if"
> 
> in my case if have /etc/hostname.ath0 like:
> 
> up nwid openwlan
> dhcp
> 
> the interface comes up within the network "openwlan"
> and then is brought down before dhclient is started.
> so i see nice "ath0: no link .......... sleeping" upon
> the system startup.
> 
> what is the reason to bring an interface down in case of
> dhcp? google is not clear on this one...
> 

We're not sure either why dhclient likes to down/up interfaces that often.
The dhclient-script needs some work, it is evil in many regards.

-- 
:wq Claudio

Reply via email to