Telnetd configuration
hinko.kocevar at cetrtapot.si
hinko.kocevar at cetrtapot.si
Tue Jun 19 06:55:49 UTC 2007
Miroslaw Dach wrote:
> Hi Mike,
>
> Thank you very much for your suggestions.
> I came back to the telnetd issue once again and right now when I try to
> connect to my ppc405 embedded system I get:
>
> Trying 129.128.107.50...
> Connected to ml403-mirek.pss.uk (129.128.107.50).
> Escape character is '^]'.
> Connection closed by foreign host.
I had similar problems on my platform - I've solved it by enabling PTY
in the kernel, and creating missing /dev entries for pseudo terminal.
Also mount the devpts if you are using it. Note that I'm not using inetd
(telnetd is started standalone), but I think this has nothing to do with
your problem.
~ $ ls -l /dev/
...
crw-rw-rw- 1 0 0 5, 2 Jun 12 2007 /dev/ptmx
crw-rw---- 1 0 0 2, 0 Jun 12 2007 /dev/ptyp0
crw-rw---- 1 0 0 2, 1 Jun 12 2007 /dev/ptyp1
crw-rw---- 1 0 0 2, 2 Jun 12 2007 /dev/ptyp2
crw-rw---- 1 0 0 2, 3 Jun 12 2007 /dev/ptyp3
crw-rw---- 1 0 0 2, 4 Jun 12 2007 /dev/ptyp4
drwxr-xr-x 2 0 0 0 Jan 1 01:00 pts
...
/etc/fstab:
devpts /dev/pts devpts defaults 0 0
HTH,
Hinko
--
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: hinko.kocevar at cetrtapot.si
Http: www.cetrtapot.si
More information about the busybox
mailing list