Hi Hinko, I have recompiled the kernel and enabled the PTY : Device Drivers -> character devices -> Legacy (BSD) PTY support [*] Max. number of legacy PTY in use (256)
I have reloaded the linux kernel and started the telned but I have the same messages printed on the screen: Connected to ml403-mirek.pss.ch (129.128.107.50). Escape character is '^]'. Connection closed by foreign host. I do not know if it is somehow related to the password configuration files: It seems to be something not set correctly: I have tried to change the password for user root: passwd passwd: uknown uid 0 passwd mirek passwd: uknown uid 0 when I inoked /bin/login ml403-mirek login: mirek login: no valid shadow pasword Maybe the password issue is the source of the problem that telnet does not start. The config files in the /etc directory look like that: ls /etc fstab group gshadow inetd.conf init.d passwd services cat fstab devpts /dev/pts devpts defaults 0 0 cat group root:x:0:root sls:x:1:mirek cat gshadow root:::root sls:!:: cat inetd.conf 23 stream tcp nowait root /usr/sbin/telnetd telnetd -l /bin/login cat passwd mirek:x:500:500:Linux User,,,:/home/mirek:/bin/sh cat services . . . # 21 is registered to ftp, but also used by fsp ftp 21/tcp ftp 21/udp fsp fspd ssh 22/tcp # SSH Remote Login Protocol ssh 22/udp # SSH Remote Login Protocol telnet 23/tcp telnet 23/udp . . . I have also tried to execute telnet daemon like that: telned -l /bin/sh but the result is the same as previously Best Regards Mirek On Tue, 19 Jun 2007, [EMAIL PROTECTED] wrote: > 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 > > -- ============================================================================= Miroslaw Dach ([EMAIL PROTECTED]) - SLS/Controls Group PSI - Paul Scherrer Institut CH-5232 Villigen ============================================================================= _______________________________________________ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox