Http://www.dickson.me.uk/2012/09/17/installing-wireshark-on-ubuntu-12-04-lts/
Reference http://www.dickson.me.uk/2012/09/17/installing-wireshark-on-ubuntu-12-04-lts/
"No interface can be used for capturing in this system with the current configuration .".
The following steps will rectify this.
Sudo usermod-a-g Wireshark zhangbin
Sudo chgrp Wireshark/usr/bin/dumpcap
Sudo chmod 777/usr/bin/dumpcap
Sudo setcap cap_net_raw, cap_net_admin = EIP/usr/bin/dumpcap
Sudo getcap/usr/bin/dumpcap
To change to 777, the previous value is 750. Otherwise, you will not have the permission:
========================================================== ================
Zhangbin @ ubuntu32 :~ $ Sudo Su
[Sudo] password for zhangbin:
Root @ ubuntu32:/home/zhangbin # sudo apt-Get install Wireshark
Reading package lists... Done
Building dependency tree
Reading state information... Done
Wireshark is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 105 not upgraded.
Root @ ubuntu32:/home/zhangbin # sudo groupadd Wireshark
Root @ ubuntu32:/home/zhangbin # sudo usermod-a-g Wireshark zhangbin
Root @ ubuntu32:/home/zhangbin # sudo chgrp Wireshark/usr/bin/dumpcap
Root @ ubuntu32:/home/zhangbin # sudo chmod 750/usr/bin/dumpcap
Root @ ubuntu32:/home/zhangbin # sudo setcap cap_net_raw, cap_net_admin = EIP/usr/bin/dumpcap
Root @ ubuntu32:/home/zhangbin # sudo getcap/usr/bin/dumpcap
/Usr/bin/dumpcap = cap_net_admin, cap_net_raw + EIP
Root @ ubuntu32:/home/zhangbin #
Root @ ubuntu32:/home/zhangbin # sudo chmod 777/usr/bin/dumpcap