Date: Wed, 14 Feb 2001 23:52:02 GMT From: Salvo Bartolotta <bartequi@inwind.it> To: "3phase" <phase3@worldnet.att.net> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: (longish) CHAP will not work Message-ID: <20010214.23520200@bartequi.ottodomain.org> References: <001101c0968e$42f74e40$d9a1480c@sisyphus2>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 2/14/01, 2:57:39 PM, "3phase" <phase3@worldnet.att.net> wrote regarding CHAP will not work: > HELP! PLEASE! > My eyes are about to fall out of my head I've R so many FMs. > CHAP negotiation does not work. PPP makes four or five attempts to > athenticate and then drops the connection after receiving no response.= > The modem lights are flashing so I know my ISP is responding. > I can not log on without CHAP. > Even using a regular terminal program my ISP automatically starts > negotiating CHAP the instant I enter my login name. <snip> > FreeBSD 4.0-RELEASE #0: Sat Feb 10 17:38:04 PST 2001 > <root@3phase.bogus.domain.org:/usr/src/sys/compile/3phase> <snip> Dear "3phase", I am running 4.2-S (sources as of February 7, 2001) and right now I am surfing the 'Net after authenticating via the CHAP mechanism. My /etc/ppp.conf looks like: <blockquote> default: ident user-ppp VERSION (built COMPILATIONDATE) set device /dev/cuaa1 set log Phase Chat Connect LCP IPCP CCP tun command set speed 115200 <snip> wind: allow users my_user_1 my_user_2 [...] set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 10 \"\" AT OK-AT-OK ATM0 OK AT+MS=3D56,1,300,44000,1,0 OK \\dATDT\\T TIMEOUT 600 CONNECT" set timeout 1200 deny lqr set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR set phone my_ISP_phone set authname my_authname set authkey my_auth_key </blockquote> From my ppp.log: <blockquote> Feb 14 22:06:50 bartequi ppp[61958]: Phase: Using interface: tun0 Feb 14 22:06:50 bartequi ppp[61958]: Phase: deflink: Created in closed state Feb 14 22:06:50 bartequi ppp[61958]: tun0: Command: default: set speed 115200 Feb 14 22:06:50 bartequi ppp[61958]: tun0: Command: wind: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 10 "" AT OK-AT-OK ATM0 OK AT+MS=3D56,1,300,44000,1,0 OK \dATDT\T TIMEOUT 600 CONNECT Feb 14 22:06:50 bartequi ppp[61958]: tun0: Command: wind: set timeout 1200 Feb 14 22:06:50 bartequi ppp[61958]: tun0: Command: wind: deny lqr Feb 14 22:06:50 bartequi ppp[61958]: tun0: Command: wind: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 Feb 14 22:06:50 bartequi ppp[61958]: tun0: Command: wind: add default HISADDR Feb 14 22:06:50 bartequi ppp[61958]: tun0: Command: wind: set phone my_ISP_phone Feb 14 22:06:50 bartequi ppp[61958]: tun0: Command: wind: set authname my_authname Feb 14 22:06:50 bartequi ppp[61958]: tun0: Command: wind: set authkey my_authkey Feb 14 22:06:50 bartequi ppp[61959]: tun0: Phase: PPP Started (ddial mode). Feb 14 22:06:50 bartequi ppp[61959]: tun0: Phase: bundle: Establish Feb 14 22:06:50 bartequi ppp[61959]: tun0: Phase: deflink: closed -> opening Feb 14 22:06:50 bartequi ppp[61959]: tun0: Phase: deflink: Connected! Feb 14 22:06:50 bartequi ppp[61959]: tun0: Phase: deflink: opening -> dial Feb 14 22:06:50 bartequi ppp[61959]: tun0: Chat: Phone: my_ISP_phone Feb 14 22:06:50 bartequi ppp[61959]: tun0: Chat: Send: AT^M Feb 14 22:06:50 bartequi ppp[61959]: tun0: Chat: Expect(10): OK Feb 14 22:06:50 bartequi ppp[61959]: tun0: Chat: Received: AT^M^M Feb 14 22:06:50 bartequi ppp[61959]: tun0: Chat: Received: OK^M Feb 14 22:06:50 bartequi ppp[61959]: tun0: Chat: Send: ATM0^M Feb 14 22:06:50 bartequi ppp[61959]: tun0: Chat: Expect(10): OK Feb 14 22:06:50 bartequi ppp[61959]: tun0: Chat: Received: ATM0^M^M Feb 14 22:06:50 bartequi ppp[61959]: tun0: Chat: Received: OK^M Feb 14 22:06:50 bartequi ppp[61959]: tun0: Chat: Send: AT+MS=3D56,1,300,44000,1,0^M Feb 14 22:06:50 bartequi ppp[61959]: tun0: Chat: Expect(10): OK Feb 14 22:06:50 bartequi ppp[61959]: tun0: Chat: Received: AT+MS=3D56,1,300,44000,1,0^M^M Feb 14 22:06:50 bartequi ppp[61959]: tun0: Chat: Received: OK^M Feb 14 22:06:50 bartequi ppp[61959]: tun0: Chat: Send: ATDTmy_ISP_phone^M Feb 14 22:06:52 bartequi ppp[61959]: tun0: Chat: Expect(600): CONNECT Feb 14 22:07:19 bartequi ppp[61959]: tun0: Chat: Received: ATDTmy_ISP_phone^M^M Feb 14 22:07:19 bartequi ppp[61959]: tun0: Chat: Received: CONNECT Feb 14 22:07:19 bartequi ppp[61959]: tun0: Phase: deflink: dial -> carrier Feb 14 22:07:20 bartequi ppp[61959]: tun0: Phase: deflink: /dev/cuaa1: CD detected Feb 14 22:07:20 bartequi ppp[61959]: tun0: Phase: deflink: carrier -> login Feb 14 22:07:20 bartequi ppp[61959]: tun0: Phase: deflink: login -> lcp Feb 14 22:07:20 bartequi ppp[61959]: tun0: LCP: FSM: Using "deflink" as a transport Feb 14 22:07:20 bartequi ppp[61959]: tun0: LCP: deflink: State change Initial --> Closed Feb 14 22:07:20 bartequi ppp[61959]: tun0: LCP: deflink: State change Closed --> Stopped Feb 14 22:07:21 bartequi ppp[61959]: tun0: LCP: deflink: LayerStart Feb 14 22:07:21 bartequi ppp[61959]: tun0: LCP: deflink: SendConfigReq(1) state =3D Stopped Feb 14 22:07:21 bartequi ppp[61959]: tun0: LCP: ACFCOMP[2] Feb 14 22:07:21 bartequi ppp[61959]: tun0: LCP: PROTOCOMP[2] Feb 14 22:07:21 bartequi ppp[61959]: tun0: LCP: ACCMAP[6] 0x00000000 Feb 14 22:07:21 bartequi ppp[61959]: tun0: LCP: MRU[4] 1500 Feb 14 22:07:21 bartequi ppp[61959]: tun0: LCP: MAGICNUM[6] 0x042e26b7 Feb 14 22:07:21 bartequi ppp[61959]: tun0: LCP: deflink: State change Stopped --> Req-Sent Feb 14 22:07:23 bartequi ppp[61959]: tun0: LCP: deflink: RecvConfigReq(64) state =3D Req-Sent Feb 14 22:07:23 bartequi ppp[61959]: tun0: LCP: ACCMAP[6] 0x000a0000 Feb 14 22:07:23 bartequi ppp[61959]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05) Feb 14 22:07:23 bartequi ppp[61959]: tun0: LCP: MAGICNUM[6] 0x41406c13 Feb 14 22:07:23 bartequi ppp[61959]: tun0: LCP: PROTOCOMP[2] Feb 14 22:07:23 bartequi ppp[61959]: tun0: LCP: ACFCOMP[2] Feb 14 22:07:23 bartequi ppp[61959]: tun0: LCP: deflink: SendConfigAck(64) state =3D Req-Sent Feb 14 22:07:23 bartequi ppp[61959]: tun0: LCP: ACCMAP[6] 0x000a0000 Feb 14 22:07:23 bartequi ppp[61959]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05) Feb 14 22:07:23 bartequi ppp[61959]: tun0: LCP: MAGICNUM[6] 0x41406c13 Feb 14 22:07:23 bartequi ppp[61959]: tun0: LCP: PROTOCOMP[2] Feb 14 22:07:23 bartequi ppp[61959]: tun0: LCP: ACFCOMP[2] Feb 14 22:07:23 bartequi ppp[61959]: tun0: LCP: deflink: State change Req-Sent --> Ack-Sent Feb 14 22:07:23 bartequi ppp[61959]: tun0: Phase: Unexpected chap input - dropped ! Feb 14 22:07:24 bartequi ppp[61959]: tun0: LCP: deflink: SendConfigReq(1) state =3D Ack-Sent Feb 14 22:07:24 bartequi ppp[61959]: tun0: LCP: ACFCOMP[2] Feb 14 22:07:24 bartequi ppp[61959]: tun0: LCP: PROTOCOMP[2] Feb 14 22:07:24 bartequi ppp[61959]: tun0: LCP: ACCMAP[6] 0x00000000 Feb 14 22:07:24 bartequi ppp[61959]: tun0: LCP: MRU[4] 1500 Feb 14 22:07:24 bartequi ppp[61959]: tun0: LCP: MAGICNUM[6] 0x042e26b7 Feb 14 22:07:24 bartequi ppp[61959]: tun0: LCP: deflink: RecvConfigReq(65) state =3D Ack-Sent Feb 14 22:07:24 bartequi ppp[61959]: tun0: LCP: ACCMAP[6] 0x000a0000 Feb 14 22:07:24 bartequi ppp[61959]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05) Feb 14 22:07:24 bartequi ppp[61959]: tun0: LCP: MAGICNUM[6] 0x41407805 Feb 14 22:07:24 bartequi ppp[61959]: tun0: LCP: PROTOCOMP[2] Feb 14 22:07:24 bartequi ppp[61959]: tun0: LCP: ACFCOMP[2] Feb 14 22:07:24 bartequi ppp[61959]: tun0: LCP: deflink: SendConfigAck(65) state =3D Ack-Sent Feb 14 22:07:24 bartequi ppp[61959]: tun0: LCP: ACCMAP[6] 0x000a0000 Feb 14 22:07:24 bartequi ppp[61959]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05) Feb 14 22:07:24 bartequi ppp[61959]: tun0: LCP: MAGICNUM[6] 0x41407805 Feb 14 22:07:24 bartequi ppp[61959]: tun0: LCP: PROTOCOMP[2] Feb 14 22:07:24 bartequi ppp[61959]: tun0: LCP: ACFCOMP[2] Feb 14 22:07:24 bartequi ppp[61959]: tun0: LCP: deflink: RecvConfigAck(1) state =3D Ack-Sent Feb 14 22:07:24 bartequi ppp[61959]: tun0: LCP: deflink: State change Ack-Sent --> Opened Feb 14 22:07:24 bartequi ppp[61959]: tun0: LCP: deflink: LayerUp Feb 14 22:07:24 bartequi ppp[61959]: tun0: LCP: Sending ident magic 042e26b7 text user-ppp 2.3 (built Feb 7 2001) Feb 14 22:07:24 bartequi ppp[61959]: tun0: LCP: deflink: SendIdent(0) state =3D Opened Feb 14 22:07:24 bartequi ppp[61959]: tun0: Phase: bundle: Authenticate Feb 14 22:07:24 bartequi ppp[61959]: tun0: Phase: deflink: his =3D CHAP 0x05, mine =3D none Feb 14 22:07:24 bartequi ppp[61959]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from c-pa61) Feb 14 22:07:24 bartequi ppp[61959]: tun0: Phase: Chap Output: RESPONSE (bartequi) Feb 14 22:07:24 bartequi ppp[61959]: tun0: Phase: Chap Input: SUCCESS </blockquote> HTH, Salvo 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?20010214.23520200>