<div dir="ltr"><div></div><div>Hello Eloy,<br></div><div>first of all, letme congratulate you for such a powerful tool you have provided!<br></div><div><br></div><div>To Eloy and list members:<br></div><div>

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.<br></div><div>The error message is about <b>Tcl_CreateThread() error.</b></div>



<div>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.<br></div><div>Whatever advise will be appreciate.<br>



</div><div>Thanks in advance,<br>Lorenzo<br></div><div><br><br></div><div>The environment is netexpect-0.20 on fedora17x64 with these packages installed previously to install netexpect:<br>     yum install libpcap libdnet tcl<br>



     yum install libpcap-devel libdnet-devel tcl-devel<br>     yum install arptools flex bison<br>     yum install wireshark wireshark-devel<br></div><div>Netexpect installation does not show any errors using:<br>     ./configure --with-tcl=/usr/lib64 -with-pcap=/usr/include<br>



     make<br>     make install<br>And examples with spawn_network, expect_network and send_network works w/o giving any problem.<br></div><div><br></div><div><br></div><div><br></div><div>Detail of the error<br></div><div>



--------------------------------------------------------------------------<br><b>using interactive mode:</b><br>netexpect> spawn_network -i eth1<br>netexpect> <br>netexpect> send_expect<br>usage: send_expect [-speaker <speaker ID>] [-listener <listener ID>]<br>



          [-delay <secs>] [-rate <pps>] [-timeout <secs>] [-tries <ntries>]<br>          <PDU definition><br>netexpect> <br>send_expect -tries 2 -delay 1 \<br>    ip(id = 'random', dst = '<a href="http://192.168.101.0/24" target="_blank">192.168.101.0/24</a>', ttl = '1..3')/ \<br>



    icmp-echo(id = 'random', seq = 'random')/data(data = '1234567890ABCDEF')<br>netexpect> +> +><b> Tcl_CreateThread() error</b><br>netexpect> <br><br>--------------------------------------------------------------------------<br>



<b>using an example provided in netexpect-0.20</b><br>[root@vmf17x64 examples]# ./arpping2.nexp<br>Usage: ./arpping2.nexp <interface><br>[root@vmf17x64 examples]# ./arpping2.nexp eth1<br><b>Tcl_CreateThread() error</b><br>



    while executing<br>"send_expect -o $interface -delay 0.001 -tries 2 "<br>    ether(src =  $iface($interface,hw_addr), dst = 'BROADCAST')/<br>    arp-request(tha = 'BROADCAST',<br>..."<br>



    (file "./arpping2.nexp" line 23)<br>[root@vmf17x64 examples]# <br><br>--------------------------------------------------------------------------<br><b>And these are the "tcl" packages installed in the system:</b><br>



[root@vmf17x64 examples]# rpm -qa | grep -i tcl<br>eclipse-dltk-itcl-4.0.0-1.fc17.noarch<br>tcl-tclxml-3.2-8.fc17.x86_64<br>tcl-8.5.11-2.fc17.x86_64<br>tcl-tclxml-gui-3.2-8.fc17.x86_64<br>eclipse-dltk-xotcl-4.0.0-1.fc17.noarch<br>



tcl-devel-8.5.11-2.fc17.x86_64<br>tcllib-1.11.1-5.fc17.noarch<br>eclipse-dltk-tcl-4.0.0-1.fc17.noarch<br>[root@vmf17x64 examples]#<br></div><div>--------------------------------------------------------------------------<br>



<br><br>-- <br>_______________________<br>Lorenzo Murillo<br><a href="mailto:lorenzo.murillo@gmail.com" target="_blank">lorenzo.murillo@gmail.com</a><br>_______________________
</div></div>