Re: Gnome-PPP Problem



* Jonathan Drews (j.e.drews@worldnet.att.net) wrote at 16:34 on 12/08/00:
> I am reposting this as I made a mistake in my first submission: ttys0
> should have been ttyS0.
> 
> Hi Gnome Users:
> 
> I am trying to get Gnome-PPP to work in my user account. It WILL dial out
> and stay connected in root.  
> Here is the relevant portion of my /var/log/messages file:
> 
> ----------------------------------------------------------
> 
> Aug 11 16:10:00 localhost kernel: PPP: ppp line discipline successfully
> unregistered 
> Aug 11 16:10:49 localhost modprobe: can't locate module char-major-108 
> Aug 11 16:10:49 localhost kernel: PPP: version 2.3.7 (demanddialling)
> Aug 11 16:10:49 localhost kernel: PPP line discipline registered.
> Aug 11 16:10:49 localhost kernel: registered device ppp0 
> Aug 11 16:10:49 localhost pppd[1466]: pppd 2.3.10 started by planck, uid 501
> Aug 11 16:10:49 localhost pppd[1466]: Failed to open /dev/modem:
> Permission denied 
> Aug 11 16:10:49 localhost pppd[1466]: Exit.
> 
> --------------------------------------------------------------
> 
> The perplexing thing is that kppp works and (I believe) uses the same port
> that Gnome-PPP should. That is /dev/modem is a symbolic link to /dev/ttyS0,
> which is what Kppp uses. Anyway, here are the relevant devices and their
> permissions:
> 
> [planck@localhost /dev]$ ls -l modem
> lrwxrwxrwx   1 root     root           10 Jun 22 05:07 modem -> /dev/ttyS0 
> 
> [planck@localhost /dev]$ ls -l ttyS0
> crw-------   1 root     tty        4,  64 Aug 12 05:55 ttyS0


Obviously the above permissions are the problem. You have two options:
1) 'chmod g+rw /dev/ttyS0' and then add any people with permission to bring
the link up/down to the 'tty' group

2) 'chmod a+rw /dev/ttyS0' - this will allow everyone to read/write to the
modem.
 




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