Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 1998 06:06:25 -0800 (PST)
From:      Ulf Zimmermann <ulf@Alameda.net>
To:        questions@FreeBSD.ORG
Subject:   I give up, how do I use ppp with -auto, chap and dynamic addresses ?
Message-ID:  <199803241406.GAA24611@Gatekeeper.Alameda.net>

next in thread | raw e-mail | index | archive | help
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 <username>
 set authkey <password>
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803241406.GAA24611>