NSLU2-Linux
view · edit · print · history

DS101.MorePTYS History

Hide minor edits - Show changes to markup

June 02, 2007, at 03:34 AM by BrianZhou -- rlfe and rlwrap tip
Added lines 20-28:

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.

April 23, 2006, at 06:33 PM by eriktar --
Added lines 1-19:

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

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