GNOME Bugzilla – Bug 587796
Manual refresh of wireless networks
Last modified: 2013-04-15 19:23:06 UTC
It would be great to have a way to manually refresh (alla iwconfig wlan0 sc) the wireless networks instead of waiting that NM detects them in the vicinity. That way, it may improve using the computer from one side to another instead of waiting for NM to connect automatically to the first available network. Other information:
I guess this still applies. Do we have a D-Bus method to refresh the list of wireless networks, do we?
I'd really like to see this added. I currently connect with a fairly flaky wireless router which occasionally drops connection (or may be reset by others in the office). When this occurs the network naturally disappears from the wireless networks. However when the connection returns, the Network Manager does not refresh the list of available networks. My stop-gap solution is turning wireless off, then re-enabling it forcing the AP list to refresh.
(In reply to comment #2) > My stop-gap solution is turning wireless off, then re-enabling it forcing the > AP list to refresh. Which looks like a pretty good workaround for your specific problem. I agree that a 'nmcli' way to perform the scan would be nice (if it's not already there). Maybe in the form of a --rescan option to the wireless network listing command. I don't know whether such functionality is suitable for GUI tools, though.
NM D-Bus call RequestScan: http://projects.gnome.org/NetworkManager/developers/api/09/spec.html#org.freedesktop.NetworkManager.Device.Wireless gdbus call --system -d org.freedesktop.NetworkManager \ -o /org/freedesktop/NetworkManager/Devices/2 \ -m org.freedesktop.NetworkManager.Device.Wireless.RequestScan {} Implemented in nmcli (in master): nmcli device wifi scan http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=abbde8d76fecee69f4757b12bc3c02656ff4dd10
As noted, been around for a bit, so closing FIXED.