kellyjonbrazil/jc

[Feature] Add support for parsing WiFi from NetworkManager

Open

#428 aperta il 22 giu 2023

Vedi su GitHub
 (10 commenti) (3 reazioni) (0 assegnatari)Python (175 fork)batch import
good first issuenew-parser

Metriche repository

Star
 (7173 star)
Metriche merge PR
 (Merge medio 3g 6h) (3 PR mergiate in 30 g)

Descrizione

So, currently if you want to use jc to get your connections you can only do it with connections that have already been made. I want to be able to implement it so I can get a list of all WiFi networks and then select from that list.You can get the data for all available networks with the "nmcli -t device wifi list" command which will output it in lines like the one below with the * meaning it's in use, next being the MAC, after that being Network Name, Mode, Channel, Rate, Signal, Bars, and security. And it's split by the : charachters where \ is used to escape for the MAC adress I hope this can be implemented as it would be useful.

* :AA\:AA\:AA\:AA\:AA\:AA:go_away:Infra:40:270 Mbit/s:25:▂___:WPA2

Guida contributor