在Ubuntu上使用dumpcap圖形界面,通常借助Wireshark軟件,步驟如下:
sudo apt-get update和sudo apt-get install wireshark -y。sudo groupadd wireshark,sudo chgrp wireshark /usr/bin/dumpcap,sudo chmod 4755 /usr/bin/dumpcap,sudo gpasswd -a $USER wireshark。wireshark后回車。