NSLU2-Linux
view · edit · print · history

There is initialy a limited number of terminal logins availeble on the DS. This can be adressed with the following alterations.

This here enables the posibility to have more logins:

mknod /dev/ptmx c 5 2
chmod 666 /dev/ptmx
mkdir /dev/pts

To actualy start more logins you need to run the following commands:

echo "none /dev/pts devpts gid=5,mode=620 0 0" >> /etc/fstab
mount /dev/pts

To make the aditional terminals availebe after a reboot you need to add the two lines above to /etc/rc.local


On nslu2 with unslung firmware, occasionally sshd or screen runs out of pty, you can use the same method.

On nslu2 with unslung firmware, if using rlwrap or rlfe gives error

 error: Could not open master pty: Input/output error

make sure you have devpts mounted on /dev/pts.

view · edit · print · history · Last edited by BrianZhou.
Originally by eriktar.
Page last modified on June 02, 2007, at 03:34 AM