Here is the complete guide, because so many ‘complete guides’ were missing a step or two that I needed.
- Download the DMG from wireshark.org. Unpack it.
- Drag the Wireshark icon onto the Applications alias.
- Open the Utilities folder.
- Drag the contents of the Command Line folder to
/usr/local/bin. - Drag the ChmodBPF folder onto the StartupItems alias (path is
/Library/StartupItems/ChmodBPF). - If you’re running as an admin user you will see a list of network interfaces in Wireshark. If you don’t see any, you’re probably running as a non-admin. You need to allow read access to
/dev/bpf*. A quick test:sudo chmod o+r /dev/bpf*. A better solution is adding achownline to the ChmodBPF script. - For fresh installs on Snow Leopard, fix ownership:
cd /Library/StartupItems && sudo chown -R root:wheel ChmodBPF - Check security settings — if you see “Insecure Startup Items folder detected”, fix permissions:
sudo chown -R root:wheel /Library/StartupItems
sudo chmod -R 0755 /Library/StartupItems
If you see an @ symbol in ls -l@, remove the quarantine:
xattr -r -d com.apple.quarantine /Library/StartupItems/ChmodBPF
- Restart your computer, make sure there are no errors, and verify you can see interfaces to capture from.