From owner-freebsd-stable Mon Dec 2 10:15: 6 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 006D337B401 for ; Mon, 2 Dec 2002 10:15:05 -0800 (PST) Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C76143E88 for ; Mon, 2 Dec 2002 10:15:04 -0800 (PST) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id KAA67686; Mon, 2 Dec 2002 10:10:14 -0800 (PST) Received: from arch20m.dellroad.org (localhost [127.0.0.1]) by arch20m.dellroad.org (8.12.6/8.12.6) with ESMTP id gB2I9pFF046962; Mon, 2 Dec 2002 10:09:51 -0800 (PST) (envelope-from archie@arch20m.dellroad.org) Received: (from archie@localhost) by arch20m.dellroad.org (8.12.6/8.12.6/Submit) id gB2I9oiQ046961; Mon, 2 Dec 2002 10:09:50 -0800 (PST) From: Archie Cobbs Message-Id: <200212021809.gB2I9oiQ046961@arch20m.dellroad.org> Subject: Re: ppp - Magic is same In-Reply-To: To: Randy Bush Date: Mon, 2 Dec 2002 10:09:50 -0800 (PST) Cc: FreeBSD Stable X-Mailer: ELM [version 2.4ME+ PL99b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Randy Bush wrote: > ppp from a 4.7-stable system to a 4.7-stable system > > if i hang up and then call back within 15 minutes or so, i get > > ppp[21876]: tun0: Phase: deflink: login -> lcp > ppp[21876]: tun0: LCP: FSM: Using "deflink" as a transport > ppp[21876]: tun0: LCP: deflink: State change Initial --> Closed > ppp[21876]: tun0: Phase: deflink: Entering STOPPED state for 3 seconds > ppp[21876]: tun0: LCP: deflink: State change Closed --> Stopped > ppp[21876]: tun0: LCP: deflink: LayerStart > ppp[21876]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped > ppp[21876]: tun0: LCP: ACFCOMP[2] > ppp[21876]: tun0: LCP: PROTOCOMP[2] > ppp[21876]: tun0: LCP: ACCMAP[6] 0x00000000 > ppp[21876]: tun0: LCP: MRU[4] 1500 > ppp[21876]: tun0: LCP: MAGICNUM[6] 0xb4ca4b58 > ppp[21876]: tun0: LCP: deflink: State change Stopped --> Req-Sent > ppp[21876]: tun0: LCP: deflink: RecvConfigReq(1) state = Req-Sent > ppp[21876]: tun0: LCP: ACFCOMP[2] > ppp[21876]: tun0: LCP: PROTOCOMP[2] > ppp[21876]: tun0: LCP: ACCMAP[6] 0x00000000 > ppp[21876]: tun0: LCP: MRU[4] 1500 > ppp[21876]: tun0: LCP: MAGICNUM[6] 0xb4ca4b58 > ppp[21876]: tun0: LCP: Magic is same (b4ca4b58) - 1 times This means that the ppp daemon is talking to itself, i.e., your modem is echoing back everything so ppp receives its own transmissions. This is exactly the situation that 'magic numbers' were designed to detect. Not sure how to fix this in your case but there's a clue anyway. -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message