Description of problem: nmcli doesn't add/connect to a new wifi network. I have a couple of connections saved which get connected to automatically, but if I try to manually connect to them using nmcli, it gives me this same error. Version-Release number of selected component (if applicable): NetworkManager-1.2.0-0.3.20151112gitec4d653.fc24.x86_64 How reproducible: consistent Steps to Reproduce: 1. nmcli dev wifi connect $network [password $password] Actual results: Error: Failed to add/activate new connection: The access point /org/freedesktop/NetworkManager/AccessPoint/$NUM was not in the scan list. Expected results: should connect to wifi network
same error no matter what getenforce says.
$ nmcli dev wifi connect $network [password $password] is a command for creating a new profile and activate it, see nmcli manual page. To activate an existing connection, simply use $ nmcli connection up profile-name Anyway, what network (SSID) did you use for 'nmcli dev wifi connect'? Was it hidden (with disabled broadcast of SSID)? In that case you should use "hidden" option. Can you see the network in 'nmcli dev wifi' list?
Well, I can reproduce 'nmcli device wifi connect' error. It has been fixed upstream, but the fix is not in rawhide snapshot. http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=914d875dc2ea2e410c422cf9d027d33e47396cdf The new master snapshot will be made for rawhide soon (after other issues are resolved).
great thanks, any ETA on the new build?
I'm using MATE for now (KDE if it'd ever start correctly), and when I click on the wireless icon and then click on my network from the list of available networks, I get this error. However, if I go to connect to a hidden network and then select my network, it works just fine.
Jirka, could you do a new build for rawhide atleast? This bug has pretty much put me under 'house arrest' so to speak.
I pushed a minimal fix (the patch and a couple of patches which allow building against the libsoup in Rawhide) to Rawhide, until a new git snapshot is prepared. Mike Hill tested a scratch build for me, and said that it fixes the problem for him.