mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
self-diagnostics: add radio status and iw dev
This commit is contained in:
parent
196ea82509
commit
e7ff39bfc8
2 changed files with 12 additions and 1 deletions
|
|
@ -0,0 +1,3 @@
|
||||||
|
for radio_if in $(ubus list 'wifi.radio.*'); do
|
||||||
|
ubus call "${radio_if}" status
|
||||||
|
done
|
||||||
|
|
@ -12,9 +12,13 @@
|
||||||
"cmd": "ubus call network.wireless status"
|
"cmd": "ubus call network.wireless status"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Wireless Radio Status",
|
"description": "WiFi Status",
|
||||||
"cmd": "ubus call wifi status"
|
"cmd": "ubus call wifi status"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"description": "WiFi Radio Status",
|
||||||
|
"cmd": "sh /usr/share/self-diagnostics/helper/wifi_radio_status.sh"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"description": "Get radio scan",
|
"description": "Get radio scan",
|
||||||
"cmd": "sh /usr/share/self-diagnostics/helper/wifi_radio_scan.sh"
|
"cmd": "sh /usr/share/self-diagnostics/helper/wifi_radio_scan.sh"
|
||||||
|
|
@ -23,6 +27,10 @@
|
||||||
"description": "Get Assoc List",
|
"description": "Get Assoc List",
|
||||||
"cmd": "sh /usr/share/self-diagnostics/helper/wifi_assoclist.sh"
|
"cmd": "sh /usr/share/self-diagnostics/helper/wifi_assoclist.sh"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"description": "List Wireless Devices",
|
||||||
|
"cmd": "iw dev"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"description": "iwinfo interface details",
|
"description": "iwinfo interface details",
|
||||||
"cmd": "/usr/bin/iwinfo"
|
"cmd": "/usr/bin/iwinfo"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue