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

Re: How to start PPP?



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.
> 
> I've got a minimal Debian 2.0 system up and running (base install from the
> floppies and that's it). I've run pppconfig and told it to create a
> connection named "bub". I haven't found any documentation that tells me how
> to use this connection. I've found several references to running pon, or
> pppd, and references to chatscript and provider and etc etc etc.
> 
> I've figured out that if I just type pon the system tries to use the
> "provider" connection (which doesn't work, presumably because the
> "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/.

	(quoted from a message on debian-user)


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


Reply to: