Skip to content
This repository has been archived by the owner on Dec 8, 2019. It is now read-only.

Old networks are never removed #1

Closed
davidknezic opened this issue Nov 14, 2018 · 0 comments
Closed

Old networks are never removed #1

davidknezic opened this issue Nov 14, 2018 · 0 comments

Comments

@davidknezic
Copy link
Member

davidknezic commented Nov 14, 2018

Every time a connection is made to a new wifi network, it is appended to the wpa_supplicant.conf file. All previous connections persist and keep a higher priority.

We should always remove all previous connections when a new one is made.

It looks like we'll have to call wpa_cli list_networks to get all networks and then execute wpa_cli remove_network 0 for every entry, right before adding and saving a new network.

source: https://stackoverflow.com/a/43763119

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant