From 2c6b33d3fcb88551d85c740288a916a1be76a8d3 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 28 Mar 2020 18:49:45 +0100 Subject: wwan: T1988: migrate operational mode commands --- .../show-interfaces-wirelessmodem.xml | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 op-mode-definitions/show-interfaces-wirelessmodem.xml (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/show-interfaces-wirelessmodem.xml b/op-mode-definitions/show-interfaces-wirelessmodem.xml new file mode 100644 index 000000000..681f54f3d --- /dev/null +++ b/op-mode-definitions/show-interfaces-wirelessmodem.xml @@ -0,0 +1,45 @@ + + + + + + + + + Show Wireless Modem (WWAN) interface information + + + + + ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" + + + + Show PPPoE logs + + cat /var/log/vyatta/ppp_$4.log + + + + Watch PPPoE logs + + tail --follow=name /var/log/vyatta/ppp_$4.log + + + + + + Show specified wirelessmodem interface statistics + + + + + /usr/sbin/pppstats $4 + + + + + + + + -- cgit v1.2.3