On Tue, Jul 10, 2012 at 7:26 PM, David Wolfskill <david_at_catwhisker.org> wrote: > On Tue, Jul 10, 2012 at 07:15:21PM -0700, Garrett Cooper wrote: >> ... >> Curious. I was wondering about this because there's some logic in >> network.subr that parses ifconfig -l output -- thinking that the >> fallout might have been there. >> I would be curious next to see what devd is trying to execute. >> >> As a fun next test, try adding the following line to devd.conf (look >> for "dhclient") and restart devd: >> >> nomatch "bus" "uhub[0-9]+"; >> .... > > Well, devd wasn't particularly happy about that: > > g1-228(10.0-C)[7] sudo service devd restart > Stopping devd. > Waiting for PIDS: 1736. > Starting devd. > devd: Cannot parse /etc/devd.conf at line 55 > /etc/rc.d/devd: WARNING: failed to start devd > g1-228(10.0-C)[8] cat -n devd.conf | grep -wC 3 55 > 52 notify 0 { > 53 match "system" "IFNET"; > 54 match "type" "LINK_UP"; > 55 nomatch "bus" "uhub[0-9]+"; > 56 media-type "ethernet"; > 57 action "/etc/rc.d/dhclient quietstart $subsystem"; > 58 }; > g1-228(10.0-C)[9] My bad -- I misread the manpage. This will work better probably: notify 0 { match "system" "IFNET"; match "type" "LINK_UP"; media-type "802.11"; match "device" "wlan[0-9]+"; action "/etc/rc.d/dhclient quietstart $subsystem"; }; Kind of funny why things are setup that way anyhow for wireless post-8.x... All else fails, you sh -x the rc.d script at boot or add rc_debug="YES" to rc.conf and see what's getting passed along... Cheers, -GarrettReceived on Wed Jul 11 2012 - 00:36:10 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:28 UTC