First try to test telnet with a force shell
your inetd.conf will look like

23      stream  tcp     nowait  root    /usr/sbin/telnetd telnetd -l
/bin/lash

And dont forget to compile lash

If this work then you know where to start :)

you dont need host.allow and host.deny btw




-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Miroslaw Dach
Verzonden: maandag 18 juni 2007 18:46
Aan: Michael Cashwell
CC: [email protected]
Onderwerp: Re: Telnetd configuration


Hi Mike,

My /etc/inetd.conf looks like that:

23      stream  tcp     nowait  root    /usr/sbin/telnetd telnetd -l
/bin/login

I have the filling that some other configuration is missing:
/etc/hosts.allow  ?
/etc/hosts.deny   ?
/etc/passwd       ?
/etc/group        ?
?

Best Regards

Mirek



On Mon, 18 Jun 2007, Michael Cashwell wrote:

> 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
> >
>
>

--
============================================================================
=
          Miroslaw Dach ([EMAIL PROTECTED]) - SLS/Controls Group
                PSI - Paul Scherrer Institut CH-5232 Villigen
============================================================================
=

_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to