ppp.conf

Richard Smith rdls at rdls.net
Sun Jun 24 19:36:34 BST 2001


--YiEDa0DAkWCtVeE4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Sun, Jun 24, 2001 at 06:23:20PM +0100, Jose Marques wrote:
> I've decided to convert my rather complex kernel pppd setup to userland
> ppp.  In order to make things easier I was wondering if anybody using
> userland ppp with either Demon, Freeserve or both via an analog modem
> would be kind enough to send me a copy of their ppp.conf (not forgetting
> to remove any passwords etc.) so that I can use it as a starting point.

I'm using pppd for my dial-on-demand connection at the moment, however,
I did manage to dig out my old working ppp.conf for Demon.

HTH
Richard.


--YiEDa0DAkWCtVeE4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="ppp.conf"

#	$Id: ppp.conf,v 1.3 2000/06/22 21:12:13 richard Exp $
#
#

default:
	set server /var/run/tun%d.ctl "" 0177
#
# -- logging level (note TCP/IP gets "very" verbose)
#
	set log Phase Chat LCP IPCP CCP tun command
#	set log Phase Chat LCP IPCP CCP tun command TCP/IP
#
# -- timers
#
#	About timers...
#	`timeout' has a useful feature of min timeout, but we don't use it because
#	`redial' doesn't work as published. The `redial' parameter is "a+b-c.d", 
#	well, "d" doesn't do anything that I've found. The initial sleep is "a+b",
#	not "a", so we can't have a fast redial, so I need to keep "b" as small as
#	is financially safe, so I keep the idle as high as possible to make dialups
#	more productive.

	set timeout 60 200
	set redial 0+20-15 20

#
# -- modem initialization (assumes profile 0 is mostly correct)
#
	set device /dev/cuaa2
	set speed 57600
	set dial "ABORT BUSY ABORT NO\\sCARRIER ABORT NO\\sDIALTONE TIMEOUT 5 \"\" ATZ OK-ATZ-OK AT&C1&D2 OK ATDT\\T TIMEOUT 40 CONNECT"

#
# -- network configuration
#
 	set ifaddr 10.255.0.1/0 10.255.0.2/0 255.255.255.255
 	add default HISADDR

papchap:
# -- (GREEN) best friend
	set phone 08452120666
# -- (PURPLE) friends & family
#	set phone 08452121666
# -- (RED) not a friend at all
#	set phone 08450798666

	set authname jezebel
 	set authkey ********


--YiEDa0DAkWCtVeE4--




More information about the Ukfreebsd mailing list