wireshark 安装后运行出现问题

1.Error during loading: [string "/usr/share/wireshark/init.lua"]

解决:注释/usr/share/wireshark/init.lua文件倒数第二行
dofile(DATA_DIR.."console.lua")
改成--dofile(DATA_DIR.."console.lua")

2.Couldn't run /usr/bin/dumpcap in child process:权限不够

解决:终端输入以下命令行
sudo apt-get install libcap2-bin wireshark
sudo chgrp username /usr/bin/dumpcap  # username是你使用wireshark的当前用户名
sudo chmod 750 /usr/bin/dumpcap
sudo setcap cap_net_raw,cap_net_admin+eip /usr/bin/dumpcap


你可能感兴趣的:(wireshark)