Wireshark Setting interface "There is no interfaces on which a capture can is done"
Workaround:
The Wireshark software is installed on the computer today, and when interface is set, "There is no interfaces on which a capture can is done" prompts that no one network interface is ready. This hint is obviously wrong, my network card is clearly able to surf the internet, how is the Internet interface not ready? I think it should be related to the normal user rights under Linux. Google on the internet a bit, found a solution to the problem, now sorted down for later use.
Idea, that is, the problem and permissions, then the solution can not have two points, one is to use root directly, so that you can have sufficient permissions to run any program, but it is obviously not secure, and another way is to give ordinary users the Wireshark of the permissions by Suid GUID. This is relatively safer than that. The first method: Log in using the root user [email protected]:~$ sudo wireshark The second way: by means of a GUID, the current normal user can run this program.[email protected]:~# groupadd-g Wireshark# Create a new user group named Wireshark, 130 is GID, this number is not fixed, please review the/etc/group file to see what the maximum GID is, then add 1. [Email protected]:~# usermod-a-G Wireshark xiaoshancun# Add the current user Xiaoshancun to the Wireshark group. Make it a new team member. [email protected]:~# chgrp Wireshark/usr/bin/dumpcap# Change the/usr/bin/dumpcap program's genus Group to Wireshark. [email protected]:~# chmod 4750/usr/bin/dumpcapModify the permissions for/usr/bin/dumpcap to 4750 to add suid permissions. [Email protected]:~# setcap Cap_net_raw,cap_net_admin=eip/usr/bin/dumpcapmodification can not be used directly, you need to re-login. You can use the following command if you do not want to log in again. [email protected]:~# newgrp wireshark after event, you can use the normal user to execute the Wireshark program.
Wireshark When setting interface "There is no interfaces on which a capture can is done"