解决wireshark打开错误
Posted IBESTI
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决wireshark打开错误相关的知识,希望对你有一定的参考价值。
错误提示如下:
Lua: Error during loading:
[string "/usr/share/wireshark/init.lua"]:44: dofile has been disabled due to running Wireshark as superuser. See https://wiki.wireshark.org/CaptureSetup/CapturePrivileges for help in running Wireshark as an unprivileged user.
解决方法:
终端键入如下命令 sudo gedit /usr/share/wireshark/init.lua
打开配置文件,修改倒数第二行。改为由原来的 dofile(DATA_DIR.."console.lua") 改为 --dofile(DATA_DIR.."console.lua")
保存并关闭即可
以上是关于解决wireshark打开错误的主要内容,如果未能解决你的问题,请参考以下文章
Wireshark 抓包遇到 you don’t have permission to capture on that device mac 错误的解决方案