kellyjonbrazil/jc

[Feature] Add support for parsing WiFi from NetworkManager

Open

#428 opened on Jun 22, 2023

View on GitHub
 (10 comments) (3 reactions) (0 assignees)Python (175 forks)batch import
good first issuenew-parser

Repository metrics

Stars
 (7,173 stars)
PR merge metrics
 (Avg merge 3d 6h) (3 merged PRs in 30d)

Description

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

Contributor guide