From owner-freebsd-questions Fri Sep 15 9:15:42 2000 Delivered-To: freebsd-questions@freebsd.org Received: from relay1.pair.com (relay1.pair.com [209.68.1.20]) by hub.freebsd.org (Postfix) with SMTP id 7C53B37B422 for ; Fri, 15 Sep 2000 09:15:37 -0700 (PDT) Received: (qmail 26119 invoked from network); 15 Sep 2000 16:15:34 -0000 Received: from escazu-a291.racsa.co.cr (HELO hiddink) (196.40.48.231) by relay1.pair.com with SMTP; 15 Sep 2000 16:15:34 -0000 X-pair-Authenticated: 196.40.48.231 From: "Bert Hiddink" To: questions@FreeBSD.ORG Date: Fri, 15 Sep 2000 10:22:59 -0600 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: My ppp.log (was: Re: Defaultrouter on Window box) Cc: Ben Smithurst X-mailer: Pegasus Mail for Win32 (v3.12a) Message-Id: <20000915161537.7C53B37B422@hub.freebsd.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, Ben, I add my ppp.log at the end of this message (the file ppp.log was not there, I created it and then it started logging), in relation to the message I posted before: ------- Previous posted message follows ------- [SNIP] >> Windows software may have given you the attitude to give up and not >> bother if something doesn't work first time, but with FreeBSD things >> generally work if you stick with it. OK, so I'll stick to ppp! I added "chat debug" to the "set log" line. However, this does not change anything. Still get the same message "Warning: chat script failed". And my /var/log/ppp.log file stays empty. Here is my ppp.conf again: ################################################################# # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by wself@cdrom.com # # $FreeBSD: src/etc/ppp/ppp.conf,v 1.2 1999/08/27 23:24:08 peter Exp $ ################################################################# default: # # Make sure that "device" references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # set device /dev/cuaa4 set log Phase Chat LCP IPCP CCP tun command chat debug 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 120 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR enable dns papchap: # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # set phone ******** set authname ******* set authkey ******** ######################## Any ideas to help me further? Many thanks in advance! -brt ------- End of previous posted message ------- And here is my ppp.log, with de "chat debug" option on: ############### ppp.log ################### Sep 15 10:07:03 alfa ppp[913]: Phase: Using interface: tun0 Sep 15 10:07:03 alfa ppp[913]: Phase: deflink: Created in closed state Sep 15 10:07:03 alfa ppp[913]: tun0: Command: default: set speed 115200 Sep 15 10:07:03 alfa ppp[913]: tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" AT OK-AT-OK ATE1Q0 OK \dATDT\T TIMEOUT 40 CONNECT Sep 15 10:07:03 alfa ppp[913]: tun0: Command: default: set timeout 120 Sep 15 10:07:03 alfa ppp[913]: tun0: Command: default: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 Sep 15 10:07:03 alfa ppp[913]: tun0: Command: default: add default HISADDR Sep 15 10:07:03 alfa ppp[913]: tun0: Debug: wrote -1: cmd = Add, dst = 0, gateway = 200000a Sep 15 10:07:03 alfa ppp[913]: tun0: Command: default: enable dns Sep 15 10:07:03 alfa ppp[913]: tun0: Phase: PPP Started (interactive mode). Sep 15 10:07:03 alfa ppp[913]: tun0: Debug: Select changes time: no Sep 15 10:07:08 alfa ppp[913]: tun0: Command: /dev/tty: dial papchap Sep 15 10:07:08 alfa ppp[913]: tun0: Debug: ReadSystem: Checking default (/etc/ppp/ppp.conf). Sep 15 10:07:08 alfa ppp[913]: tun0: Debug: ReadSystem: Checking papchap (/etc/ppp/ppp.conf). Sep 15 10:07:08 alfa ppp[913]: tun0: Debug: ReadSystem: Checking papchap (/etc/ppp/ppp.conf). Sep 15 10:07:08 alfa ppp[913]: tun0: Command: papchap: set phone 2837685 Sep 15 10:07:08 alfa ppp[913]: tun0: Command: papchap: set authname hiddink Sep 15 10:07:08 alfa ppp[913]: tun0: Command: papchap: set authkey ******** Sep 15 10:07:08 alfa ppp[913]: tun0: Phase: bundle: Establish Sep 15 10:07:08 alfa ppp[913]: tun0: Phase: deflink: closed -> opening Sep 15 10:07:08 alfa ppp[913]: tun0: Debug: deflink: Opened /dev/cuaa4 Sep 15 10:07:08 alfa ppp[913]: tun0: Debug: deflink: tty_Create: physical (get): fd = 2, iflag = 0, oflag = 0, cflag = 4b00 Sep 15 10:07:08 alfa ppp[913]: tun0: Debug: deflink: physical (put): iflag = 201, oflag = 0, cflag = 3cb00 Sep 15 10:07:08 alfa ppp[913]: tun0: Phase: deflink: Connected! Sep 15 10:07:08 alfa ppp[913]: tun0: Phase: deflink: opening -> dial Sep 15 10:07:08 alfa ppp[913]: tun0: Chat: Phone: 2837685 Sep 15 10:07:08 alfa ppp[913]: tun0: Chat: deflink: Dial attempt 1 of 1 Sep 15 10:07:08 alfa ppp[913]: tun0: Chat: Send: AT^M Sep 15 10:07:08 alfa ppp[913]: tun0: Chat: Expect(5): OK Sep 15 10:07:13 alfa ppp[913]: tun0: Chat: Expect timeout Sep 15 10:07:13 alfa ppp[913]: tun0: Chat: Send: AT^M Sep 15 10:07:13 alfa ppp[913]: tun0: Chat: Expect(5): OK Sep 15 10:07:13 alfa ppp[913]: tun0: Chat: Received: AT^M^M Sep 15 10:07:13 alfa ppp[913]: tun0: Chat: Received: OK^M Sep 15 10:07:13 alfa ppp[913]: tun0: Chat: Send: ATE1Q0^M Sep 15 10:07:13 alfa ppp[913]: tun0: Chat: Expect(5): OK Sep 15 10:07:13 alfa ppp[913]: tun0: Chat: Received: AT^M^M Sep 15 10:07:13 alfa ppp[913]: tun0: Chat: Received: OK^M Sep 15 10:07:13 alfa ppp[913]: tun0: Chat: Send: ATDT2837685^M Sep 15 10:07:15 alfa ppp[913]: tun0: Chat: Expect(40): CONNECT Sep 15 10:07:15 alfa ppp[913]: tun0: Chat: Received: ATE1Q0^M^M Sep 15 10:07:15 alfa ppp[913]: tun0: Chat: Received: OK^M Sep 15 10:07:55 alfa ppp[913]: tun0: Chat: Expect timeout Sep 15 10:07:55 alfa ppp[913]: tun0: Warning: Chat script failed Sep 15 10:07:55 alfa ppp[913]: tun0: Phase: deflink: dial -> hangup Sep 15 10:07:55 alfa ppp[913]: tun0: Phase: deflink: Disconnected! Sep 15 10:07:55 alfa ppp[913]: tun0: Debug: deflink: Close Sep 15 10:07:55 alfa ppp[913]: tun0: Phase: deflink: Connect time: 47 secs: 0 octets in, 0 octets out Sep 15 10:07:55 alfa ppp[913]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Fri Sep 15 10:07:55 2000 Sep 15 10:07:55 alfa ppp[913]: tun0: Phase: deflink: hangup -> closed Sep 15 10:07:55 alfa ppp[913]: tun0: Debug: route_IfDelete (11) Sep 15 10:07:55 alfa ppp[913]: tun0: Debug: Found the following interfaces: Sep 15 10:07:55 alfa ppp[913]: tun0: Debug: Index 1, name "lp0" Sep 15 10:07:55 alfa ppp[913]: tun0: Debug: Index 2, name "sl0" Sep 15 10:07:55 alfa ppp[913]: tun0: Debug: Index 3, name "ppp0" Sep 15 10:07:55 alfa ppp[913]: tun0: Debug: Index 4, name "lo0" Sep 15 10:07:55 alfa ppp[913]: tun0: Debug: Index 5, name "gif0" Sep 15 10:07:55 alfa ppp[913]: tun0: Debug: Index 6, name "gif1" Sep 15 10:07:55 alfa ppp[913]: tun0: Debug: Index 7, name "gif2" Sep 15 10:07:55 alfa ppp[913]: tun0: Debug: Index 8, name "gif3" Sep 15 10:07:55 alfa ppp[913]: tun0: Debug: Index 9, name "faith0" Sep 15 10:07:55 alfa ppp[913]: tun0: Debug: Index 10, name "ed1" Sep 15 10:07:55 alfa ppp[913]: tun0: Debug: Index 11, name "tun0" Sep 15 10:07:55 alfa ppp[913]: tun0: Debug: route_IfDelete: addrs: 3, Netif: 4 (lo0), flags: 200005, dst: 127.0.0.1 ? Sep 15 10:07:55 alfa ppp[913]: tun0: Debug: route_IfDelete: addrs: 7, Netif: 10 (ed1), flags: 101, dst: 192.168.1.0 ? Sep 15 10:07:55 alfa ppp[913]: tun0: Debug: route_IfDelete: addrs: 3, Netif: 4 (lo0), flags: 220405, dst: 192.168.1.9 ? Sep 15 10:07:55 alfa ppp[913]: tun0: Debug: route_IfDelete: addrs: 3, Netif: 4 (lo0), flags: 200005, dst: 127.0.0.1 ? Sep 15 10:07:55 alfa ppp[913]: tun0: Debug: route_IfDelete: addrs: 7, Netif: 10 (ed1), flags: 101, dst: 192.168.1.0 ? Sep 15 10:07:55 alfa ppp[913]: tun0: Debug: route_IfDelete: addrs: 3, Netif: 4 (lo0), flags: 220405, dst: 192.168.1.9 ? Sep 15 10:07:55 alfa ppp[913]: tun0: Phase: bundle: Dead ############### end of ppp.log ################### Does this give you any hints of where the problem might be? Many thanks in advance for your help! Regards, -brt Bert Hiddink, FUNDACION GALILEO Correo electronico: hiddink@galileo.or.cr Sitio: http://www.galileo.or.cr Tel. (506) 280 8683, telefax. (506) 280 8847 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message