Date: Sat, 16 Aug 97 13:02:57 -0400 From: megarcia@lix.intercom.es To: freebsd-questions@FreeBSD.ORG Subject: user mode ppp and local address Message-ID: <199708161235.NAA12421@lix.intercom.es>
next in thread | raw e-mail | index | archive | help
Would someone guess what's wrong in this setup ? It's a 2.2.1 system with the last version of ppp from Brian's site. **** ppp.log starts *************************************** Aug 16 12:12:20 ophrys ppp[599]: Chat: Expecting Aug 16 12:12:20 ophrys ppp[599]: Chat: sending: ATB0E1F1M3Q0V1X6&A3&B1&C1&D2&H1&I0&K1&M4&N0&R2&S1S0=2^M Aug 16 12:12:20 ophrys ppp[599]: Chat: Expecting OK-AT-OK Aug 16 12:12:20 ophrys ppp[599]: Chat: Wait for (5): OK --> OK Aug 16 12:12:21 ophrys ppp[599]: Phase: Phone: 055 Aug 16 12:12:21 ophrys ppp[599]: Chat: sending: ATDT055^M Aug 16 12:12:21 ophrys ppp[599]: Chat: Expecting CONNECT Aug 16 12:12:21 ophrys ppp[599]: Chat: Wait for (40): CONNECT --> CONNECT Aug 16 12:12:41 ophrys ppp[599]: Phase: *Connected! Aug 16 12:12:41 ophrys ppp[599]: LCP: State change Initial --> Closed Aug 16 12:12:41 ophrys ppp[599]: LCP: LcpSendConfigReq Aug 16 12:12:41 ophrys ppp[599]: LCP: ACFCOMP Aug 16 12:12:41 ophrys ppp[599]: LCP: PROTOCOMP Aug 16 12:12:41 ophrys ppp[599]: LCP: ACCMAP [6] 00000000 Aug 16 12:12:41 ophrys ppp[599]: LCP: MRU [4] 1500 Aug 16 12:12:41 ophrys ppp[599]: LCP: MAGICNUM [6] 6b8b4567 Aug 16 12:12:41 ophrys ppp[599]: LCP: State change Closed --> Req-Sent Aug 16 12:12:44 ophrys ppp[599]: LCP: LcpSendConfigReq Aug 16 12:12:44 ophrys ppp[599]: LCP: ACFCOMP Aug 16 12:12:44 ophrys ppp[599]: LCP: PROTOCOMP Aug 16 12:12:44 ophrys ppp[599]: LCP: ACCMAP [6] 00000000 Aug 16 12:12:44 ophrys ppp[599]: LCP: MRU [4] 1500 Aug 16 12:12:44 ophrys ppp[599]: LCP: MAGICNUM [6] 6b8b4567 Aug 16 12:12:44 ophrys ppp[599]: LCP: Received Configure Request (1) state = Req-Sent (6) Aug 16 12:12:44 ophrys ppp[599]: LCP: MRU 1524 Aug 16 12:12:44 ophrys ppp[599]: LCP: ACCMAP 000a0000 Aug 16 12:12:44 ophrys ppp[599]: LCP: AUTHPROTO proto = c023 Aug 16 12:12:44 ophrys ppp[599]: LCP: PROTOCOMP Aug 16 12:12:44 ophrys ppp[599]: LCP: ACFCOMP Aug 16 12:12:44 ophrys ppp[599]: LCP: ???[13] Aug 16 12:12:44 ophrys ppp[599]: LCP: SendConfigRej(Req-Sent) Aug 16 12:12:44 ophrys ppp[599]: LCP: ???[13] Aug 16 12:12:44 ophrys ppp[599]: LCP: Received Configure Ack (2) state = Req-Sent (6) Aug 16 12:12:44 ophrys ppp[599]: LCP: State change Req-Sent --> Ack-Rcvd Aug 16 12:12:45 ophrys ppp[599]: LCP: Received Configure Request (2) state = Ack-Rcvd (7) Aug 16 12:12:45 ophrys ppp[599]: LCP: MRU 1524 Aug 16 12:12:45 ophrys ppp[599]: LCP: ACCMAP 000a0000 Aug 16 12:12:45 ophrys ppp[599]: LCP: AUTHPROTO proto = c023 Aug 16 12:12:45 ophrys ppp[599]: LCP: PROTOCOMP Aug 16 12:12:45 ophrys ppp[599]: LCP: ACFCOMP Aug 16 12:12:45 ophrys ppp[599]: LCP: SendConfigAck(Ack-Rcvd) Aug 16 12:12:45 ophrys ppp[599]: LCP: MRU 1524 Aug 16 12:12:45 ophrys ppp[599]: LCP: ACCMAP 000a0000 Aug 16 12:12:45 ophrys ppp[599]: LCP: AUTHPROTO proto = c023 Aug 16 12:12:45 ophrys ppp[599]: LCP: PROTOCOMP Aug 16 12:12:45 ophrys ppp[599]: LCP: ACFCOMP Aug 16 12:12:45 ophrys ppp[599]: LCP: State change Ack-Rcvd --> Opened Aug 16 12:12:45 ophrys ppp[599]: LCP: LcpLayerUp Aug 16 12:12:45 ophrys ppp[599]: Phase: NewPhase: Authenticate Aug 16 12:12:45 ophrys ppp[599]: Phase: his = c023, mine = 0 Aug 16 12:12:45 ophrys ppp[599]: Phase: PAP: <my_login_name> (<my_password>) Aug 16 12:12:45 ophrys ppp[599]: Phase: PapInput: ACK Aug 16 12:12:45 ophrys ppp[599]: Phase: Received PAP_ACK () Aug 16 12:12:45 ophrys ppp[599]: Phase: NewPhase: Network Aug 16 12:12:45 ophrys ppp[599]: LCP: State change Initial --> Closed Aug 16 12:12:45 ophrys ppp[599]: LCP: IPCP Up event!! Aug 16 12:12:45 ophrys ppp[599]: LCP: IpcpSendConfigReq Aug 16 12:12:45 ophrys ppp[599]: LCP: IPADDR [6] 10.0.0.1 Aug 16 12:12:45 ophrys ppp[599]: LCP: COMPPROTO [6] 002d0f00 Aug 16 12:12:45 ophrys ppp[599]: LCP: State change Closed --> Req-Sent Aug 16 12:12:45 ophrys ppp[599]: LCP: State change Initial --> Closed Aug 16 12:12:45 ophrys ppp[599]: LCP: CCP Up event!! Aug 16 12:12:45 ophrys ppp[599]: LCP: Received Configure Request (1) state = Closed (2) Aug 16 12:12:45 ophrys ppp[599]: LCP: CcpSendTerminateAck Aug 16 12:12:45 ophrys ppp[599]: LCP: Received Configure Request (1) state = Req-Sent (6) Aug 16 12:12:45 ophrys ppp[599]: LCP: IPADDR[6] 172.16.1.22 Aug 16 12:12:45 ophrys ppp[599]: LCP: SendConfigAck(Req-Sent) Aug 16 12:12:45 ophrys ppp[599]: LCP: IPADDR[6] 172.16.1.22 Aug 16 12:12:45 ophrys ppp[599]: LCP: State change Req-Sent --> Ack-Sent Aug 16 12:12:45 ophrys ppp[599]: LCP: Received Configure Reject (1) state = Ack-Sent (8) Aug 16 12:12:45 ophrys ppp[599]: LCP: RecvConfigRej. Aug 16 12:12:45 ophrys ppp[599]: LCP: COMPPROTO[6] 002d0f00 Aug 16 12:12:45 ophrys ppp[599]: LCP: IpcpSendConfigReq Aug 16 12:12:45 ophrys ppp[599]: LCP: IPADDR [6] 10.0.0.1 Aug 16 12:12:47 ophrys ppp[599]: Phase: Disconnected! Aug 16 12:12:47 ophrys ppp[599]: Phase: Connect time: 6 secs Aug 16 12:12:47 ophrys ppp[599]: Phase: NewPhase: Dead Aug 16 12:12:47 ophrys ppp[599]: LCP: LcpLayerDown Aug 16 12:12:47 ophrys ppp[599]: Phase: NewPhase: Terminate Aug 16 12:12:47 ophrys ppp[599]: LCP: State change Opened --> Starting Aug 16 12:12:48 ophrys ppp[599]: LCP: IpcpSendConfigReq Aug 16 12:12:48 ophrys ppp[599]: LCP: IPADDR [6] 10.0.0.1 Aug 16 12:12:51 ophrys ppp[599]: LCP: IpcpSendConfigReq Aug 16 12:12:51 ophrys ppp[599]: LCP: IPADDR [6] 10.0.0.1 Aug 16 12:12:54 ophrys ppp[599]: LCP: IpcpSendConfigReq Aug 16 12:12:54 ophrys ppp[599]: LCP: IPADDR [6] 10.0.0.1 Aug 16 12:12:57 ophrys ppp[599]: LCP: IpcpSendConfigReq Aug 16 12:12:57 ophrys ppp[599]: LCP: IPADDR [6] 10.0.0.1 Aug 16 12:13:00 ophrys ppp[599]: LCP: State change Ack-Sent --> Stopped Aug 16 12:13:00 ophrys ppp[599]: LCP: IpcpLayerFinish. Aug 16 12:13:00 ophrys ppp[599]: LCP: State change Starting --> Initial Aug 16 12:13:00 ophrys ppp[599]: Phase: NewPhase: Terminate Aug 16 12:19:44 ophrys ppp[599]: Phase: PPP Terminated (normal). ********* ppp.log ends ************************************ ********* ppp.conf starts ********************************* default: set log +phase +chat +link +lcp set speed 115200 set device /dev/cuaa1 disable pred1 deny pred1 disable lqr deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATB0E1F1M3Q0V1X6&A3&B1&C1&D2&H1&I0&K1&M4&N0&R2&S1S0=2 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" intercom: set phone 055 deny chap disable chap accept pap # enable pap set authname <my_login_name> set authkey <my_password> set timeout 120 set ifaddr 10.0.0.1/0 10.0.0.2/0 delete ALL add 0 0 10.0.0.2 set openmode active ******* ppp.conf ends ************************************* The modem init string is the default one OS/2's dialer uses and it works fine. ******* ppp.linkup starts ********************************* MYADDR: add 0 0 HISADDR ******* ppp.linkup ends *********************************** ******* /etc/hosts starts ********************************* 127.0.0.1 localhost 10.0.0.1 ophrys.intercom.es ophrys ******* /etc/hosts ends *********************************** /etc/host.conf and /etc/resolv.conf contain what the online handbook says they have to, and the options in /etc/sysconfig are set as well. So I start ppp, dial intercom, goes into packet mode and then the modem hangs. Any clue ? Thanks in advance. Manuel Garcia -- ----------------------------------------------------------- megarcia@lix.intercom.es -----------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708161235.NAA12421>