[Netexpect-users] problem w/ send_expect. message Tcl_CreateThread() error
Lorenzo Murillo
lorenzo.murillo at gmail.com
Fri Apr 19 14:45:33 UTC 2013
Hello Eloy,
first of all, letme congratulate you for such a powerful tool you have
provided!
To Eloy and list members:
At this moment I've using the tool for some days and I can't overcome the
error message I get when trying to use send_expect command.
The error message is about *Tcl_CreateThread() error.*
I wonder if that is something common between users and there's a tricky way
to avoid it or maybe I'm missing a package or simply the program must be
run over a 32bit OS.
Whatever advise will be appreciate.
Thanks in advance,
Lorenzo
The environment is netexpect-0.20 on fedora17x64 with these packages
installed previously to install netexpect:
yum install libpcap libdnet tcl
yum install libpcap-devel libdnet-devel tcl-devel
yum install arptools flex bison
yum install wireshark wireshark-devel
Netexpect installation does not show any errors using:
./configure --with-tcl=/usr/lib64 -with-pcap=/usr/include
make
make install
And examples with spawn_network, expect_network and send_network works w/o
giving any problem.
Detail of the error
--------------------------------------------------------------------------
*using interactive mode:*
netexpect> spawn_network -i eth1
netexpect>
netexpect> send_expect
usage: send_expect [-speaker <speaker ID>] [-listener <listener ID>]
[-delay <secs>] [-rate <pps>] [-timeout <secs>] [-tries <ntries>]
<PDU definition>
netexpect>
send_expect -tries 2 -delay 1 \
ip(id = 'random', dst = '192.168.101.0/24', ttl = '1..3')/ \
icmp-echo(id = 'random', seq = 'random')/data(data = '1234567890ABCDEF')
netexpect> +> +>* Tcl_CreateThread() error*
netexpect>
--------------------------------------------------------------------------
*using an example provided in netexpect-0.20*
[root at vmf17x64 examples]# ./arpping2.nexp
Usage: ./arpping2.nexp <interface>
[root at vmf17x64 examples]# ./arpping2.nexp eth1
*Tcl_CreateThread() error*
while executing
"send_expect -o $interface -delay 0.001 -tries 2 "
ether(src = $iface($interface,hw_addr), dst = 'BROADCAST')/
arp-request(tha = 'BROADCAST',
..."
(file "./arpping2.nexp" line 23)
[root at vmf17x64 examples]#
--------------------------------------------------------------------------
*And these are the "tcl" packages installed in the system:*
[root at vmf17x64 examples]# rpm -qa | grep -i tcl
eclipse-dltk-itcl-4.0.0-1.fc17.noarch
tcl-tclxml-3.2-8.fc17.x86_64
tcl-8.5.11-2.fc17.x86_64
tcl-tclxml-gui-3.2-8.fc17.x86_64
eclipse-dltk-xotcl-4.0.0-1.fc17.noarch
tcl-devel-8.5.11-2.fc17.x86_64
tcllib-1.11.1-5.fc17.noarch
eclipse-dltk-tcl-4.0.0-1.fc17.noarch
[root at vmf17x64 examples]#
--------------------------------------------------------------------------
--
_______________________
Lorenzo Murillo
lorenzo.murillo at gmail.com
_______________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/netexpect-users/attachments/20130419/d6825a67/attachment.html>
More information about the Netexpect-users
mailing list