Date: Sat, 18 Jul 1998 11:10:49 +1000 (EST) From: Carey Nairn <cpn@dpac.tas.gov.au> To: brian@awfulhak.org Cc: questions@FreeBSD.ORG Subject: PPP config Message-ID: <Pine.BSF.3.96.980718103857.256A-100000@whitestar.cpn.org.au>
next in thread | raw e-mail | index | archive | help
Hi Brian, I have a question regarding a problem I am having with ppp. The version I am using is PPP Version 2.0 - $Date: 1998/07/12 00:30:18 $ The problem is as follows: I connect to my ISP with a standard login/password chat script and get through the authentication OK but never get through the IPCP address negotiation. Logfile output follows: Jul 18 08:51:21 whitestar ppp[3747]: Phase: Using interface: tun0 Jul 18 08:51:21 whitestar ppp[3747]: Phase: PPP Started. Jul 18 08:51:29 whitestar ppp[3747]: Phase: Connected! Jul 18 08:51:29 whitestar ppp[3747]: Chat: Expecting: Jul 18 08:51:29 whitestar ppp[3747]: Chat: Sending: ATZ^M Jul 18 08:51:29 whitestar ppp[3747]: Chat: Expecting: OK-ATZ-OK Jul 18 08:51:29 whitestar ppp[3747]: Chat: Wait for (30): OK Jul 18 08:51:30 whitestar ppp[3747]: Connect: ATZ^M^M Jul 18 08:51:30 whitestar ppp[3747]: Connect: OK Jul 18 08:51:30 whitestar ppp[3747]: Chat: Sending: ATM0^M Jul 18 08:51:30 whitestar ppp[3747]: Chat: Expecting: OK-ATM0-OK Jul 18 08:51:30 whitestar ppp[3747]: Chat: Wait for (30): OK Jul 18 08:51:30 whitestar ppp[3747]: Connect: ^M Jul 18 08:51:30 whitestar ppp[3747]: Connect: ATM0^M^M Jul 18 08:51:30 whitestar ppp[3747]: Connect: OK Jul 18 08:51:32 whitestar ppp[3747]: Phase: Phone: 62263000 Jul 18 08:51:32 whitestar ppp[3747]: Chat: Sending: ATDT62263000^M Jul 18 08:51:32 whitestar ppp[3747]: Chat: Expecting: CONNECT Jul 18 08:51:32 whitestar ppp[3747]: Chat: Wait for (40): CONNECT Jul 18 08:51:32 whitestar ppp[3747]: Connect: ^M Jul 18 08:51:42 whitestar ppp[3747]: Connect: ATDT62263000^M^M Jul 18 08:51:42 whitestar ppp[3747]: Connect: RINGING^M Jul 18 08:51:57 whitestar ppp[3747]: Connect: ^M Jul 18 08:51:57 whitestar ppp[3747]: Connect: CONNECT Jul 18 08:51:57 whitestar ppp[3747]: Chat: Expecting: name:-\r-name: Jul 18 08:51:57 whitestar ppp[3747]: Chat: Wait for (15): name: Jul 18 08:51:57 whitestar ppp[3747]: Connect: 28800^M Jul 18 08:51:58 whitestar ppp[3747]: Connect: ^M Jul 18 08:51:58 whitestar ppp[3747]: Connect: ^M Jul 18 08:51:58 whitestar ppp[3747]: Connect: User Access Verification^M Jul 18 08:51:58 whitestar ppp[3747]: Connect: ^M Jul 18 08:51:58 whitestar ppp[3747]: Connect: Username: Jul 18 08:51:58 whitestar ppp[3747]: Chat: Sending: calvinip^M Jul 18 08:51:58 whitestar ppp[3747]: Chat: Expecting: word: Jul 18 08:51:58 whitestar ppp[3747]: Chat: Wait for (15): word: Jul 18 08:51:58 whitestar ppp[3747]: Connect: calvinip^M Jul 18 08:51:58 whitestar ppp[3747]: Connect: Password: Jul 18 08:51:58 whitestar ppp[3747]: Chat: Sending: calv39^M Jul 18 08:52:06 whitestar ppp[3747]: Phase: NewPhase: Authenticate Jul 18 08:52:06 whitestar ppp[3747]: Phase: NewPhase: Network Jul 18 08:52:06 whitestar ppp[3747]: IPCP: State change Initial --> Closed Jul 18 08:52:06 whitestar ppp[3747]: IPCP: IPCP Up event!! Jul 18 08:52:06 whitestar ppp[3747]: IPCP: IpcpSendConfigReq Jul 18 08:52:06 whitestar ppp[3747]: IPCP: IPADDR[6] 172.16.1.4 Jul 18 08:52:06 whitestar ppp[3747]: IPCP: COMPPROTO[6] 16 VJ slots with slot compres Jul 18 08:52:06 whitestar ppp[3747]: IPCP: State change Closed --> Req-Sent Jul 18 08:52:06 whitestar ppp[3747]: CCP: State change Initial --> Closed Jul 18 08:52:06 whitestar ppp[3747]: CCP: CCP Up event!! Jul 18 08:52:06 whitestar ppp[3747]: CCP: CcpSendConfigReq Jul 18 08:52:06 whitestar ppp[3747]: CCP: DEFLATE[4] win 15 Jul 18 08:52:06 whitestar ppp[3747]: CCP: PRED1[2] Jul 18 08:52:06 whitestar ppp[3747]: CCP: State change Closed --> Req-Sent Jul 18 08:52:07 whitestar ppp[3747]: IPCP: Received Configure Request (33) state = Req-Sent (6) Jul 18 08:52:07 whitestar ppp[3747]: IPCP: COMPPROTO[6] 16 VJ slots without slot compression Jul 18 08:52:07 whitestar ppp[3747]: IPCP: IPADDR[6] 0.0.0.0 Jul 18 08:52:07 whitestar ppp[3747]: IPCP: SendConfigNak(Req-Sent) Jul 18 08:52:07 whitestar ppp[3747]: IPCP: IPADDR[6] 0.0.0.0 Jul 18 08:52:09 whitestar ppp[3747]: IPCP: IpcpSendConfigReq Jul 18 08:52:09 whitestar ppp[3747]: IPCP: IPADDR[6] 172.16.1.4 Jul 18 08:52:09 whitestar ppp[3747]: IPCP: COMPPROTO[6] 16 VJ slots with slot compres Jul 18 08:52:09 whitestar ppp[3747]: CCP: CcpSendConfigReq Jul 18 08:52:09 whitestar ppp[3747]: CCP: DEFLATE[4] win 15 Jul 18 08:52:09 whitestar ppp[3747]: CCP: PRED1[2] Jul 18 08:52:09 whitestar ppp[3747]: IPCP: Received Configure Nak (1) state = Req-Sent (6) Jul 18 08:52:09 whitestar ppp[3747]: IPCP: IPADDR[6] 147.109.248.111 Jul 18 08:52:09 whitestar ppp[3747]: IPCP: IPADDR[6] changing address: 172.16.1.4 --> 147.109.248.111 Jul 18 08:52:09 whitestar ppp[3747]: IPCP: IpcpSendConfigReq Jul 18 08:52:09 whitestar ppp[3747]: IPCP: IPADDR[6] 147.109.248.111 Jul 18 08:52:09 whitestar ppp[3747]: IPCP: COMPPROTO[6] 16 VJ slots with slot compres Jul 18 08:52:09 whitestar ppp[3747]: CCP: CcpLayerFinish. Jul 18 08:52:09 whitestar ppp[3747]: CCP: State change Req-Sent --> Stopped Jul 18 08:52:09 whitestar ppp[3747]: IPCP: Received Configure Request (34) state = Req-Sent (6) Jul 18 08:52:09 whitestar ppp[3747]: IPCP: COMPPROTO[6] 16 VJ slots without slot compression Jul 18 08:52:09 whitestar ppp[3747]: IPCP: IPADDR[6] 0.0.0.0 Jul 18 08:52:09 whitestar ppp[3747]: IPCP: SendConfigNak(Req-Sent) Jul 18 08:52:09 whitestar ppp[3747]: IPCP: IPADDR[6] 0.0.0.0 Jul 18 08:52:09 whitestar ppp[3747]: IPCP: Received Configure Nak (2) state = Req-Sent (6) Jul 18 08:52:09 whitestar ppp[3747]: IPCP: IPADDR[6] 147.109.248.111 Jul 18 08:52:09 whitestar ppp[3747]: IPCP: IPADDR[6] changing address: 147.109.248.111 --> 147.109.248.111 Jul 18 08:52:09 whitestar ppp[3747]: IPCP: IpcpSendConfigReq Jul 18 08:52:09 whitestar ppp[3747]: IPCP: IPADDR[6] 147.109.248.111 Jul 18 08:52:09 whitestar ppp[3747]: IPCP: COMPPROTO[6] 16 VJ slots with slot compres Jul 18 08:52:09 whitestar ppp[3747]: CCP: CcpLayerFinish. Jul 18 08:52:09 whitestar ppp[3747]: CCP: State change Stopped --> Stopped Jul 18 08:52:09 whitestar ppp[3747]: IPCP: Received Configure Ack (3) state = Req-Sent (6) Jul 18 08:52:09 whitestar ppp[3747]: IPCP: State change Req-Sent --> Ack-Rcvd Jul 18 08:52:09 whitestar ppp[3747]: IPCP: Received Configure Request (35) state = Ack-Rcvd (7) Jul 18 08:52:09 whitestar ppp[3747]: IPCP: COMPPROTO[6] 16 VJ slots without slot compression ...... the negotiation continues to loop like this forever. Relevant configs are as follows: # # Default setup. Executed always when PPP is invoked. # default: set device /dev/cuaa1 set speed 38400 set log Phase Chat Connect IPCP CCP set server /var/ppp/internet "" 0177 disable lqr deny lqr alias enable yes allow users cpn set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 30 \"\" ATZ OK-ATZ-OK ATM0 OK-ATM0-OK \\dATDT\\T TIMEOUT 40 CONNECT" dpac: set phone 12345678 set timeout 0 deny pap disable pap accept chap allow users cpn set authname cpn set authkey ******** set openmode active set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 ntp: set phone 12345678 set login "TIMEOUT 15 name:-\\r-name: ******** word: ******* set timeout 0 allow users cpn set openmode active set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 The ntp label is the relevant one. I have included the dpac one as well as this one works (although this one uses chap and is to a different provider) The ppp.linkup is as below: MYADDR: delete ALL add 0 0 HISADDR !bg /usr/sbin/sendmail -q ntp: delete ALL add 0 0 HISADDR dpac: delete ALL add 0 0 HISADDR !bg /home/cpn/bin/dpac.startup Any ideas? I also have the same problems with PPP Version 1.65 - $Date: 1998/01/21 02:15:31 $ FreeBSD version is 2.2.6-RELEASE Also, if I can get this going, how stable is the multilink ppp stuff in this version. Thanks, Carey Nairn 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?Pine.BSF.3.96.980718103857.256A-100000>