From owner-freebsd-questions Sun Aug 17 12:49:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA17862 for questions-outgoing; Sun, 17 Aug 1997 12:49:32 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA17857 for ; Sun, 17 Aug 1997 12:49:24 -0700 (PDT) Received: from awfulhak.org (dev.lan.awfulhak.org [10.0.1.5]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id UAA08451; Sun, 17 Aug 1997 20:34:28 +0100 (BST) Received: from dev.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.7/8.8.6) with ESMTP id UAA10304; Sun, 17 Aug 1997 20:34:28 +0100 (BST) Message-Id: <199708171934.UAA10304@awfulhak.org> X-Mailer: exmh version 2.0zeta 7/24/97 To: megarcia@lix.intercom.es cc: freebsd-questions@FreeBSD.ORG Subject: Re: user mode ppp and local address In-reply-to: Your message of "Sat, 16 Aug 1997 13:02:57 EDT." <199708161235.NAA12421@lix.intercom.es> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 17 Aug 1997 20:34:28 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 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 > set authkey > 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 , Don't _EVER_ lose your sense of humour....