Created
March 30, 2020 13:02
-
-
Save afahitech/11b112ae2c41eb287779ab58d1b92843 to your computer and use it in GitHub Desktop.
Install Wireshark on Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Update system | |
| sudo apt update && sudo apt upgrade | |
| sudo add-apt-repository ppa:wireshark-dev/stable | |
| sudo apt update | |
| sudo apt -y install wireshark | |
| wireshark --version | |
| # Configure and start Wireshark | |
| sudo usermod -a -G wireshark $USER | |
| # change dumpcap binary file permissions | |
| sudo chgrp wireshark /usr/bin/dumpcap | |
| sudo chmod 750 /usr/bin/dumpcap | |
| sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpca | |
| # Verify | |
| sudo getcap /usr/bin/dumpcap | |
| ---/usr/bin/dumpcap = cap_net_admin,cap_net_raw+eip | |
| # Start wireshark | |
| wireshark |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment