After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 587796 - Manual refresh of wireless networks
Manual refresh of wireless networks
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: Wi-Fi
unspecified
Other All
: Normal minor
: ---
Assigned To: Dan Williams
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2009-07-05 02:18 UTC by Juan Carlos Inostroza
Modified: 2013-04-15 19:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Juan Carlos Inostroza 2009-07-05 02:18:25 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:
Comment 1 Pavel Simerda 2012-07-25 18:37:08 UTC
I guess this still applies. Do we have a D-Bus method to refresh the list of wireless networks, do we?
Comment 2 Matt Butler 2013-04-10 16:42:18 UTC
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.
Comment 3 Pavel Simerda 2013-04-11 12:34:01 UTC
(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.
Comment 4 Jiri Klimes 2013-04-11 12:43:45 UTC
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
Comment 5 Dan Williams 2013-04-15 19:23:06 UTC
As  noted, been around for a bit, so closing FIXED.