wifi-rs icon indicating copy to clipboard operation
wifi-rs copied to clipboard

WiFi-rs creates a new duplicate connection file every time it connects to an access point

Open ChaiTRex opened this issue 5 years ago • 1 comments

I use Ubuntu's default NetworkManager, and every time I connect to WiFi using WiFi-rs, it creates and saves the same network as a new WiFi access point, leaving lots of duplicates:

$ ll /etc/NetworkManager/system-connections/
total 72
drwxr-xr-x 2 root root 4096 Oct  7 14:52 ./
drwxr-xr-x 7 root root 4096 May 15  2019 ../
-rw------- 1 root root  436 Oct  1 16:59 ATT12345H
-rw------- 1 root root  350 Oct  7 14:38 ATT12345H 12
-rw------- 1 root root  337 Oct  7 14:04 ATT12345H 2
-rw------- 1 root root  337 Oct  7 14:04 ATT12345H 3
â‹®

Is it possible to have it use a preexisting saved connection? That would solve this problem along with allowing use of connections saved outside of WiFi-rs, which also have more settings than just SSID and password.

ChaiTRex avatar Oct 07 '20 21:10 ChaiTRex

Hello @ChaiTRex ,

Apologies for the late response. Just seeing this now.

Would try to dig into it, and come up with a fix. If you can come up with a fix, would also be appreciated.

Thanks for raising the issue.

toksdotdev avatar Oct 28 '20 09:10 toksdotdev