PDA

View Full Version : Hotplugging USB linksys wlan card



TomJoad
09-12-2004, 11:05 PM
I've been playing around with a hd install of 3.4 and I've got my linksys wusb11 working happily in that it sees the network fine, I just can't get it hotplugging properly.

The card comes up fine on boot but if it gets unplugged and then reattached it doesn't bring the interface back up. iwconfig shows that the card is reattached but I have to manually run 'ifup wlan0' to get going again.

I'm sure I'm missing something really obvious at the end of a hotplugging script but if someone could point me in the right direction I'd be really grateful.

TomJoad
09-12-2004, 11:14 PM
Aha! Five minutes later and I find the solution!

In case anyone else comes across this, all I needed to do was add the following to /etc/network/interfaces

mapping hotplug
script grep
map wlan0


Tada! :P