From owner-freebsd-questions Thu Jan 20 23:46:28 2000 Delivered-To: freebsd-questions@freebsd.org Received: from teapot06.domain1.bigpond.com (teapot06.domain1.bigpond.com [139.134.5.237]) by hub.freebsd.org (Postfix) with SMTP id BDFDE15071 for ; Thu, 20 Jan 2000 23:46:24 -0800 (PST) (envelope-from L0max@bigpond.com) Received: from localhost (localhost [127.0.0.1]) by teapot06.domain1.bigpond.com (NTMail 3.02.13) with ESMTP id pa148397 for ; Fri, 21 Jan 2000 17:46:05 +1000 Received: from ts1-2.comp.utas.edu.au ([144.6.40.98]) by mail1.bigpond.com (Claudes-Hand-crafted-MailRouter V2.7 1/48319); 21 Jan 2000 17:46:03 From: "Lomax" To: Subject: PPP keeps redialing! Date: Fri, 21 Jan 2000 18:46:54 +1100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0002_01BF643F.E3430240" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0002_01BF643F.E3430240 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi, I've set up ppp and run it using ppp -alias -auto pmdemand on a system running FreeBSD 3.2 (NO X-Windows). If I run ppp any other way (ie. substitute -auto with -interactive or -background) ppp does not work. My actual problem is, I cant seem to stop ppp from always reconnecting if the link goes down. If the link goes down, I DO NOT want my unix box to try to dial up again and re-establish the link. I have tried the lines: set redial 0 1 set reconnect 0 0 but these seem to have no effect - my unix box will always dial up over and over (changing the timeout figures do seem to have an effect). The above two lines are in the correct place in ppp.conf. Is there something I'm missing? Is it something to do with the fact I'm running ppp in auto mode? Please find attached my ppp.conf file. Any info appreciated. Regards, Lomax ------=_NextPart_000_0002_01BF643F.E3430240 Content-Type: text/plain; name="ppp.conf.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="ppp.conf.txt" ################################################################ # PPP Configuration File ('/etc/ppp/ppp.conf') # # Default settings; These are always executed always when PPP # is invoked and apply to all system configurations. ################################################################ default: set device /dev/cuaa0 set speed 38400 set log +connect disable pred1 deny pred1 disable lqr deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK = \\dATDT\\T TIMEOUT 40 CONNECT" set filter dial 0 deny icmp set filter dial 1 permit 0 0 set timeout 0 set redial 0 1 set reconnect 0 0 # # ################################################################ # # For interactive mode use this configuration: # # Invoke with `ppp -alias interactive` # ################################################################ interactive: set authname spearce set authkey myPasswordGoesHere! set phone 63276666 set openmode active accept chap # ################################################################ # # For demand-dial (automatic) mode we'll use this configuration: # # Invoke with: 'ppp -auto -alias demand' # ################################################################ demand: set authname spearce set authkey myPasswordGoesHere! set phone 63276666 set login "TIMEOUT 15 sername:-\\r-sername: spearce \ word: \\P comp> = ppp" set openmode active #accept chap set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0 add 0 0 127.2.2.2 ################################################################ # End of /etc/ppp/ppp.conf ------=_NextPart_000_0002_01BF643F.E3430240-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message