Date: Tue, 19 Dec 1995 20:56:46 -0600 (CST) From: Rob Snow <rsnow@txdirect.net> To: "Jonathan M. Bresler" <jmb@FreeBSD.org> Cc: "Jordan K. Hubbard" <jkh@time.cdrom.com>, "Frank E. Terhaar-Yonkers" <fty@mcnc.org>, p.richards@elsevier.co.uk, FreeBSD-current@FreeBSD.org Subject: Re: ppp Message-ID: <Pine.BSF.3.91.951219204435.323B-100000@oasis.txdirect.net> In-Reply-To: <Pine.BSF.3.91.951219193847.11922E-100000@Aspen.Woc.Atinc.COM>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 19 Dec 1995, Jonathan M. Bresler wrote: > On Tue, 19 Dec 1995, Jordan K. Hubbard wrote: > > > Maybe what has to happen first is you need to figure out a way of > > causing ppp to kill your system *without* running X, e.g. so that > > we can get into ddb and see what's panicing! > > > > it aint ppp. it may well be the configuration that the user has > spec'ed to ppp, but it aint ppp. > > excuse me for being so bloody insistent. it took a while to get > ppp set up correctly. being the kook that i am, i keep hammering on it > till i got the setup right (for me at least). now everyone at my > previous employer uses my config files for ppp, works like a charm. > > BUT you gotta beware of "delete ALL" and setup up your routes > first, during boot, as in: > > ifconfig tun0 inet 198.138.38.205 198.138.38.21 netmask 255.255.255.0 > route add default 198.138.38.205 > > then in /etc/rc.local get ppp going and active > /usr/sbin/ppp -auto atinc > /sbin/ping -c 10 198.138.38.21 > > ONLY THEN do you start X. i use xdm ;) > > Jonathan M. Bresler FreeBSD Postmaster jmb@FreeBSD.ORG > play go. ride bike. hack FreeBSD.--ah the good life > i am moving to a new job. PLEASE USE: jmb@FreeBSD.ORG > Hmm, I don't touch tun0 during boot as I found this caused me problems. Here's what my ppp.linkup looks like: ################ BEGIN /etc/ppp/ppp.linkup ################ MYADDR: delete ALL add 0 0 HISADDR ################ END /etc/ppp/ppp.linkup ################## and relevant excerpts from my ppp.conf: ################ BEGIN /etc/ppp/ppp.conf ################## default: set device /dev/cuaa1 set speed 57600 # set mru 1460 disable lqr deny lqr # disable pred1 # deny pred1 # disable vjcomp # deny vjcomp set debug phase set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATZE1Q0 OK-AT-OK \\dATM0DT\\T TIMEOUT 40 CONNECT" ondemand: set phone >PHONE_NUMBER< set login "TIMEOUT 5 login:-\\r-login: >LOGIN< word: >PASSWORD<" set timeout 600 set ifaddr 204.57.120.34/24 204.57.120.3/24 add 0 255.255.255.0 204.57.120.3 ################# END /etc/ppp/ppp.conf ################ This has been working for MONTHS 10-15 minutes an hour 24/7. X is always running and I often kill ppp and restart it from within X. It worked for 23 days once, unattended, while I was out of state. BTW, under both 205 & 210 with hylafax running and Seyon running a script once an evening. __________________________________________________________________ Rob Snow Powered by FreeBSD rsnow@txdirect.net http://www.freebsd.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951219204435.323B-100000>