kellyjonbrazil/jc

[Feature] Add support for parsing WiFi from NetworkManager

Open

#428 ouverte le 22 juin 2023

Voir sur GitHub
 (10 commentaires) (3 réactions) (0 assignés)Python (175 forks)batch import
good first issuenew-parser

Métriques du dépôt

Stars
 (7 173 stars)
Métriques de merge PR
 (Merge moyen 3j 6h) (3 PRs mergées en 30 j)

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

Guide contributeur