1 |
I now have an sshd running on my embedded gentoo setup, but when I try |
2 |
to connect I get the following message on my embedded gentoo server: |
3 |
|
4 |
openpty: no such file or directory |
5 |
|
6 |
Indeed, there are no pty in /dev. |
7 |
|
8 |
Doing a bit of research, I learned that there is a new scheme to create |
9 |
pseudo ttys as needed: |
10 |
|
11 |
............... a virtual file system which can be mounted on |
12 |
/dev/pts with "mount -t devpts". This, together with the pseudo |
13 |
terminal master multiplexer /dev/ptmx, is used for pseudo terminal |
14 |
support as described in The Open Group's Unix98 standard: in order |
15 |
to acquire a pseudo terminal, a process opens /dev/ptmx; the number |
16 |
of the pseudo terminal is then made available to the process and the |
17 |
pseudo terminal slave can be accessed as /dev/pts/<number>. What was |
18 |
traditionally /dev/ttyp2 will then be /dev/pts/2, for example. |
19 |
|
20 |
The GNU C library glibc 2.1 contains the requisite support for this |
21 |
mode of operation; you also need client programs that use the Unix98 |
22 |
API. |
23 |
|
24 |
Does the gentoo-embedded libc support this? If not, then we need to make |
25 |
all those pseudo ttys manually. |
26 |
|
27 |
Michael |
28 |
-- |
29 |
gentoo-embedded@g.o mailing list |