Re: "ifconfig create" breaks between r238227 - r238290?

From: David Wolfskill <david_at_catwhisker.org>
Date: Tue, 10 Jul 2012 19:59:58 -0700
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
_at__at_ -73,6 +73,7 _at__at_
        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				david_at_catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Received on Wed Jul 11 2012 - 00:59:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:28 UTC