Telnetd configuration
Michael Cashwell
mike.cashwell at sdrcinc.net
Mon Jun 18 14:08:39 UTC 2007
On Mon, 2007-06-18 at 15:51 +0200, 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.
Can you show your /etc/inetd.conf file? (My sample below should be on
one line. In the email it's wrapped / split but that's not correct.)
Also, a "ps w" might be interesting to verify what's running.
-Mike
-------------------------
> >> Could somebody advice me how to start/configure TELNETTed daemon on
> >my
> >> power-pc embedded linux which uses busybox 1.4.2 .
> >
> >I do it via inetd on my ARM systems. Here are the relevant parts (eg:
> >I'm only showing parts of these files for brevity):
> >
> >------- /etc/inittab -------
> >::sysinit:/bin/ash /etc/rc
> >
> >------- /etc/rc -------
> ># start the inetd daemon (for telnet logins)
> >/sbin/inetd
> >
> >------- /etc/inetd.conf -------
> >23 stream tcp nowait root /sbin/telnetd telnetd -l
> >/bin/login
> >
> >Assuming you have a working network interface (up, configured, etc.) and
> >working binaries (init, ash, inetd, login, telnetd) this should work.
> >
> >You will need some kind of authentication database for login to be
> >happy.
> >
> >HTH.
> >
> >-Mike
>
More information about the busybox
mailing list