Date: Sun, 17 Aug 1997 20:34:28 +0100 From: Brian Somers <brian@awfulhak.org> To: megarcia@lix.intercom.es Cc: freebsd-questions@FreeBSD.ORG Subject: Re: user mode ppp and local address Message-ID: <199708171934.UAA10304@awfulhak.org> In-Reply-To: Your message of "Sat, 16 Aug 1997 13:02:57 EDT." <199708161235.NAA12421@lix.intercom.es>
next in thread | previous 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. [.....] > 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 [.....] > 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. Gasp ! That's what I call an initialization string ! [.....] The problem seems to be that the other side is accepting your 10.0.0.1 address (and rejecting the compression protocol) while also giving you 172.16.1.22. After the rejection of the compression protocol, ppp decides that the 10.0.0.1 bit was ok and sends another request for that - your ISP then drops the line. I'd suggest trying "set openmode passive" in your config file. This should stop ppp from making the first suggestion of 10.0.0.1. > Thanks in advance. > Manuel Garcia > -- > ----------------------------------------------------------- > megarcia@lix.intercom.es > ----------------------------------------------------------- > -- Brian <brian@awfulhak.org>, <brian@freebsd.org> <http://www.awfulhak.org> Don't _EVER_ lose your sense of humour....
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708171934.UAA10304>