wireshark学习——wireshark报错:Lua: Error during loading: ...

wireshark学习——wireshark报错:Lua: Error during loading: ...

刚开始用wireshark,发现问题不少

问题:

运行wireshark时,发现wireshark报错:

Lua: Error during loading: [string "/usr/share/wireshark/init.lua"]:45: dofile has been disabled

解决办法:

在终端运行:

$sudo gedit /etc/wireshark/init.lua

编辑倒数第二行改为:
--dofile("console.lua")

重新运行wireshark,问题解决。

推荐阅读