Gentoo Archives: gentoo-embedded

From: Natanael Copa <mlists@××××××.org>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] dropbear and telnetd problem
Date: Mon, 06 Mar 2006 13:44:12
Message-Id: 1141652571.21212.9.camel@nc
In Reply to: Re: [gentoo-embedded] dropbear and telnetd problem by Jakub Ladman
1 On man, 2006-03-06 at 11:25 +0100, Jakub Ladman wrote:
2 > On Sunday 05 of March 2006 15:15, Jakub Ladman wrote:
3 > > > > Sounds like the /dev/pts issue solar mentioned a few mails back. Make
4 > > > > sure /dev/pts exists, and you have it mounted as devpts (mount devpts
5 > > > > /dev/pts -t devpts), and see if that fixes it.
6 > > >
7 > > > Mounting /dev/pts
8 > > > mount: Mounting none on /dev/pts failed: No such device
9 > >
10 > > I have two host computers, at home and at work. Unfortunately here, at
11 > > home, i have forgotten to setup kernel symlinks.
12 > > After making it i am trying to recompile everything.
13 > > I hope that it may help.
14 >
15 > No it helps me not. I still see "mount: Mounting none on /dev/pts failed: No
16 > such device" and i am dead, i can't move any step forward.
17 >
18 > Do you know, how to make /dev/pts work?
19
20 You need Unix98 PTY support in your kernel:
21
22 Device Drivers --->
23 Character devices --->
24 [*] Unix98 PTY support
25
26
27 Here is a cut from my udev init.d script that mounts the pts.
28
29 # create pts file system
30 [ -d /dev/pts ] || mkdir --mode=755 /dev/pts
31 [ -c /dev/ptmx ] || mknod --mode=666 /dev/ptmx c 5 2
32
33 mount /dev/pts
34
35
36 and the line in fstab:
37
38 none /dev/pts devpts defaults 0 0
39
40 If you dont want depend on your fstab, replace the above
41 "mount /dev/pts" with "mount -t devpts none /dev/pts"
42
43
44
45 --
46 Natanael Copa
47
48 --
49 gentoo-embedded@g.o mailing list