From sajang.yang at gmail.com Tue May 15 03:39:47 2012 From: sajang.yang at gmail.com (Sajang Yang) Date: Mon, 14 May 2012 22:39:47 -0500 Subject: [Netexpect-users] Hi all Message-ID: Hi all, I'm new, and I just joined net expect mailing list. I'll ask lots of questions as I get to know more. Thanks, Sajang -------------- next part -------------- An HTML attachment was scrubbed... URL: From sajang.yang at gmail.com Fri May 18 03:37:22 2012 From: sajang.yang at gmail.com (Sajang Yang) Date: Thu, 17 May 2012 22:37:22 -0500 Subject: [Netexpect-users] "configure: error: dnet-config not found" with Ubuntu 12.04 Message-ID: Hi all, I'm getting configure error with the netexpect-0.20.tar.bz2 I guess that it's because I didn't install libdumb-dev, but Ubuntu 12.04 (64bit) seems that it has no dev package. Any other work around? Thanks in advance, Sajang -------------- next part -------------- An HTML attachment was scrubbed... URL: From peloy at netexpect.org Fri May 18 11:08:19 2012 From: peloy at netexpect.org (Eloy Paris) Date: Fri, 18 May 2012 07:08:19 -0400 Subject: [Netexpect-users] "configure: error: dnet-config not found" with Ubuntu 12.04 In-Reply-To: References: Message-ID: <4FB62DA3.10909@netexpect.org> Hi Sajang, On 05/17/2012 11:37 PM, Sajang Yang wrote: > Hi all, > > I'm getting configure error with the netexpect-0.20.tar.bz2 > > I guess that it's because I didn't install libdumb-dev, but Ubuntu 12.04 > (64bit) seems that it has no dev package. > Any other work around? Welcome! The package name on Ubuntu is "libdumbnet-dev"; it's available for Ubuntu 12.04 (precise). Take a look: http://packages.ubuntu.com/search?keywords=libdumbnet-dev You should be able to get installed with: sudo apt-get install libdumbnet-dev Let us know how it goes. Oh, by the way, you can just installed netexpect with apt-get since it is available as a binary package in Ubuntu (since 10.04): http://packages.ubuntu.com/search?keywords=netexpect It's 0.18 (not 0.20) but there haven't been big changes between 0.18 and 0.20. Cheers! Eloy Paris.- netexpect.org From sajang.yang at gmail.com Sat May 19 04:16:12 2012 From: sajang.yang at gmail.com (Sajang Yang) Date: Fri, 18 May 2012 23:16:12 -0500 Subject: [Netexpect-users] "configure: error: dnet-config not found" with Ubuntu 12.04 In-Reply-To: <4FB62DA3.10909@netexpect.org> References: <4FB62DA3.10909@netexpect.org> Message-ID: Hi Eloy, Thank you for such a quick reply and warm welcome! I got your message, and I could build from my office laptop (T420 Windows 7) that has 32 bit Ubuntu 12.04 that is installed fresh in VirtualBox. I came home, and I checked out my home laptop (MacBook Pro) that is 64 bit Ubuntu 12.04 that is upgraded constantly since 10.04 in VirtualBox. What I found is that there is no libdumbnet-dev package available from synaptic package installer or apt-get. I guess that it's Ubuntu64 repository issue. One other thing while I was configuring; there were a couple of issues that I need to manually edit the configure file from 0.20 version. 1. duplicated pcap directories : /usr/include and /usr/include/pcap 2. I installed tcl8.5; therefore I replaced all 8.4 with 8.5 3. I manually specified --with-tcl and --with-tcl-includes option to configure Anyway, I could make from my Windows VirtualBox (32 bits Ubuntu). I didn't expect you were going to answer so quick. Thanks again, I really appreciate that. Have a nice weekend, Sajang On Fri, May 18, 2012 at 6:08 AM, Eloy Paris wrote: > Hi Sajang, > > > On 05/17/2012 11:37 PM, Sajang Yang wrote: > > Hi all, >> >> I'm getting configure error with the netexpect-0.20.tar.bz2 >> >> > >> >> I guess that it's because I didn't install libdumb-dev, but Ubuntu 12.04 >> (64bit) seems that it has no dev package. >> Any other work around? >> > > Welcome! > > The package name on Ubuntu is "libdumbnet-dev"; it's available for Ubuntu > 12.04 (precise). Take a look: > > http://packages.ubuntu.com/**search?keywords=libdumbnet-dev > > You should be able to get installed with: > > sudo apt-get install libdumbnet-dev > > Let us know how it goes. > > Oh, by the way, you can just installed netexpect with apt-get since it is > available as a binary package in Ubuntu (since 10.04): > > http://packages.ubuntu.com/**search?keywords=netexpect > > It's 0.18 (not 0.20) but there haven't been big changes between 0.18 and > 0.20. > > Cheers! > > Eloy Paris.- > netexpect.org > > ______________________________**_________________ > Netexpect-users mailing list > Netexpect-users at lists.alioth.**debian.org > http://lists.alioth.debian.**org/mailman/listinfo/**netexpect-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sajang.yang at gmail.com Sat May 19 05:53:55 2012 From: sajang.yang at gmail.com (Sajang Yang) Date: Sat, 19 May 2012 00:53:55 -0500 Subject: [Netexpect-users] "configure: error: dnet-config not found" with Ubuntu 12.04 In-Reply-To: References: <4FB62DA3.10909@netexpect.org> Message-ID: Hi Eloy, I have completed configuring & compiling nexp from my Ubuntu 64; I cleaned up all the package information. This issue now closed. Thanks again, Sajang On Fri, May 18, 2012 at 11:16 PM, Sajang Yang wrote: > Hi Eloy, > > Thank you for such a quick reply and warm welcome! > > I got your message, and I could build from my office laptop (T420 Windows > 7) that has 32 bit Ubuntu 12.04 that is installed fresh in VirtualBox. > I came home, and I checked out my home laptop (MacBook Pro) that is 64 bit > Ubuntu 12.04 that is upgraded constantly since 10.04 in VirtualBox. > What I found is that there is no libdumbnet-dev package available from > synaptic package installer or apt-get. I guess that it's Ubuntu64 > repository issue. > > One other thing while I was configuring; there were a couple of issues > that I need to manually edit the configure file from 0.20 version. > > 1. duplicated pcap directories : /usr/include and /usr/include/pcap > 2. I installed tcl8.5; therefore I replaced all 8.4 with 8.5 > 3. I manually specified --with-tcl and --with-tcl-includes option to > configure > > Anyway, I could make from my Windows VirtualBox (32 bits Ubuntu). I didn't > expect you were going to answer so quick. Thanks again, I really appreciate > that. > > Have a nice weekend, > Sajang > > > On Fri, May 18, 2012 at 6:08 AM, Eloy Paris wrote: > >> Hi Sajang, >> >> >> On 05/17/2012 11:37 PM, Sajang Yang wrote: >> >> Hi all, >>> >>> I'm getting configure error with the netexpect-0.20.tar.bz2 >>> >>> > >>> >>> I guess that it's because I didn't install libdumb-dev, but Ubuntu 12.04 >>> (64bit) seems that it has no dev package. >>> Any other work around? >>> >> >> Welcome! >> >> The package name on Ubuntu is "libdumbnet-dev"; it's available for Ubuntu >> 12.04 (precise). Take a look: >> >> http://packages.ubuntu.com/**search?keywords=libdumbnet-dev >> >> You should be able to get installed with: >> >> sudo apt-get install libdumbnet-dev >> >> Let us know how it goes. >> >> Oh, by the way, you can just installed netexpect with apt-get since it is >> available as a binary package in Ubuntu (since 10.04): >> >> http://packages.ubuntu.com/**search?keywords=netexpect >> >> It's 0.18 (not 0.20) but there haven't been big changes between 0.18 and >> 0.20. >> >> Cheers! >> >> Eloy Paris.- >> netexpect.org >> >> ______________________________**_________________ >> Netexpect-users mailing list >> Netexpect-users at lists.alioth.**debian.org >> http://lists.alioth.debian.**org/mailman/listinfo/**netexpect-users >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sajang.yang at gmail.com Sat May 19 06:04:00 2012 From: sajang.yang at gmail.com (Sajang Yang) Date: Sat, 19 May 2012 01:04:00 -0500 Subject: [Netexpect-users] Lua: Error during loading if I run ./ping.nexp Message-ID: 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: