On Tue, Jul 10, 2012 at 07:36:09PM -0700, Garrett Cooper wrote:
> ..
> > Well, devd wasn't particularly happy about that:
> ...
> 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";
> };
OK; didn't get a whine from that:
devd.conf: 327 lines, 9863 characters.
g1-228(10.0-C)[10] rcsdiff -u !$
rcsdiff -u devd.conf
=====================================================================
RCS file: RCS/devd.conf,v
retrieving revision 1.1
diff -u -r1.1 devd.conf
--- devd.conf 2012/07/11 02:20:46 1.1
+++ devd.conf 2012/07/11 02:45:04
@@ -73,6 +73,7 @@
match "system" "IFNET";
match "type" "LINK_UP";
media-type "802.11";
+ match "device" "wlan[0-9]+";
action "/etc/rc.d/dhclient quietstart $subsystem";
};
g1-228(10.0-C)[11] sudo service devd restart
devd not running?
Starting devd.
g1-228(10.0-C)[12]
> 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...
Well, the "wifi" LED isn't lit on the machine (which it is -- at
least blinking -- if it's even trying to associate). So I suspect that
the devd.conf stuff is a bit moot at this point.
I've attached a typescript from "sh -x /etc/rc.d/netif restart".
(And then I need to flip back to my stable/8 slice in order to maintain
domestic tranquility -- don't ask. :-})
Peace,
david
--
David H. Wolfskill [email protected]
Depriving a girl or boy of an opportunity for education is evil.
See http://www.catwhisker.org/~david/publickey.gpg for my public key.
netif.gz
Description: Binary data
pgp2lEATDG1hh.pgp
Description: PGP signature
