From owner-freebsd-net Sat Jun 22 14:46:19 2002 Delivered-To: freebsd-net@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id 6BCBA37B41A for ; Sat, 22 Jun 2002 14:46:07 -0700 (PDT) Received: from mail.lan.Awfulhak.org (brian@hak.Awfulhak.org [IPv6:2001:6f8:602:1::12]) by Awfulhak.org (8.12.4/8.12.4) with SMTP id g5MLk4xq000999; Sat, 22 Jun 2002 22:46:04 +0100 (BST) (envelope-from brian@Awfulhak.org) Date: Sat, 22 Jun 2002 22:46:01 +0100 From: Brian Somers To: "Andrew Lankford" Cc: freebsd-net@FreeBSD.ORG Subject: Re: More pppoe debugging info Message-Id: <20020622224601.61cc4ca1.brian@Awfulhak.org> In-Reply-To: <200206221525187.SM01584@141.com> References: <200206221525187.SM01584@141.com> X-Mailer: Sylpheed version 0.7.6claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, 22 Jun 2002 17:24:23 -0400, Andrew Lankford wrote: > > Below is my final attempt at documenting my problems using the latest stable > ppp/netgraph combo with my DSL modem and 3Com 3c905C-TX ethernet card: > > Looks like the NGM_PPPOE_<11> (hook "M-^HM-^V^H^Hh ^K^H") string > no longer bears any resemblance to the session id bytes. > > Sorry for not making sure all the text is wrapped properly, but I > figure that would make it only harder to read. > > Andrew Lankford [.....] > PPP.LOG: [.....] > Jun 22 16:40:58 bogushost2 ppp[334]: tun0: Phase: deflink: dial -> carrier > Jun 22 16:41:01 bogushost2 ppp[334]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook "RES-6400-3-NRP2") > Jun 22 16:41:02 bogushost2 ppp[334]: tun0: Phase: Received NGM_PPPOE_<11> (hook "M-^HM-^V^H^Hh ^K^H") These not-terminated strings have now been fixed. I don't believe they're the source of the problem though. [.....] > TCPDUMP OUTPUT: > > > 16:40:58.645213 PPPoE PADI [Host-Uniq UTF8] > 16:41:00.643094 PPPoE PADI [Host-Uniq UTF8] > 16:41:00.673124 PPPoE PADO [Host-Uniq UTF8] [Service-Name] [AC-Name "RES-6400-3-NRP2"] [AC-Cookie UTF8] > 16:41:00.673173 PPPoE PADR [Host-Uniq UTF8] [AC-Cookie UTF8] [AC-Name "RES-6400-3-NRP2"] > 16:41:00.739685 PPPoE PADS [ses 0x9688] [Host-Uniq UTF8] [AC-Cookie UTF8] [AC-Name "RES-6400-3-NRP2"] > 16:41:00.758209 PPPoE [ses 0x9688] LCP 20: Conf-Req(69), MRU=1492, Auth-Prot PAP, Magic-Num=cca2f534 > 16:41:02.757866 PPPoE [ses 0x9688] LCP 20: Conf-Req(70), MRU=1492, Auth-Prot PAP, Magic-Num=cca2f534 > 16:41:03.695201 PPPoE PADT [ses 0x9688] [Generic-Error "session closed"] [.....] Can you try the latest version (committed about an hour ago) and add a -e to the tcpdump command and repost your findings ? Cheers. -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message