From 65d7bf3875b7c463c8d0632b879098128c30daa9 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 11 Nov 2019 21:54:51 +0100 Subject: wireless: T1627: add op-mode commands --- op-mode-definitions/wireless.xml | 119 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 op-mode-definitions/wireless.xml (limited to 'op-mode-definitions/wireless.xml') diff --git a/op-mode-definitions/wireless.xml b/op-mode-definitions/wireless.xml new file mode 100644 index 000000000..992d53ba4 --- /dev/null +++ b/op-mode-definitions/wireless.xml @@ -0,0 +1,119 @@ + + + + + + + + + Clear wireless interface information + + + + + Clear all wireless interface counters + + sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type="$3" + + + + + + Clear interface information for a given wireless interface + + + + + + + + Clear all wireless interface counters + + sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4" + + + + + + + + + + + + + + Show wireless interface information + + ${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=wireless --action=show-brief + + + + Show detailed wireless interface information + + ${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=wireless --action=show + + + + Show wireless interface configuration + + echo TBD. + + + + + + Show specified wireless interface information + + + + + ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" + + + + Show summary of the specified wireless interface information + + ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" --action=show-brief + + + + Show summary of the specified wireless interface information + + echo TBD. + + + + Show detailed scan results + + sudo /sbin/iw dev "$4" scan ap-force + + + + + + Show specified wireless interface information + + echo "TBD." + + + + Show specified virtual network interface (vif) information + + ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4.$6" + + + + Show summary of specified virtual network interface (vif) information + + ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4.$6" --action=show-brief + + + + + + + + + + -- cgit v1.2.3