On Thursday 19 July 2007 09:21, Markus Forster wrote: > Hi there, > > i've activated telnetd in the menuconfig. All went good, i call the telnetd > via inittab and its available. Port 23 is opened so i can connect. > But the server closes the connection directly after connecting with the > following message: > > Trying 192.168.20.30... > Connected to 192.168.20.30. > Escape character is '^]'. > Connection closed by foreign host. > > Whats wrong with it?
Strace it. If you can't do that, run it like this: telnetd -F | nc -nu <your_other_box's_ip> 12345 It will make telnetd send error messages to stdout instead of syslog, and then nc will pipe them into network. Use nc (or tcpdump) to see the telnetd's output from the box as UDP packets arriving to your port 12345. -- vda _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
