Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Can't get inetd/busybox-telnetd to work
@ 2010-05-06 19:24 Grant Edwards
  2010-05-06 19:36 ` Grant Edwards
  2010-05-06 20:07 ` Belisko Marek
  0 siblings, 2 replies; 3+ messages in thread
From: Grant Edwards @ 2010-05-06 19:24 UTC (permalink / raw)
  To: buildroot

I've been trying to get inetd and busybox's telnetd to work, but I'm
stumped.

Here's my inetd.conf file:

telnet stream  tcp  nowait root /usr/sbin/telnetd  /usr/sbin/telnetd

When I telnet to my board, this is what happens:

  $ telnet 10.0.0.99 
  Trying 10.0.0.99...
  Connected to 10.0.0.99.
  Escape character is '^]'.
  buildroot login: root
  Login incorrect

I can't figure out why the login is "incorrect".  The root user
doesn't have a password.

Telnetd and login are both from busybox 1.16.

When I run inetd in the foreground and tell it to log to stderr it's
completely mute.
 
What tricks are there to get busybox's inetd/telnetd/login to work?

-- 
Grant Edwards               grant.b.edwards        Yow! Is it NOUVELLE
                                  at               CUISINE when 3 olives are
                              gmail.com            struggling with a scallop
                                                   in a plate of SAUCE MORNAY?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Can't get inetd/busybox-telnetd to work
  2010-05-06 19:24 [Buildroot] Can't get inetd/busybox-telnetd to work Grant Edwards
@ 2010-05-06 19:36 ` Grant Edwards
  2010-05-06 20:07 ` Belisko Marek
  1 sibling, 0 replies; 3+ messages in thread
From: Grant Edwards @ 2010-05-06 19:36 UTC (permalink / raw)
  To: buildroot

On 2010-05-06, Grant Edwards <grant.b.edwards@gmail.com> wrote:

> I've been trying to get inetd and busybox's telnetd to work, but I'm
> stumped.
>
> Here's my inetd.conf file:
>
> telnet stream  tcp  nowait root /usr/sbin/telnetd  /usr/sbin/telnetd
>
> When I telnet to my board, this is what happens:
>
>   $ telnet 10.0.0.99 
>   Trying 10.0.0.99...
>   Connected to 10.0.0.99.
>   Escape character is '^]'.
>   buildroot login: root
>   Login incorrect
>
> I can't figure out why the login is "incorrect".  The root user
> doesn't have a password.

Doh!

I forgot to disable support for /etc/securetty (and pts/N wasn't in
/etc/securetty).

-- 
Grant Edwards               grant.b.edwards        Yow! TONY RANDALL!  Is YOUR
                                  at               life a PATIO of FUN??
                              gmail.com            

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Can't get inetd/busybox-telnetd to work
  2010-05-06 19:24 [Buildroot] Can't get inetd/busybox-telnetd to work Grant Edwards
  2010-05-06 19:36 ` Grant Edwards
@ 2010-05-06 20:07 ` Belisko Marek
  1 sibling, 0 replies; 3+ messages in thread
From: Belisko Marek @ 2010-05-06 20:07 UTC (permalink / raw)
  To: buildroot

Hi,

On Thu, May 6, 2010 at 9:24 PM, Grant Edwards <grant.b.edwards@gmail.com> wrote:
> I've been trying to get inetd and busybox's telnetd to work, but I'm
> stumped.
>
> Here's my inetd.conf file:
>
> telnet stream ?tcp ?nowait root /usr/sbin/telnetd ?/usr/sbin/telnetd
If you don't need login you can start telnetd this way:
/usb/sbin/telnet -l /bin/sh
You should be able to connect without login prompt.
>
> When I telnet to my board, this is what happens:
>
> ?$ telnet 10.0.0.99
> ?Trying 10.0.0.99...
> ?Connected to 10.0.0.99.
> ?Escape character is '^]'.
> ?buildroot login: root
> ?Login incorrect
>
> I can't figure out why the login is "incorrect". ?The root user
> doesn't have a password.
>
> Telnetd and login are both from busybox 1.16.
>
> When I run inetd in the foreground and tell it to log to stderr it's
> completely mute.
>
> What tricks are there to get busybox's inetd/telnetd/login to work?
>
> --
> Grant Edwards ? ? ? ? ? ? ? grant.b.edwards ? ? ? ?Yow! Is it NOUVELLE
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?at ? ? ? ? ? ? ? CUISINE when 3 olives are
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?gmail.com ? ? ? ? ? ?struggling with a scallop
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? in a plate of SAUCE MORNAY?
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>

good luck,

Marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
icq: 290551086
web: http://open-nandra.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-05-06 20:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-06 19:24 [Buildroot] Can't get inetd/busybox-telnetd to work Grant Edwards
2010-05-06 19:36 ` Grant Edwards
2010-05-06 20:07 ` Belisko Marek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox