2008-06-27 06:17:53 Telnet for BF357E uClinux-dist2008R1-RC8
tom R (FRANCE)
Message: 57961
Hello!!
If someone has even resolved this problem, plz help me! I work on a BF537E, uClinux-dist2008R1-RC8 and the command the command "telnet 192.168.0.97" gives me the following errors:
telnetd: All network ports in use.
Connection closed by foreign host.
According to the tutorial, I made the following configuration:
grep TELNET config/.config
CONFIG_USER_TELNETD_TELNETD=y
CONFIG_USER_TELNETD_DOES_NOT_USE_OPENPTY=y
CONFIG_USER_TELNET_TELNET=y
# CONFIG_USER_BUSYBOX_TELNET is not set
# CONFIG_USER_BUSYBOX_TELNETD is not set
# on the development system
ls -l romfs/bin/telnetd
-rwxr-xr-x 1 isen isen 20116 2008-06-27 11:59 romfs/bin/telnetd
# on the target system
root:/> ls -l /bin/telnet
-rwxr-xr-x 1 1000 1000 20116 Jun 27 2008 /bin/telnetd
# On the target
root:/> cat /etc/inetd.conf
shell stream tcp nowait root /bin/rshd
telnet stream tcp nowait root /bin/telnetd
root:/> telnetd
telnetd: getpeername: Socket operation on non-socket
telnetd: All network ports in use
The Bf server ip is 192.168.0.97 and my station's is 192.168.0.98.
Thanks!
TranslateQuoteReplyEditDelete
2008-06-27 06:32:40 Re: Telnet for BF357E uClinux-dist2008R1-RC8
Yi Li (CHINA)
Message: 57962
Please search this forum.
check your the /dev/ on your board, do you have /dev/ptmx, /dev/pts/. If not, enable "CONFIG_UNIX98_PTYS ".
QuoteReplyEditDelete
2008-06-27 08:07:23 Re: Telnet for BF357E uClinux-dist2008R1-RC8
tom R (FRANCE)
Message: 57963
There is a /dev/pts0 and a pts1, but no /dev/ptmx. My "CONFIG_UNIX98_PTYS " is already enable.
So, I copied the line which contain ptmx in device_table.txt to device_table_min. It's work! Thank you!