Skip to contentSkip to conversation

Can't get inetd/busybox-telnetd to work

Buildroot Grant Edwards 2 participants 3 messages May 6, 2010

lore
Share & tools
lore
#0 lore raw

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?

Signature · 4 lines
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?
#1 lore raw
Quoted 16 lines · Grant Edwards

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
Quoted 2 lines

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

Signature · 3 lines
Grant Edwards               grant.b.edwards        Yow! TONY RANDALL!  Is YOUR
                                  at               life a PATIO of FUN??
                              gmail.com            
#2 lore raw
In reply to Grant Edwards

Hi,

Quoted 6 lines · Grant Edwards

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.

Quoted 26 lines

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?

Quoted 5 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

good luck,

Marek

Signature · 10 lines
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