From owner-freebsd-questions Mon Feb 16 09:24:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA20260 for freebsd-questions-outgoing; Mon, 16 Feb 1998 09:24:34 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from uniqsite.com (uniqsite.com [206.14.149.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA20244 for ; Mon, 16 Feb 1998 09:24:25 -0800 (PST) (envelope-from timm@uniqsite.com) Received: from localhost (timm@localhost) by uniqsite.com (8.8.5/8.8.5) with SMTP id JAA10946 for ; Mon, 16 Feb 1998 09:24:21 -0800 (PST) Date: Mon, 16 Feb 1998 09:24:21 -0800 (PST) From: Tim Moony To: questions@FreeBSD.ORG Subject: User PPP can't connect Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG My ISP has recently added some dial-up numbers because it decided to switch phone company. That's all fine until my old ppp.conf script stops working. The only thing I modified is to assign a different number and give it a dynamic gateway address (see following). Although I am able to connect to the IPS by running PPP manually, it does not work the same as it did before. I see a lot of negotiation going on but finally it dies. Can someone point out my problem? ppp.conf ++++++++++++++++++++++++++++++ ################################################################# # # PPP Sample Configuration File # # Written by Toshiharu OHNO # # $Id: ppp.conf.sample,v 1.5.2.6 1997/05/12 14:08:52 brian Exp $ # ################################################################# # Default setup. Always executed when PPP is invoked. # default: set speed 38400 set timeout 0 allow users timm afaik nickliu allow modes interactive set socket 3000 disable lqr deny lqr set log Phase Chat +Connect Carrier lcp ipcp ccp command isp: enable alias set device /dev/cuaa3 set speed 38400 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT&F1C1&D3&K3+MS=56,0,44000,,0%E1S202=32 OK ATM0L3X4S95=1 OK \\dATDT\\T TIMEOUT 75 CONNECT" set phone 3760040 set login "TIMEOUT 75 gin:-\\r-gin: nickliuP word: IMun1q" set openmode active 3 set timeout 0 set redial 10 set ifaddr 206.14.149.33 207.33.94.1/32 206.14.149.32 delete ALL add 0 0 207.33.94.1/32 disable pred1 deny pred1 ppp.log ++++++++++++++++++++++++++++++++++++++++ Feb 16 09:00:00 uniqsite newsyslog[10038]: logfile turned over Feb 16 09:00:17 uniqsite ppp[10060]: Phase: Listening at port 3000. Feb 16 09:00:17 uniqsite ppp[10060]: Phase: Using interface: tun0 Feb 16 09:00:17 uniqsite ppp[10060]: Command: isp: enable alias Feb 16 09:00:17 uniqsite ppp[10060]: Command: enable: Failed 1 Feb 16 09:00:17 uniqsite ppp[10060]: Command: isp: set device /dev/cuaa3 Feb 16 09:00:17 uniqsite ppp[10060]: Command: isp: set speed 38400 Feb 16 09:00:17 uniqsite ppp[10060]: Command: isp: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" AT&F1C1&D3&K3+MS=56,0,44000,,0%E1S202=32 OK ATM0L3X4S95=1 OK \dATDT\T TIMEOUT 75 CONNECT Feb 16 09:00:17 uniqsite ppp[10060]: Command: isp: set phone 3760040 Feb 16 09:00:17 uniqsite ppp[10060]: Command: isp: set login TIMEOUT 75 gin:-\r-gin: nickliuP word: IMun1q Feb 16 09:00:17 uniqsite ppp[10060]: Command: isp: set openmode active 3 Feb 16 09:00:17 uniqsite ppp[10060]: Command: isp: set timeout 0 Feb 16 09:00:17 uniqsite ppp[10060]: Command: isp: set redial 10 Feb 16 09:00:17 uniqsite ppp[10060]: Command: isp: set ifaddr 206.14.149.33 207.33.94.1/32 206.14.149.32 Feb 16 09:00:17 uniqsite ppp[10060]: Command: isp: delete ALL Feb 16 09:00:17 uniqsite ppp[10060]: Command: isp: add 0 0 207.33.94.1/32 Feb 16 09:01:11 uniqsite ppp[10060]: Command: isp: disable pred1 Feb 16 09:01:11 uniqsite ppp[10060]: Command: isp: deny pred1 Feb 16 09:01:11 uniqsite ppp[10067]: Phase: PPP Started. Feb 16 09:01:11 uniqsite ppp[10067]: Phase: Connected! Feb 16 09:01:11 uniqsite ppp[10067]: Chat: Dial attempt 1 Feb 16 09:01:11 uniqsite ppp[10067]: Chat: Expecting Feb 16 09:01:11 uniqsite ppp[10067]: Chat: sending: AT&F1C1&D3&K3+MS=56,0,44000,,0%E1S202=32^M Feb 16 09:01:11 uniqsite ppp[10067]: Chat: Expecting OK Feb 16 09:01:11 uniqsite ppp[10067]: Chat: Wait for (5): OK --> OK Feb 16 09:01:11 uniqsite ppp[10067]: Connect: AT&F1C1&D3&K3+MS=56,0,44000,,0%E1S202=32^M^M Feb 16 09:01:11 uniqsite ppp[10067]: Connect: OK Feb 16 09:01:11 uniqsite ppp[10067]: Chat: sending: ATM0L3X4S95=1^M Feb 16 09:01:11 uniqsite ppp[10067]: Chat: Expecting OK Feb 16 09:01:11 uniqsite ppp[10067]: Chat: Wait for (5): OK --> OK Feb 16 09:01:11 uniqsite ppp[10067]: Connect: ^M Feb 16 09:01:11 uniqsite ppp[10067]: Connect: ATM0L3X4S95=1^M^M Feb 16 09:01:11 uniqsite ppp[10067]: Connect: OK Feb 16 09:01:11 uniqsite ppp[10067]: Phase: Phone: 3760040 Feb 16 09:01:11 uniqsite ppp[10067]: Chat: sending: ATDT3760040^M Feb 16 09:01:11 uniqsite ppp[10067]: Chat: Expecting CONNECT Feb 16 09:01:11 uniqsite ppp[10067]: Chat: Wait for (75): CONNECT --> CONNECT Feb 16 09:01:11 uniqsite ppp[10067]: Connect: ^M Feb 16 09:01:37 uniqsite ppp[10067]: Connect: ATDT3760040^M^M Feb 16 09:01:37 uniqsite ppp[10067]: Connect: CONNECT Feb 16 09:01:37 uniqsite ppp[10067]: Chat: Expecting gin:-\r-gin: Feb 16 09:01:37 uniqsite ppp[10067]: Chat: Wait for (75): gin: --> gin: Feb 16 09:01:37 uniqsite ppp[10067]: Connect: 44000^M Feb 16 09:01:39 uniqsite ppp[10067]: Connect: Welcome to Value Net PM3 OP-1^M Feb 16 09:01:39 uniqsite ppp[10067]: Connect: ^M Feb 16 09:01:39 uniqsite ppp[10067]: Connect: ^M Feb 16 09:01:39 uniqsite ppp[10067]: Connect: (ts1op.s25) Please Login: Feb 16 09:01:39 uniqsite ppp[10067]: Chat: sending: nickliuP^M Feb 16 09:01:39 uniqsite ppp[10067]: Chat: Expecting word: Feb 16 09:01:39 uniqsite ppp[10067]: Chat: Wait for (75): word: --> word: Feb 16 09:01:39 uniqsite ppp[10067]: Connect: nickliuP^M Feb 16 09:01:39 uniqsite ppp[10067]: Connect: Password: Feb 16 09:01:39 uniqsite ppp[10067]: Chat: sending: IMun1q^M Feb 16 09:01:39 uniqsite ppp[10067]: LCP: State change Initial --> Closed Feb 16 09:01:39 uniqsite ppp[10067]: LCP: LcpSendConfigReq Feb 16 09:01:39 uniqsite ppp[10067]: LCP: ACFCOMP Feb 16 09:01:39 uniqsite ppp[10067]: LCP: PROTOCOMP Feb 16 09:01:39 uniqsite ppp[10067]: LCP: ACCMAP [6] 00000000 Feb 16 09:01:39 uniqsite ppp[10067]: LCP: MRU [4] 1500 Feb 16 09:01:39 uniqsite ppp[10067]: LCP: MAGICNUM [6] 5266fc3b Feb 16 09:01:39 uniqsite ppp[10067]: LCP: State change Closed --> Req-Sent Feb 16 09:01:39 uniqsite ppp[10067]: LCP: Received Configure Request (1) state = Req-Sent (6) Feb 16 09:01:39 uniqsite ppp[10067]: LCP: ACCMAP 00000000 Feb 16 09:01:39 uniqsite ppp[10067]: LCP: MAGICNUM 6a1663a1 Feb 16 09:01:39 uniqsite ppp[10067]: LCP: PROTOCOMP Feb 16 09:01:39 uniqsite ppp[10067]: LCP: ACFCOMP Feb 16 09:01:39 uniqsite ppp[10067]: LCP: SendConfigAck(Req-Sent) Feb 16 09:01:39 uniqsite ppp[10067]: LCP: ACCMAP 00000000 Feb 16 09:01:39 uniqsite ppp[10067]: LCP: MAGICNUM 6a1663a1 Feb 16 09:01:39 uniqsite ppp[10067]: LCP: PROTOCOMP Feb 16 09:01:39 uniqsite ppp[10067]: LCP: ACFCOMP Feb 16 09:01:39 uniqsite ppp[10067]: LCP: State change Req-Sent --> Ack-Sent Feb 16 09:01:39 uniqsite ppp[10067]: LCP: Received Configure Ack (1) state = Ack-Sent (8) Feb 16 09:01:39 uniqsite ppp[10067]: LCP: State change Ack-Sent --> Opened Feb 16 09:01:39 uniqsite ppp[10067]: LCP: LcpLayerUp Feb 16 09:01:39 uniqsite ppp[10067]: Phase: NewPhase: Authenticate Feb 16 09:01:39 uniqsite ppp[10067]: Phase: NewPhase: Network Feb 16 09:01:39 uniqsite ppp[10067]: IPCP: State change Initial --> Closed Feb 16 09:01:39 uniqsite ppp[10067]: IPCP: IPCP Up event!! Feb 16 09:01:39 uniqsite ppp[10067]: IPCP: IpcpSendConfigReq Feb 16 09:01:39 uniqsite ppp[10067]: IPCP: IPADDR [6] 206.14.149.33 Feb 16 09:01:39 uniqsite ppp[10067]: IPCP: COMPPROTO [6] 002d0f01 Feb 16 09:01:39 uniqsite ppp[10067]: IPCP: State change Closed --> Req-Sent Feb 16 09:01:39 uniqsite ppp[10067]: CCP: State change Initial --> Closed [snip] ..... Feb 16 09:01:56 uniqsite ppp[10067]: IPCP: SendConfigNak(Ack-Rcvd) Feb 16 09:01:56 uniqsite ppp[10067]: IPCP: IPADDR[6] 207.33.94.1 Feb 16 09:01:57 uniqsite ppp[10067]: IPCP: Received Configure Request (196) state = Ack-Rcvd (7) Feb 16 09:01:57 uniqsite ppp[10067]: IPCP: COMPPROTO[6] 002d0f00 Feb 16 09:01:57 uniqsite ppp[10067]: IPCP: IPADDR[6] 204.118.173.1 [snip] ..... Feb 16 09:01:59 uniqsite ppp[10067]: IPCP: Received Configure Request (221) state = Ack-Rcvd (7) Feb 16 09:01:59 uniqsite ppp[10067]: IPCP: COMPPROTO[6] 002d0f00 Feb 16 09:01:59 uniqsite ppp[10067]: IPCP: IPADDR[6] 204.118.173.1 Feb 16 09:01:59 uniqsite ppp[10067]: IPCP: SendConfigNak(Ack-Rcvd) Feb 16 09:01:59 uniqsite ppp[10067]: IPCP: IPADDR[6] 207.33.94.1 ..... [snip] I asked about the dynamic gateway and Mr. Brian Somers helped me in that (by telling me to put a /32 after the gateway address). I just don't know what happened to my PPP configuration?! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message