I am working on an application that sends a reconfiguration command to its access point. The access point should reconfigure itself from being protected by WPA2 to being an open network. The access point must reboot itself in order for the configuration to take.

My issue is that after the AP has rebooted, no matter what I do NetworkManager still shows the AP as having WPA2 security. I know that it does not because I can connect to it without entering a password. I have also confirmed in the configuration of the AP that it is not using any security. The only way I have been able to resolve this is by either bringing the radio down and then up and reissuing a scan through nmcli or by restarting NetworkManager.

Both of these options are less than ideal in my application. I have reissued a scan in iwlist scan and wpa_cli scan and it does show the AP without security.

I see this in my VM which is running Ubuntu 16.04 and my Debian Stretch dev machine.

I am trying to understand where NetworkManager is receiving it's list of APs, assumed it was iwlist or wpa_cli, and why it seems to be caching that security type.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.