Telnetd: cannot find free ptys..

Rahanesh rahanesh at tataelxsi.co.in
Wed Sep 23 13:51:30 UTC 2009


Baruch Siach wrote:
> Hi Rahanesh,
>
> On Wed, Sep 23, 2009 at 06:57:56PM +0530, Rahanesh wrote:
>   
>> Maxin John wrote:
>>     
>>> Hi Rahanesh,
>>>
>>> On Wed, 23 Sep 2009 17:23:11 +0530 wrote
>>>       
>>>> Hi All,I am using busybox-1.12.4 on MIPS target. I want to telnet
>>>>         
>> >from >PC toboard.After starting telnetd on board and then while
>>     
>>> trying to >connect to itfrom PC i get the following error.
>>>
>>> Execute these commands on the target board:
>>> cd /dev
>>> mkdir pts
>>> mount -t devpts none /dev/pts
>>>       
>>     I tried to execute the above commad it said
>>     " *mounting none on /dev/pts failed: No such device*"
>>
>> What  might be the issue?
>>     
>
> What is the output of the following command on your board?
>
> grep devpts /proc/filesystems
>
> You should see something like:
>
> nodev   devpts
>   
    No such thing is there.

    Since grep is not enabled in my board , i did  cat 
/proc/filesystems  it showed
nodev   sysfs
nodev   rootfs
nodev   bdev
nodev   proc
nodev   sockfs
nodev   pipefs
nodev   futexfs
nodev   tmpfs
nodev   eventpollfs
             ext2
             cramfs
nodev    ramfs
             efs
nodev   jffs2

the content of /etc/fstab is

<file system> <mount point>   <type>  <options>               <dump>  <pass>
/dev/root       /               ext2    rw,noauto                 0      1
proc            /proc           proc    defaults                  0      0
none            /sys            sysfs   defaults                  0      0
devpts          /dev/pts        devpts   defaults,gid=5,mode=620  0      0
/dev/mtdblock1  /flash           jffs2   defaults                  0      0
/dev/mtdblock2  /flash1           jffs2   defaults                  0      0

none            /proc/bus/usb   usbfs   defaults                  0      0

Any idea?

Thanks
Rahanesh


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090923/1614a03d/attachment.htm>


More information about the busybox mailing list