[busybox] suggestion for telnetd server

Doug Edwards dedwards at synergymicro.com
Tue Jun 18 10:18:03 UTC 2002


At 11:28 AM -0400 6/18/02, Joel Coltoff wrote:
>On Tue, 18 Jun 2002, Doug Edwards wrote:
>
>>  dedwards at generic:dedwards-> telnet 192.17.100.193
>>  Trying 192.17.100.193...
>>  Connected to 192.17.100.193.
>>  Escape character is '^]'.
>>  Connection closed by foreign host.
>>  dedwards at generic:dedwards->
>>
>>
>>  On the ramdisk side, I get this message:
>>
>>  # All network ports in use!
>>
>>  I think it has something to do with my busybox setup not creating the
>>  proper pseudo-terminals, but I'm not sure if I'm right about this.
>>
>>  Any suggestions?
>
>You don't need ptty-fs or devpts or whatever you want to call
>it. What you do need is /dev/ttyp0 and /dev/ptyp0. At least that
>is how it worked when I tried it. As I recall that daemon only
>supports one telnet session. If that's not a problem for you then
>it's a good way to go. The netkit-telnet stuff works with very
>little effort. There's one call [tgetent()] to the curses library
>that I needed to comment out. You can use devpts if you wish but
>this also works without it.
>
>--
>Joel Coltoff
>
>If I had my life to live again, I'd make the same mistakes, only sooner.
>     -- Tallulah Bankhead

Joel -

Thanks.  I made the ptyp0 node and it worked fine.  I had already 
made the ttyp0 in my previous experiments, but that wasn't enough. 
Once I made ptyp0 it worked on the first try.

Thanks again.

Doug
-- 
_____________________

Doug Edwards

Synergy Microsystems
9605 Scranton Rd., Suite 700
San Diego, CA  92121-1773
dedwards at synergymicro.com
(858)452-0020
http://www.synergymicro.com
_____________________



More information about the busybox mailing list