From owner-freebsd-questions Tue Mar 24 06:06:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA01311 for freebsd-questions-outgoing; Tue, 24 Mar 1998 06:06:36 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from DNS.Lamb.net (root@DNS.Lamb.net [207.90.181.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA01306 for ; Tue, 24 Mar 1998 06:06:34 -0800 (PST) (envelope-from ulf@Gatekeeper.Alameda.net) Received: (from uucp@localhost) by DNS.Lamb.net (8.8.6/8.8.6) id GAA23658 for ; Tue, 24 Mar 1998 06:06:38 -0800 (PST) Received: from gatekeeper.Alameda.net(207.90.181.2) via SMTP by DNS.Lamb.net, id smtpd023656; Tue Mar 24 06:06:29 1998 Received: (from ulf@localhost) by Gatekeeper.Alameda.net (8.8.6/8.7.6) id GAA24611 for questions@freebsd.org; Tue, 24 Mar 1998 06:06:25 -0800 (PST) From: Ulf Zimmermann Message-Id: <199803241406.GAA24611@Gatekeeper.Alameda.net> Subject: I give up, how do I use ppp with -auto, chap and dynamic addresses ? To: questions@FreeBSD.ORG Date: Tue, 24 Mar 1998 06:06:25 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Trying to dial into AT&T Worldnet, chat itself it login in, then currently either the chap or the IP assignment fails. /etc/ppp/ppp.conf looks like this: default: set device /dev/cuaa1 set speed 115200 set log Phase Chat Connect Carrier hdlc LCP IPCP CCP tun deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" worldnet: set phone 18085368495 accept chap deny pap set authname set authkey set login "TIMEOUT 5 Please Sign-on:-\\r-ign-on:" set timeout 120 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 delete ALL add 0 0 HISADDR Here is a syslog cut+paste: Mar 24 07:07:53 system3 ppp[277]: tun0: Phase: Using interface: tun0 Mar 24 07:07:53 system3 ppp[277]: tun0: Phase: PPP Started. Mar 24 07:07:55 system3 ppp[277]: tun0: Chat: Expecting Mar 24 07:07:55 system3 ppp[277]: tun0: Chat: sending: ATE1Q0^M Mar 24 07:07:55 system3 ppp[277]: tun0: Chat: Expecting OK-AT-OK Mar 24 07:07:55 system3 ppp[277]: tun0: Chat: Wait for (5): OK --> OK Mar 24 07:07:55 system3 ppp[277]: tun0: Connect: ATE1Q0^M^M Mar 24 07:07:55 system3 ppp[277]: tun0: Connect: OK Mar 24 07:07:55 system3 ppp[277]: tun0: Phase: Phone: 18085368495 Mar 24 07:07:55 system3 ppp[277]: tun0: Chat: sending: ATDT18085368495^M Mar 24 07:07:55 system3 ppp[277]: tun0: Chat: Expecting CONNECT Mar 24 07:07:55 system3 ppp[277]: tun0: Chat: Wait for (40): CONNECT --> CONNECT Mar 24 07:07:55 system3 ppp[277]: tun0: Connect: ^M Mar 24 07:08:21 system3 ppp[277]: tun0: Connect: ATDT18085368495^M^M Mar 24 07:08:21 system3 ppp[277]: tun0: Connect: CONNECT Mar 24 07:08:21 system3 ppp[277]: tun0: Chat: Expecting Please Mar 24 07:08:21 system3 ppp[277]: tun0: Chat: Wait for (5): Please --> Please Mar 24 07:08:21 system3 ppp[277]: tun0: Connect: 115200^M Mar 24 07:08:23 system3 ppp[277]: tun0: Connect: ^M Mar 24 07:08:23 system3 ppp[277]: tun0: Connect: STATION ID - hnlhi02ms09am002,s nfca05ev^M Mar 24 07:08:23 system3 ppp[277]: tun0: Connect: ^M Mar 24 07:08:23 system3 ppp[277]: tun0: Connect: Welcome ^M Mar 24 07:08:23 system3 ppp[277]: tun0: Connect: Please Mar 24 07:08:23 system3 ppp[277]: tun0: Chat: sending: Sign-on:-^M-ign-on:^M Mar 24 07:08:23 system3 ppp[277]: tun0: Phase: *Connected! Mar 24 07:08:23 system3 ppp[277]: tun0: IPCP: Using trigger address 255.255.255. 0 Mar 24 07:08:23 system3 ppp[277]: tun0: LCP: State change Initial --> Closed Mar 24 07:08:23 system3 ppp[277]: tun0: LCP: LcpSendConfigReq Mar 24 07:08:23 system3 ppp[277]: tun0: LCP: ACFCOMP Mar 24 07:08:23 system3 ppp[277]: tun0: LCP: PROTOCOMP Mar 24 07:08:23 system3 ppp[277]: tun0: LCP: ACCMAP [6] 00000000 Mar 24 07:08:23 system3 ppp[277]: tun0: LCP: MRU [4] 1500 Mar 24 07:08:23 system3 ppp[277]: tun0: LCP: MAGICNUM [6] ea63add3 Mar 24 07:08:23 system3 ppp[277]: tun0: HDLC: HdlcOutput Mar 24 07:08:23 system3 ppp[277]: tun0: HDLC: ff 03 c0 21 Mar 24 07:08:23 system3 ppp[277]: tun0: LCP: State change Closed --> Req-Sent Mar 24 07:08:26 system3 ppp[277]: tun0: LCP: LcpSendConfigReq Mar 24 07:08:26 system3 ppp[277]: tun0: LCP: ACFCOMP Mar 24 07:08:26 system3 ppp[277]: tun0: LCP: PROTOCOMP Mar 24 07:08:26 system3 ppp[277]: tun0: LCP: ACCMAP [6] 00000000 Mar 24 07:08:26 system3 ppp[277]: tun0: LCP: MRU [4] 1500 Mar 24 07:08:26 system3 ppp[277]: tun0: LCP: MAGICNUM [6] ea63add3 Mar 24 07:08:26 system3 ppp[277]: tun0: HDLC: HdlcOutput Mar 24 07:08:26 system3 ppp[277]: tun0: HDLC: ff 03 c0 21 Mar 24 07:08:29 system3 ppp[277]: tun0: LCP: LcpSendConfigReq Mar 24 07:08:29 system3 ppp[277]: tun0: LCP: ACFCOMP Mar 24 07:08:29 system3 ppp[277]: tun0: LCP: PROTOCOMP Mar 24 07:08:29 system3 ppp[277]: tun0: LCP: ACCMAP [6] 00000000 Mar 24 07:08:29 system3 ppp[277]: tun0: LCP: MRU [4] 1500 Mar 24 07:08:29 system3 ppp[277]: tun0: LCP: MAGICNUM [6] ea63add3 Mar 24 07:08:29 system3 ppp[277]: tun0: HDLC: HdlcOutput Mar 24 07:08:29 system3 ppp[277]: tun0: HDLC: ff 03 c0 21 Mar 24 07:08:32 system3 ppp[277]: tun0: LCP: LcpSendConfigReq Mar 24 07:08:32 system3 ppp[277]: tun0: LCP: ACFCOMP Mar 24 07:08:32 system3 ppp[277]: tun0: LCP: PROTOCOMP Mar 24 07:08:32 system3 ppp[277]: tun0: LCP: ACCMAP [6] 00000000 Mar 24 07:08:32 system3 ppp[277]: tun0: LCP: MRU [4] 1500 Mar 24 07:08:32 system3 ppp[277]: tun0: LCP: MAGICNUM [6] ea63add3 Mar 24 07:08:32 system3 ppp[277]: tun0: HDLC: HdlcOutput Mar 24 07:08:32 system3 ppp[277]: tun0: HDLC: ff 03 c0 21 Mar 24 07:08:35 system3 ppp[277]: tun0: LCP: LcpSendConfigReq Mar 24 07:08:35 system3 ppp[277]: tun0: LCP: ACFCOMP Mar 24 07:08:35 system3 ppp[277]: tun0: LCP: PROTOCOMP Mar 24 07:08:35 system3 ppp[277]: tun0: LCP: ACCMAP [6] 00000000 Mar 24 07:08:35 system3 ppp[277]: tun0: LCP: MRU [4] 1500 Mar 24 07:08:35 system3 ppp[277]: tun0: LCP: MAGICNUM [6] ea63add3 Mar 24 07:08:35 system3 ppp[277]: tun0: HDLC: HdlcOutput Mar 24 07:08:35 system3 ppp[277]: tun0: HDLC: ff 03 c0 21 Mar 24 07:08:38 system3 ppp[277]: tun0: LCP: State change Req-Sent --> Stopped Mar 24 07:08:38 system3 ppp[277]: tun0: LCP: LcpLayerFinish Mar 24 07:08:39 system3 ppp[277]: tun0: Phase: NewPhase: Dead Mar 24 07:08:39 system3 ppp[277]: tun0: Phase: NewPhase: Terminate Mar 24 07:08:39 system3 ppp[277]: tun0: IPCP: Using trigger address 255.255.255. 0 Mar 24 07:08:39 system3 ppp[277]: tun0: Phase: Disconnected! Mar 24 07:08:39 system3 ppp[277]: tun0: Phase: Connect time: 16 secs Mar 24 07:08:39 system3 ppp[277]: tun0: Phase: NewPhase: Dead Mar 24 07:08:44 system3 ppp[277]: tun0: Phase: PPP Terminated (normal). Any suggestions ? Tips ? A tired, Ulf. (damn, I am doing too much with Ciscos) --------------------------------------------------------------------- Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-769-2936 Alameda Networks, Inc. | http://www.Alameda.net | Fax#: 510-521-5073 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message