gcla / termshark

A terminal UI for tshark, inspired by Wireshark
MIT License
9.14k stars 400 forks source link

cant find interface! #16

Closed r3k2 closed 5 years ago

r3k2 commented 5 years ago
 blackarch ~ ]$ ifconfig enp58s0f1
enp58s0f1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.65  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::9ccf:e3dc:a22b:4d8c  prefixlen 64  scopeid 0x20<link>
        inet6 fe80::de0d:7644:64b1:1e80  prefixlen 64  scopeid 0x20<link>
        ether 80:fa:5b:4f:5a:ee  txqueuelen 1000  (Ethernet)
        RX packets 746591  bytes 897956470 (856.3 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 455377  bytes 52721791 (50.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 127  base 0xd000  

[ blackarch ~ ]$ termshark -i enp58s0f1
Could not find network interface enp58s0f1

please fix.

r3k2 commented 5 years ago

nevermind, you guys need to give a warning, nobody runs tools as root. so like tcpdump a response that says something like use sudo etc will remind us.