Comment 32 for bug 193970

Revision history for this message
Aram Yegenian (aramyegenian) wrote :

Hi,

I have a Thinkpad R60 with the iwl3945 driver running Hardy Heron and when I disable the kill switch I don't get wireless back on, but I can get it back on if i run "ifconfig wlan0 up" manually.

But instead of manually running ifconfig each time, I used acpi events to switch it back on using the howto here:
http://www.thinkwiki.org/wiki/How_to_configure_acpid
I created a new file "/etc/acpi/events/thinkpad-iwl3945" and added the following event:
event=ibm/hotkey HKEY 00000080 00007000
action=/etc/acpi/thinkpad-iwl3945.sh
and the script "/etc/acpi/thinkpad-iwl3945.sh" has the following:
#!/bin/bash
/sbin/ifconfig wlan0 up

and that did it for me, hope that helps :)