kellyjonbrazil/jc

[Feature] Add support for parsing WiFi from NetworkManager

开放

#428 创建于 2023年6月22日

 (10 条评论) (3 个反应) (0 位负责人)Python (175 个派生)batch import
good first issuenew-parser

仓库指标

星标
 (7,173 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南