1, Wireshark relies on X11;
2, by default, Mac OS X is not installed X11;
So, to install Wireshark on your Mac, first find out the Mac OS installation DVD installation X11.
After installation, Echo $DISPLAY see if the following results appear
: 0.0
If not, execute the following command line:
display=:0.0; Export DISPLAY
In addition, because of Mac OS bug problem, every time after rebooting the system, the two commands to run are wireshark to find the network card:
sudo chgrp admin/dev/bpf*
sudo chmod g+rw/dev/bpf*
Another approach may be unsuccessful, which is to copy the CHMODBPF folder in the Wireshark installation file to/library/startupitems/; My machine keeps reporting security settings, so it can only be modified manually each time, but if you don't grab the package, Just to decode the words without modifying the BPF permission can also;
Wireshark Startup troubleshooting:
To/application/wireshark.app/contents/macos under the execution of WireShark, view the results, according to the prompt processing;
[Mac] The use of Wireshark in Mac OS x and the solution to the problem of network card not found