hmm, on Tue, Jul 24, 2012 at 03:47:53PM -0400, Dan Harnett said that
> It would be more convenient to just have trunk handle it, though.  Any
> connections will not be disrupted and you don't have to mess around with
> any part of the network.  You can have hotplugd(8) handle it for you.
> 
> /etc/hostname.re0:
> up
> 
> /etc/hostname.trunk0:
> trunkproto failover trunkport re0
> dhcp NONE NONE NONE
> 
> Then have hotplugd setup urtwn0 on attach.
> 
>   ifconfig urtwn0 nwid BLAH wpa wpakey blahblah up
>   ifconfig trunk0 trunkport urtwn0

this seems to work great both when the nic is inserted
right from boot time, or when inserted later.

> When you want to switch back to the wired interface, just plug the cable
> in, wait a few seconds for any autonegotiation, and you can safely
> unplug the urtwn0.

now the only last question remaining: should any commands
be executed before removing the usb wifi?  sometimes i get this:

/bsd: ehci_idone: ex=0xd1f4b000 is done!

-f
-- 
i know someone with the exact same name!  really?  who?

Reply via email to