I can confirm that it does not reenable device on vanilla 2.6.25 on hardy. All it needs is manual device activation of wlan0 device, just like Aram Yegenian wrote before me. Little problem is that my Sony Vaio reports wifi switch always same hotkey, when switched to off and also to on. But it does not break things for me to try it always, with rf_kill on it does refuse going up.
Sending my script, a bit more complex then ifconfig (not sure it is better). You need to map wifi switch to that event, like in previous post.
I can confirm that it does not reenable device on vanilla 2.6.25 on hardy. All it needs is manual device activation of wlan0 device, just like Aram Yegenian wrote before me. Little problem is that my Sony Vaio reports wifi switch always same hotkey, when switched to off and also to on. But it does not break things for me to try it always, with rf_kill on it does refuse going up.
Sending my script, a bit more complex then ifconfig (not sure it is better). You need to map wifi switch to that event, like in previous post.