Comment 11 for bug 1699374

Revision history for this message
Gareth Evans (garethevans-9) wrote :

Herewith the relevant part of comment #3, which has been hidden as I neglected to remove my email footer.

***

eth0, wlan0 on Ubuntu are now named according to
https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/

user@tommy:~$ sudo darkstat -i wlp3s0 --debug
error: illegal argument: "--debug"
darkstat 3.0.719 (using libpcap version 1.7.4)

user@tommy:~$ sudo darkstat -i wlp3s0 (and enp4s0)
Appears to succeed, but
http://... and https://localhost:666 and :1666 and
http://<local_ip>:666 and :1666
all refuse connections from localhost, even with both ports specifically opened, or with firewall off.

Same on Debian 9 with latest updates.

Not sure if this is actually a darkstat bug - apologies if not but I can't see what's wrong otherwise.

user@tommy:~$ ifconfig
enp4s0 Link encap:Ethernet HWaddr 20:6a:8a:97:52:82
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
          Interrupt:17

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:65536 Metric:1
          RX packets:3357 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3357 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:348724 (348.7 KB) TX bytes:348724 (348.7 KB)

lxcbr0 Link encap:Ethernet HWaddr 00:16:3e:00:00:00
          inet addr:10.0.3.1 Bcast:0.0.0.0 Mask:255.255.255.0
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
          inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wlp3s0 Link encap:Ethernet HWaddr 1c:3e:84:56:ca:75
          inet addr:192.168.1.151 Bcast:192.168.1.255 Mask:255.255.255.0
          inet6 addr: fe80::c1e8:4ba3:b6e3:b17/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:413421 errors:0 dropped:0 overruns:0 frame:0
          TX packets:247354 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:583629884 (583.6 MB) TX bytes:30079108 (30.0 MB)