From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 00:15:25 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B528016A4B3 for ; Thu, 9 Oct 2003 00:15:25 -0700 (PDT) Received: from mail.eftel.com (sv3.per.eftel.com [203.24.100.148]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04CDD43FB1 for ; Thu, 9 Oct 2003 00:15:23 -0700 (PDT) (envelope-from brucen@ansonic.com.au) Received: from localhost.localdomain (dialup-1-081.Warrnambool.dft.com.au [203.123.78.81]) by mail.eftel.com (Postfix) with ESMTP id D50FA143F4 for ; Thu, 9 Oct 2003 15:15:18 +0800 (WST) Content-Type: text/plain; charset="us-ascii" From: nevle To: freebsd-questions@freebsd.org Date: Thu, 9 Oct 2003 17:20:11 +1000 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200310091720.11436.brucen@ansonic.com.au> Subject: re:ppp confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2003 07:15:25 -0000 Hi, I made the changes you suggested and seemed to be connected (full modem=20 lights) but couldn't log-on to any site(using Lynx),tried to "ping -c=20 204.216.27.18" ,and got "invalid count of packets to transmit..."(not sur= e if=20 I should do that, but I'm getting desperate!).Have included latest ppp.co= nf=20 and ppp.log(with the appropriate changes to protect the innocent). IPV6CP? Thanks for your patience,hope you can help nevle=20 ##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.8 2001/06/21 15:42:26 brian Exp $ ################################################################# default: set log Phase Chat LCP IPCP CCP tun command # ident user-ppp VERSION (built COMPILATIONDATE) # Ensure that "device" references the correct serial port # for your modem. (cuaa0 =3D COM1, cuaa1 =3D COM2) # set device /dev/cuaa0 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 180=09=09=09# 3 minute idle timer (the default) enable dns=09=09=09=09# request DNS info (for resolv.conf) papchap: =20 # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # =20 set phone 654321 set authname barney set authkey bambam =20 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0=20 add default HISADDR=09=09=09# Add a (sticky) default route ##ppp.log Oct 9 15:14:22 nevsbsd ppp[482]: Phase: Using interface: tun0=20 Oct 9 15:14:22 nevsbsd ppp[482]: Phase: deflink: Created in closed state= =20 Oct 9 15:14:22 nevsbsd ppp[482]: tun0: Command: default: set device=20 /dev/cuaa0=20 Oct 9 15:14:22 nevsbsd ppp[482]: tun0: Command: default: set speed 11520= 0=20 Oct 9 15:14:22 nevsbsd ppp[482]: tun0: Command: default: set dial ABORT = BUSY=20 ABORT NO\sCARRIER TIMEOUT 5 "" AT OK-AT-OK ATE1Q0 OK \dATDT\T=20 TIMEOUT 40 CONNECT=20 Oct 9 15:14:22 nevsbsd ppp[482]: tun0: Command: default: set timeout 180= =20 Oct 9 15:14:22 nevsbsd ppp[482]: tun0: Command: default: enable dns=20 Oct 9 15:14:22 nevsbsd ppp[482]: tun0: Command: papchap: set phone 65432= 1=20 Oct 9 15:14:22 nevsbsd ppp[482]: tun0: Command: papchap: set authname ba= rney Oct 9 15:14:22 nevsbsd ppp[482]: tun0: Command: papchap: set authkey ***= *****=20 Oct 9 15:14:22 nevsbsd ppp[482]: tun0: Command: papchap: set ifaddr=20 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0=20 Oct 9 15:14:22 nevsbsd ppp[482]: tun0: Command: papchap: add default HIS= ADDR=20 Oct 9 15:14:22 nevsbsd ppp[483]: tun0: Phase: PPP Started (auto mode).=20 Oct 9 15:14:22 nevsbsd ppp[483]: tun0: Phase: bundle: Establish=20 Oct 9 15:14:22 nevsbsd ppp[483]: tun0: Phase: deflink: closed -> opening= =20 Oct 9 15:14:22 nevsbsd ppp[483]: tun0: Phase: deflink: Connected!=20 Oct 9 15:14:22 nevsbsd ppp[483]: tun0: Phase: deflink: opening -> dial=20 Oct 9 15:14:22 nevsbsd ppp[483]: tun0: Chat: Phone: 654321 Oct 9 15:14:22 nevsbsd ppp[483]: tun0: Chat: deflink: Dial attempt 1 of = 1=20 Oct 9 15:14:22 nevsbsd ppp[483]: tun0: Chat: Send: AT^M=20 Oct 9 15:14:22 nevsbsd ppp[483]: tun0: Chat: Expect(5): OK=20 Oct 9 15:14:22 nevsbsd ppp[483]: tun0: Chat: Received: AT^M^M=20 Oct 9 15:14:22 nevsbsd ppp[483]: tun0: Chat: Received: OK^M=20 Oct 9 15:14:22 nevsbsd ppp[483]: tun0: Chat: Send: ATE1Q0^M=20 Oct 9 15:14:22 nevsbsd ppp[483]: tun0: Chat: Expect(5): OK=20 Oct 9 15:14:22 nevsbsd ppp[483]: tun0: Chat: Received: ATE1Q0^M^M=20 Oct 9 15:14:22 nevsbsd ppp[483]: tun0: Chat: Received: OK^M=20 Oct 9 15:14:22 nevsbsd ppp[483]: tun0: Chat: Send: ATDT55602777^M=20 Oct 9 15:14:24 nevsbsd ppp[483]: tun0: Chat: Expect(40): CONNECT=20 Oct 9 15:14:48 nevsbsd ppp[483]: tun0: Chat: Received: ATDT654321^M^M=20 Oct 9 15:14:48 nevsbsd ppp[483]: tun0: Chat: Received: CONNECT 115200^M=20 Oct 9 15:14:48 nevsbsd ppp[483]: tun0: Phase: deflink: dial -> carrier=20 Oct 9 15:14:49 nevsbsd ppp[483]: tun0: Phase: deflink: /dev/cuaa0: CD=20 detected=20 Oct 9 15:14:49 nevsbsd ppp[483]: tun0: Phase: deflink: carrier -> login=20 Oct 9 15:14:49 nevsbsd ppp[483]: tun0: Phase: deflink: login -> lcp=20 Oct 9 15:14:49 nevsbsd ppp[483]: tun0: LCP: FSM: Using "deflink" as a=20 transport=20 Oct 9 15:14:49 nevsbsd ppp[483]: tun0: LCP: deflink: State change Initia= l -->=20 Closed=20 Oct 9 15:14:49 nevsbsd ppp[483]: tun0: LCP: deflink: State change Closed= -->=20 Stopped=20 Oct 9 15:14:50 nevsbsd ppp[483]: tun0: LCP: deflink: LayerStart=20 Oct 9 15:14:50 nevsbsd ppp[483]: tun0: LCP: deflink: SendConfigReq(1) st= ate =3D=20 Stopped=20 Oct 9 15:14:50 nevsbsd ppp[483]: tun0: LCP: ACFCOMP[2]=20 Oct 9 15:14:50 nevsbsd ppp[483]: tun0: LCP: PROTOCOMP[2]=20 Oct 9 15:14:50 nevsbsd ppp[483]: tun0: LCP: ACCMAP[6] 0x00000000=20 Oct 9 15:14:50 nevsbsd ppp[483]: tun0: LCP: MRU[4] 1500=20 Oct 9 15:14:50 nevsbsd ppp[483]: tun0: LCP: MAGICNUM[6] 0x3ca64601=20 Oct 9 15:14:50 nevsbsd ppp[483]: tun0: LCP: deflink: State change Stoppe= d -->=20 Req-Sent=20 Oct 9 15:14:50 nevsbsd ppp[483]: tun0: LCP: deflink: RecvConfigReq(1) st= ate =3D=20 Req-Sent=20 Oct 9 15:14:50 nevsbsd ppp[483]: tun0: LCP: <0x0>[4] 0000=20 Oct 9 15:14:50 nevsbsd ppp[483]: tun0: LCP: MRU[4] 1524=20 Oct 9 15:14:50 nevsbsd ppp[483]: tun0: LCP: ACCMAP[6] 0x00000000=20 Oct 9 15:14:50 nevsbsd ppp[483]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP)=20 Oct 9 15:14:50 nevsbsd ppp[483]: tun0: LCP: PROTOCOMP[2]=20 Oct 9 15:14:50 nevsbsd ppp[483]: tun0: LCP: ACFCOMP[2]=20 Oct 9 15:14:50 nevsbsd ppp[483]: tun0: LCP: MRRU[4] 1524=20 Oct 9 15:14:50 nevsbsd ppp[483]: tun0: LCP: ENDD