login
Header Space

 
 

netstart(8) brings interface down in case of dhcp

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: misc <misc@...>
Date: Saturday, May 10, 2008 - 7:50 am

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...

thanks!

p.s. the system is -current.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
netstart(8) brings interface down in case of dhcp, Denis Doroshenko, (Sat May 10, 7:50 am)
Re: netstart(8) brings interface down in case of dhcp, Claudio Jeker, (Sun May 11, 12:05 am)
speck-geostationary