[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Couldn't open pty slave /dev/pts/0



On Tue, Jan 11, 2000 at 07:37:41AM +0000, Phillip Deackes wrote:
> Whenever I log on to my IP I get an error message about /dev/pts in
> /var/log/messages:
> 
> Jan 10 23:19:05 scgf pppd[283]: Couldn't open pty slave /dev/pts/0: No
> such file or directory
> Jan 10 23:19:05 scgf kernel: registered device ppp0
> Jan 10 23:19:05 scgf pppd[283]: pppd 2.3.10 started by gsmh, uid 1000
> Jan 10 23:19:05 scgf pppd[283]: Using interface ppp0
> Jan 10 23:19:05 scgf pppd[283]: Connect: ppp0 <--> /dev/ttyS1
> 
> Has anyone any idea what is wrong? I checked with DejaNews and can find
> messages to show that it has something to do with the kernel itself. If
> I do 'locate devpts' on my system, I get:

A few things to check: do you have Unix98 PTYs support in your kernel?
If you used one of the kernel-image debs, or make-kpkg, you can check
/boot/config-2.2.xx to see if CONFIG_DEVPTS_FS is y or m.

If so, check if it's mounted, most likely with a line like this in
/etc/fstab:
  devpts  /dev/pts  devpts  gid=5,mode=620    0   0

You can check the output of "mount", /etc/mtab, or /proc/mounts to find
out if it's currently mounted. Also, make sure that mountpoint exists.

Just a few basic things to make sure of before getting into the
complicated stuff ;)


-- 
  finger for GPG public key.
  8 Jan 2000 - Old email addresses removed from key, new added

Attachment: pgpwrOdNyAWHw.pgp
Description: PGP signature


Reply to: