[Netexpect-users] Lua: Error during loading if I run ./ping.nexp

Sajang Yang sajang.yang at gmail.com
Sat May 19 06:04:00 UTC 2012


Hi All,

After I finish the compiling, I tried to run the first example from
examples directory.
If I run as my regular user privilege, then I'm getting a permission error
as below:

sajang at ubuntu64:~/Documents/netexpect/src/examples$ ./ping.nexp
www.google.com
pcap_open_live(): eth1: You don't have permission to capture on that device
(socket: Operation not permitted)
    while executing
"spawn_network -i [outif $target] icmp and src host $target"
    (file "./ping.nexp" line 17)

If I switch user to root, then I'm getting wireshark error as below:
(It looks wireshark configuration should be modified from
/etc/wireshark/init.lua )

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

May I change /etc/wireshark/init.lua? or is there any desirable way to
avoid?

Thanks,
Sajang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/netexpect-users/attachments/20120519/85810108/attachment.html>


More information about the Netexpect-users mailing list