I now have an sshd running on my embedded gentoo setup, but when I try
to connect I get the following message on my embedded gentoo server:
openpty: no such file or directory
Indeed, there are no pty in /dev.
Doing a bit of research, I learned that there is a new scheme to create
pseudo ttys as needed:
............... a virtual file system which can be mounted on
/dev/pts with "mount -t devpts". This, together with the pseudo
terminal master multiplexer /dev/ptmx, is used for pseudo terminal
support as described in The Open Group's Unix98 standard: in order
to acquire a pseudo terminal, a process opens /dev/ptmx; the number
of the pseudo terminal is then made available to the process and the
pseudo terminal slave can be accessed as /dev/pts/<number>. What was
traditionally /dev/ttyp2 will then be /dev/pts/2, for example.
The GNU C library glibc 2.1 contains the requisite support for this
mode of operation; you also need client programs that use the Unix98
API.
Does the gentoo-embedded libc support this? If not, then we need to make
all those pseudo ttys manually.
Michael
--
[email protected] mailing list