[BusyBox] [ANNOUNCE] utelnetd-0.1.1
WILSON,RICH (A-LakeStevens,ex1)
rich_wilson at agilent.com
Mon May 20 13:40:03 UTC 2002
[stupid outlook. where did my compose window go to? you might have seen
a very similar message very recently]
> ... and made sure that
> /dev/pts was mounted.
Oh, I forgot to do the mount!
# mount -t devpts none /dev/pts
# mount
/dev/root on / type ext2 (rw)
none on /proc type proc (rw)
/dev/mtdblock0 on /flash type jffs2 (rw)
none on /dev/pts type devpts (rw)
# utelnetd -d
telnetd: starting
port: 23; login program: /bin/sh
daemonizing
# getpty(): got pty /dev/pts/0
Ignoring IAC 0xff, DO, SUPPRESS GO AHEAD
Ignoring IAC 0xff, WILL, TERMINAL TYPE
Ignoring IAC 0xff, WONT, ECHO
Ignoring IAC 0xff, WONT, LFLOW
Ignoring IAC 0xff, DO, ECHO
Oh well, didn't make any difference.
I'll try devfs when I get some free time...
Thanks for the hint.
Rich
Rich Wilson
Agilent Technologies
425-335-2245
rich_wilson at agilent.com
> -----Original Message-----
> From: Glenn Heard [mailto:GHeard at AltronicInc.com]
> Sent: Wednesday, May 15, 2002 1:33 PM
> To: busybox at busybox.net
> Subject: RE: [BusyBox] [ANNOUNCE] utelnetd-0.1.1
>
>
> Hello,
>
> I had the same problem on my bb system when I was
> trying to use the telnetd patch with /dev/ptyxx. Mine worked
> a lot better when I defined a devfs system and made sure that
> /dev/pts was mounted. This worked, so I went away happy
> without having to know why the old /dev/ptyxx method didn't work.
>
> Glenn Heard rayzer at zoominternet.net
> Software Engineer gheard at altronicinc.com
> Altronic Inc. www.altronicinc.com
> ICQ: 123194600 www.zoominternet.net/~rayzer
> ---
> 'hAS ANYONE SEEN MY cAPSLOCK KEY?'
>
> > -----Original Message-----
> > From: WILSON,RICH (A-LakeStevens,ex1)
> [mailto:rich_wilson at agilent.com]
> > Sent: Wednesday, May 15, 2002 4:12 PM
> > To: 'Robert Schwebel'; busybox at busybox.net
> > Subject: RE: [BusyBox] [ANNOUNCE] utelnetd-0.1.1
> >
> >
> > I thought I'd try this out on my system, and I'm having
> some trouble.
> >
> > What I did:
> >
> > Used uClibc
> > Replaced the login program with "/bin/sh"
> > Cross-compiled for PPC
> >
> > What happened:
> > Client is happy, echos characters, but shows no sign of
> > any response
> > On the server:
> >
> > # utelnetd -d
> > telnetd: starting
> > port: 23; login program: /bin/sh
> > daemonizing
> > #
> >
> > And then, when it gets a connection,
> >
> > getpty(): got pty /dev/pts/0
> > Ignoring IAC 0xff, DO, SUPPRESS GO AHEAD
> > Ignoring IAC 0xff, WILL, TERMINAL TYPE
> > Ignoring IAC 0xff, WONT, ECHO
> > Ignoring IAC 0xff, WONT, LFLOW
> > Ignoring IAC 0xff, DO, ECHO
> >
> > ps looks like
> >
> > # ps
> > PID Uid VmSize Stat Command
> > 1 0 668 S init
> > 2 0 S [keventd]
> > 3 0 S [ksoftirqd_CPU0]
> > 4 0 S [kswapd]
> > 5 0 S [bdflush]
> > 6 0 S [kupdated]
> > 7 0 S [mtdblockd]
> > 15 0 S [jffs2_gcd_mtd0]
> > 75 0 688 S /bin/sh -i -s
> > 85 0 412 S utelnetd -d
> > 88 0 Z [utelnetd]
> > 89 0 668 R ps
> > #
> >
> > Doing "killall utelnetd", the client notices and exits.
> >
> > Any ideas? I don't have time to go into debug mode at the moment.
> >
> > Rich
> >
> > Rich Wilson
> > Agilent Technologies
> > 425-335-2245
> > rich_wilson at agilent.com
> >
> > > -----Original Message-----
> > > From: Robert Schwebel [mailto:robert at schwebel.de]
> > > Sent: Wednesday, May 15, 2002 12:10 AM
> > > To: busybox at busybox.net
> > > Subject: [BusyBox] [ANNOUNCE] utelnetd-0.1.1
> > >
> > >
> > > Hi,
> > >
> > > I have been searching for a standalone telnet daemon for
> > > quite a long time
> > > yet, but didn't find something reasonable so far. Some time
> > ago, Jörg
> > > Schmitz-Linneweber has posted a busybox applet on this list,
> > > but due to
> > > security reasons it seems to be a bad idea to have telnetd
> > > integrated into
> > > BB. So I have now taken Jörg's applet and made it standalone,
> > > with some
> > > additions:
> > >
> > > http://www.pengutronix.de/software/utelnetd_en.html
> > >
> > > - Works standalone, so can be easily taken away on production
> > > machines
> > > - No problems with first login, <ctrl-c> character
> > > - Works with normal /dev and /devfs (for ptys)
> > > - Not tested with uClibc yet
> > >
> > > Thanks to Bjorn Wesen, Vladimir Oleynik and Joerg
> > > Schmitz-Linneweber for
> > > the code!
> > >
> > > Any help, ideas and patches are welcome.
> > >
> > > Robert
> > > --
> > > +--------------------------------------------------------+
> > > | Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de |
> > > | Pengutronix - Linux Solutions for Science and Industry |
> > > | Braunschweiger Str. 79, 31134 Hildesheim, Germany |
> > > | Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4 |
> > > +--------------------------------------------------------+
> > > _______________________________________________
> > > busybox mailing list
> > > busybox at busybox.net
> > > http://busybox.net/mailman/listinfo/busybox
> > >
> > _______________________________________________
> > busybox mailing list
> > busybox at busybox.net
> > http://busybox.net/mailman/listinfo/busybox
> >
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/mailman/listinfo/busybox
>
More information about the busybox
mailing list