Wireshark installed through apt-get in Ubuntu12.04 does not seem to be able to be started, and a warning will be reported. it may be related to changing the software source. after wireshark is installed in the ubuntu Software Center, it can be opened normally. however, Therearenointerfacesonwhichacapturecanbedone may occur. I wonder whether it is caused by apt-get installation. how to solve this problem: http: // w
Wireshark installed with apt-get In Ubuntu 12.04 does not seem to be able to be started, and a warning is reported.
It may be related to changing the software source.
After wireshark is installed in the ubuntu Software Center, it can be opened normally.
There are no interfaces on which a capture can be done.
I wonder if it is caused by apt-get installation. How to solve this problem: http://www.linuxidc.com/Linux/2012-06/63580.htm
2. Create a Wireshark group. This step is also completed when Wireshark is installed.
$ Sudo-s
# Groupadd-g wireshark
# Usermod-a-G wireshark <User Name>
# Chgrp wireshark/usr/bin/dumpcap
3. grant permissions.
# Setcap cap_net_raw, cap_net_admin = eip/usr/bin/dumpcap complete.
You can use getcap/usr/bin/dumpcap for verification. The output should be:/usr/bin/dumpcap = cap_net_admin, cap_net_raw + eip.
These two steps are critical. You can use wireshark normally after setting the above two steps.
After chgrp wireshark/usr/bin/dumpcap chgrp again, it will be found that getcap/usr/bin/dumpcap will reset the previously set content. You need to reset it again.