From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 07:21:00 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 AB80D16A4B3 for ; Wed, 8 Oct 2003 07:21:00 -0700 (PDT) Received: from mta5.adelphia.net (mta5.adelphia.net [68.168.78.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CE2B43F93 for ; Wed, 8 Oct 2003 07:20:58 -0700 (PDT) (envelope-from fbsd_user@a1poweruser.com) Received: from barbish ([68.169.105.49]) by mta5.adelphia.net (InterMail vM.5.01.05.32 201-253-122-126-132-20030307) with SMTP id <20031008142058.BJVB1358.mta5.adelphia.net@barbish>; Wed, 8 Oct 2003 10:20:58 -0400 From: "fbsd_user" To: "nevle" , Date: Wed, 8 Oct 2003 10:20:53 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <200310082130.24461.brucen@ansonic.com.au> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: RE: ppp confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: fbsd_user@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2003 14:21:00 -0000 You have problem with your ppp.conf. The ppp.log shows that you have an error tun0: Command: default: papchap: tun0: Warning: papchap:: Invalid command tun0: Warning: papchap:: Failed 1 But the most enlightening info from the log is Oct 8 15:34:19 nevsbsd ppp[527]: tun0: Chat: deflink: Dial attempt 1 of 1 Oct 8 15:34:19 nevsbsd ppp[527]: tun0: Chat: Send: AT^M Oct 8 15:34:20 nevsbsd ppp[527]: tun0: Chat: Expect(5): OK Oct 8 15:34:20 nevsbsd ppp[527]: tun0: Chat: Received: AT^M^M Oct 8 15:34:20 nevsbsd ppp[527]: tun0: Chat: Received: OK^M Oct 8 15:34:20 nevsbsd ppp[527]: tun0: Chat: Send: ATE1Q0^M Oct 8 15:34:20 nevsbsd ppp[527]: tun0: Chat: Expect(5): OK Oct 8 15:34:20 nevsbsd ppp[527]: tun0: Chat: Received: ATE1Q0^M^M Oct 8 15:34:20 nevsbsd ppp[527]: tun0: Chat: Received: OK^M Oct 8 15:34:20 nevsbsd ppp[527]: tun0: Chat: Send: ATDT^M Oct 8 15:34:22 nevsbsd ppp[527]: tun0: Chat: Expect(40): CONNECT Oct 8 15:34:33 nevsbsd ppp[527]: tun0: Chat: Received: ATDT^M^M Oct 8 15:34:33 nevsbsd ppp[527]: tun0: Chat: Received: BUSY^M Oct 8 15:34:33 nevsbsd ppp[527]: tun0: Warning: Chat script failed Oct 8 15:34:33 nevsbsd ppp[527]: tun0: Phase: deflink: dial -> hangup This shown the modem being connected to FBSD but no phone number is being dialed. Change you ppp.conf to look like this default: set log Phase Chat LCP IPCP CCP tun command #ident user-ppp VERSION (built COMPILATIONDATE) this is useless statement so remove # Ensure that "device" references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = 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 # 3 minute idle timer (the default) enable dns # request DNS info (for resolv.conf) papchap: # this section header has to start in pos number 1. just like default: does # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # #ansonic: #remove this statement set phone 123456 # be sure this is the dialin phone number for your ISP # set login remove this statement set authname barney set authkey bambam set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR # Add a (sticky) default route Use this console command to start user ppp "ppp -auto papchap" check your ppp.log to see if things work. If not post your updated ppp.conf and ppp.log just containing last test. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of nevle Sent: Wednesday, October 08, 2003 7:30 AM To: freebsd-questions@freebsd.org Subject: re:ppp confusion Hi, thanks for your reply,dmesg.boot,ppp.conf and ppp.log files are below.The man ppp seems to be saying that I connect with ppp -ddial myisp, is this correct?My modem is Simplecomputing netexpress 56K external modem.Hope that you can make things a little clearer for me and I appreciate the time you have spent helping me. nevle ###dmesg.boot Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc06d4000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc06d41f4. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 1000041953 Hz CPU: AMD Duron(tm) processor (1000.04-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x671 Stepping = 1 Features=0x383f9ff AMD Features=0xc0480000 real memory = 134152192 (127 MB) avail memory = 122933248 (117 MB) Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 7 entries at 0xc00fdd00 acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 acpi_cpu0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xd0000000-0xd3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xd000-0xd00f at device 7.1 on pci0 atapci0: Correcting VIA config for southbridge data corruption bug ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xd400-0xd41f irq 9 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xd800-0xd81f irq 9 at device 7.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci0: at device 7.4 (no driver attached) pci0: at device 11.0 (no driver attached) pci0: