Date: Mon, 2 Dec 2002 10:09:50 -0800 (PST) From: Archie Cobbs <archie@dellroad.org> To: Randy Bush <randy@psg.com> Cc: FreeBSD Stable <freebsd-stable@FreeBSD.org> Subject: Re: ppp - Magic is same Message-ID: <200212021809.gB2I9oiQ046961@arch20m.dellroad.org> In-Reply-To: <E18IBnJ-0005wb-00@roam.psg.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212021809.gB2I9oiQ046961>