Date: Mon, 31 Dec 2001 11:44:26 -0800 From: "Brian" <tcpipman@hotmail.com> To: <freebsd-questions@freebsd.org> Subject: ppp not redialing Message-ID: <OE202yVmAhIfOgBjUlL0000b73a@hotmail.com>
next in thread | raw e-mail | index | archive | help
Apologies for using the hotmail acct, my isps mail is not being accepted by the list server. > I have a problem where after sometimes a few hours or at most a couple > days, my connection stops working. The problem is, it does not redial. I > invoke this in my /etc/rc.local. I run a caching dns server so have > commented out the request dns line, and want it to be up all the time, so > have commented out the idle line. It does redial if while it is > operational I pull and reinsert the phone cord, but a seemingly nonusable > connection is not detected.. > > ppp -ddial papchap > > Heres my ppp.conf > > ################################################################# > # PPP Sample Configuration File > # Originally written by Toshiharu OHNO > # Simplified 5/14/1999 by wself@cdrom.com > # > # See /usr/share/examples/ppp/ for some examples > # > # $FreeBSD: src/etc/ppp/ppp.conf,v 1.2.2.4 2001/02/22 23:28:42 brian Exp $ > ################################################################# > > default: > ident user-ppp VERSION (built COMPILATIONDATE) > > # Ensure that "device" references the correct serial port > # for your modem. (cuaa0 = COM1, cuaa1 = COM2) > # > set device /dev/cuaa1 > > set log Phase Chat LCP IPCP CCP tun command > set speed 115200 > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ > \"\" AT OK-AT-OK AT&F1 OK \\dATDT\\T TIMEOUT 40 CONNECT" > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 > #set timeout 180 # 3 minute idle timer (the > default) > add default HISADDR # Add a (sticky) default route > #enable dns # request DNS info (for > resolv.conf) > > papchap: > > # > # edit the next three lines and replace the items in caps with > # the values which have been assigned by your ISP. > # > > set phone 8260155 > set authname myusername > set authkey mypassword > > Brian "Sonic" Whalen > Success = Preparation + Opportunity > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OE202yVmAhIfOgBjUlL0000b73a>