Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 1998 11:37:15 -0800 (PST)
From:      Ulf Zimmermann <ulf@Alameda.net>
To:        parrothd@midwest.net (Jonathan E. Lyons)
Cc:        ulf@Alameda.net, questions@FreeBSD.ORG
Subject:   Re: I give up, how do I use ppp with -auto, chap and dynamic  addresses ?
Message-ID:  <199803241937.LAA04670@Gatekeeper.Alameda.net>
In-Reply-To: <3.0.5.32.19980324105118.00837d60@midwest.net> from "Jonathan E. Lyons" at "Mar 24, 98 10:51:18 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> I'm not totally sure about this, but are you sure that you need to logon
> twice? Try commenting out the accpet chap, also try adding "set openmode
> active"? Here's what mine looks like for a chap login..
> global:

Unfortunatly yes.  As you see in the set login part, it waits for
"Sign-on" and then no password is asked. After this ppp is started
and chap comes over the line.

> 
>  accept chap
>  deny pap
>  set phone 1231234
>  set authname name
>  set authkey password
>  set openmode active
>  set ifaddr 209.6.64.1/0 209.6.64.59/0 255.255.255.0
>  add 0 0 209.6.64.59
>  alias port udp 10.10.0.10:20 20
>  alias port tcp 10.10.0.10:20 20
>  alias port udp 10.10.0.10:21 21
>  alias port tcp 10.10.0.10:21 21
> 
> 
> 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
> 
> 
> 
> 
> At 06:06 AM 3/24/98 -0800, Ulf Zimmermann wrote:
> >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
> >
> >
> 

Ulf.

---------------------------------------------------------------------
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?199803241937.LAA04670>