I don't know if it helps but if the hotkey is connected to a script
(such as /etc/acpi/wireless.sh) this problem could easilly be resolved
by adding those lines

# line to pseudo disable wireless in network-manager
dbus-send --system --type=method_call --dest=org.freedesktop.NetworkManager 
/org/freedesktop/NetworkManager 
org.freedesktop.NetworkManager.setWirelessEnabled boolean:false

# line to enable wireless
dbus-send --system --type=method_call --dest=org.freedesktop.NetworkManager 
/org/freedesktop/NetworkManager 
org.freedesktop.NetworkManager.setWirelessEnabled boolean:true

using those lines whenever I hit the hotkey to enable wireless, the connection 
is brought up again (if I was previously connected).
Unfortunately network manger (or at least the gnome applet, I don't know) 
doesn't understand that the card is off and it continues to show every wireless 
network that was in the range of you, before you used the hotkey to deactivate 
the card.

-- 
Doesn't reconnect when wireless disabled/re-enabled using kill switch
https://launchpad.net/bugs/20667

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to