User manual

31: Diagnostics
_______________________________________________________________________________________________________
root@VA_router:~# FW_TRACE=1 fw reload 2>/tmp/iptables.log
31.9 GPS diagnostic commands
You can use the utility GPS to run diagnostic commands against the GPSD
application.
When you run GPS at the command prompt without parameters, it prints the
menu listing all available commands.
For example to view the last known router position, enter gpspeek:
root@Demo:~# gpspeek
Fix: 3D,1423135517,53.342546,-6.241331,23.800000,223.700000,0.000000,nan
31.10 Interfaces diagnostics
31.10.1 Interfaces status
To show the current running interfaces, enter:
root@VA_router:~# ifconfig
3g-CDMA Link encap:Point-to-Point Protocol
inet addr:10.33.152.100 P-t-P:178.72.0.237 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1400 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:428 (428.0 B) TX bytes:2986 (2.9 KiB)
eth0 Link encap:Ethernet HWaddr 00:E0:C8:12:12:15
inet addr:192.168.100.1 Bcast:192.168.100.255
Mask:255.255.255.0
inet6 addr: fe80::2e0:c8ff:fe12:1215/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6645 errors:0 dropped:0 overruns:0 frame:0
TX packets:523 errors:0 dropped:0 overruns:0 carrier:0
_______________________________________________________________________________________________________
© Virtual Access 2015
GW1000 Series User Manual
Issue: 2.4 Page 244 of 255