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

Re: How to start PPP?



On Wed, Sep 16, 1998 at 10:13:35PM -0500, Kent West wrote:
> At 11:34 PM 9/16/1998 -0300, you wrote:
> >On Wed, Sep 16, 1998 at 08:11:51PM -0500, Kent West wrote:
> >> Okay; I give up on the documentation. Maybe someone on the list can help.
[...]
> >> "provider" files aren't properly configured - it gives an error message
> >> about /dev/modem being an unrecognized option). But if I type pon bub
> >> (which is what I would have thought would've used the "bub" connection),
> >> all that happens is the system thinks for a couple of seconds and then
> >> returns me to a prompt. There's no modem activity or messages or anything.
> >
> >If you are not running "pon bub" as root, then the problem appears to
> >be related to wrong permissions on the system files and the requirement
> >for users using pppd to be in the proper group (/etc/group):
> >
> >	The ppp files permissions under Debian 2.0 should look like this:
> >
> >	drwx--x---   2 root     dip      /etc/chatscripts/
> >	-rw-r-----   1 root     dip      /etc/chatscripts/provider
> >	drwx--x---   5 root     dip      /etc/ppp/
> >	-rw-------   1 root     root     /etc/ppp/options
> >	-rw-------   1 root     root     /etc/ppp/pap-secrets
> >	-rw-------   1 root     root     /etc/ppp/chap-secrets
> >	drwx--x---   2 root     dip      /etc/ppp/peers/
> >	-rw-r-----   1 root     dip      /etc/ppp/peers/provider
> >	-rws--x---   1 root     dip      /usr/sbin/pppd
> >	-rwxr-x---   1 root     dip      /usr/bin/pon
> >	-rwxr-x---   1 root     dip      /usr/bin/poff
> >	crw-------   1 root     root     /dev/ttyS2
> >
> >	Put the users who are to bring up a ppp link in the dip group.
> >
> >	As shipped Debian 2.0 has /etc/chatscripts like this:
> >
> >	drwx------   2 root     dip      /etc/chatscripts/
> >
> >	This is a known bug -- wrong permissions on /etc/chatscripts/.
> >
> I am running it as root.
> 
> Since this is a new installation, I decided to wipe the drive and do
> another install. I also decided to stick with the defaults and use the name
> "provider" instead of "bub". Now pon is doing the same thing; the system
> thinks for a minute and then returns me to the prompt. 
> 
> When I do a "ps a", it shows that "/usr/bin/ppd call provider" and
> "usr/sbin/chat -v -f /etc/chatscripts/provider" are running on tty S1 with
> a stat of S and a time of 0:00. If I wait a couple of minutes and do
> another "ps a", they are no longer there.
> 
> The permissions on the files (just after the new install) are as follows:
> drwxr-s--- 	2	root	dip	/etc/chatscripts/
> -rw-r-----	1	root	dip	/etc/chatscripts/provider
> drwx------	5	root	root	/etc/ppp/
> -rw-r--r--	1	root	root	/etc/ppp/options
> -rw-------	1	root	root	/etc/ppp/pap-secrets
> -rw-------	1	root	root	/etc/ppp/chap-secrets
> drwxr-s---	2	root	dip	/etc/ppp/peers
> -rw-r-----	1	root	dip	/etc/ppp/peers/provider
> -rwsr-xr--	1	root	dip	/usr/bin/pppd
> -rwxr-xr-x	1	root	root	/usr/bin/pon
> -rwxr-xr-x	1	root	root	/usr/bin/poff
> crw-rw----	1	root	dialout	/dev/ttyS1
> 
> I notice the permissions aren't quite the same as what you listed, so I'll
> try playing with those in a few minutes.

Well, maybe not.  Perhaps the packages have been updated to correct the
"bug".

-- 
  jkern@klis.com   Jack Kern   Yarmouth, Nova Scotia   Debian GNU/Linux 


Reply to: