On Tuesday 15 August 2017 12:38:49 Pierre Frenkiel wrote: > On Tue, 15 Aug 2017, Greg Wooledge wrote: > > wooledg:~$ netstat -in > > Kernel Interface table > > Iface MTU RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP > > TX-OVR Flg eth0 1500 8254258 0 0 0 7682795 > > 0 0 0 BMRU lo 65536 579959 0 0 0 > > 579959 0 0 0 LRU > > you have hte same information with: > ==> ip -s link > 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN > mode DEFAULT group default qlen 1 link/loopback 00:00:00:00:00:00 brd > 00:00:00:00:00:00 > RX: bytes packets errors dropped overrun mcast > 2128816 7293 0 0 0 0 > TX: bytes packets errors dropped carrier collsns > 2128816 7293 0 0 0 0 > 2: enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc > pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether > 2c:4d:54:d0:58:06 brd ff:ff:ff:ff:ff:ff > RX: bytes packets errors dropped overrun mcast > 323815150 423300 0 4 0 55708 > TX: bytes packets errors dropped carrier collsns > 41867187 302742 0 0 0 0
Thats a step towards understandable output, but how to deal with the stuff it shows that isn't "up". That doubles the size of the output on my pi running jessie: pi@picncsheldon:~ $ ip -s link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 RX: bytes packets errors dropped overrun mcast 59379736 989318 0 0 0 0 TX: bytes packets errors dropped carrier collsns 59379736 989318 0 0 0 0 2: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1 link/sit 0.0.0.0 brd 0.0.0.0 RX: bytes packets errors dropped overrun mcast 0 0 0 0 0 0 TX: bytes packets errors dropped carrier collsns 0 0 0 0 0 0 3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether b8:27:eb:d3:47:2d brd ff:ff:ff:ff:ff:ff RX: bytes packets errors dropped overrun mcast 224779355 3598076 0 0 0 0 TX: bytes packets errors dropped carrier collsns 1223076242 12292111 0 0 0 0 4: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether b8:27:eb:86:12:78 brd ff:ff:ff:ff:ff:ff RX: bytes packets errors dropped overrun mcast 0 0 0 0 0 0 TX: bytes packets errors dropped carrier collsns 0 0 0 0 0 0 While STILL not giving me the local ipv4 addresses and netmasks of those interfaces. I have disabled the radio as I've a neighbor that will use about 100Gb of my 300Gb monthly if the radios are enabled. But what the heck is sit0? Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene>