On Wed, Sep 23, 2009 at 05:18:09PM +0530, Rahanesh wrote: >Hi All, > >I am using busybox-1.12.4 on MIPS target. I want to telnet from PC >to board. > >After starting telnetd on board and then while trying to connect to >it from PC i get the following error. > >*/telnet 10.47.5.49 >//Trying 110.47.5.49 >//Connected to 10.47.5.49 >//Escape character is '^]'. >/*/*Connection closed by foreign host.* >/ > >I have enabled syslogd on board. Log says > >"*kern.err telnetd: can't find free pty" >* >What might be the issue? > >For your Information... > >I have /dev/ptmx on board. > >My kernel Configuration is > ># CONFIG_UNIX98_PTYS is not set >CONFIG_LEGACY_PTYS=y >CONFIG_LEGACY_PTY_COUNT=256
As Gilles says, you should do the other way round. Use UNIX98 ptys (in the kernel, and turn on UNIX98PTY_ONLY in uClibc) and turn off the big legacy cruft. > >My Busy Box Configuration is > >CONFIG_FEATURE_DEVPTS=y > >Expecting your help "Looking forward to your help" is what you most likely ment to say. HTH, _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
