[BusyBox] Re: any reason why telnetd rejects and vanishes?

Robert P. J. Day rpjday at mindspring.com
Mon Apr 11 15:13:51 UTC 2005


On Mon, 11 Apr 2005, Vijay Padiyar wrote:

> Hi Robert
>
> I suppose you get an error such as "Connection forcibly closed by
> remote host", or something to that effect?

$ telnet 10.1.1.82
Trying 10.1.1.82...
Connected to 10.1.1.82 (10.1.1.82).
Escape character is '^]'.
Connection closed by foreign host.

> Can you tell me what device files are present in your target
> filesystem's /dev directory? Also whether you've enabled
> CONFIG_FEATURE_DEVPTS in BusyBox? You should have that feature
> enabled, as well as 'ptmx' device and 'pts' sub-directory
> respectively in the /dev directory:
>
> crw-r--r--        1 root     root           5,       2 Feb  2 11:20 ptmx
> drwxrwxrwt    2 root     root                 4096 Feb  2 11:20 pts

yup, i have all of the above.  the difference is that i was previously
using a 2.4 kernel, now i'm up to 2.6.11.7.

when the system comes up, telnetd is running nicely, i can bring up
the net interface with "ifconfig", ping works well both ways, i can
telnet *out* of the embedded system with no trouble (just to verify
proper network operation), but the instant i try to telnet in, i get
the above and telnetd vanishes.

i can start telnetd again manually, and i'll get the same result.  is
there some interaction with a 2.6 kernel that i'm unaware of?

rday



More information about the busybox mailing list