From owner-freebsd-net@FreeBSD.ORG Fri Jun 25 18:01:00 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6384916A4CE for ; Fri, 25 Jun 2004 18:01:00 +0000 (GMT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C50E43D53 for ; Fri, 25 Jun 2004 18:01:00 +0000 (GMT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (sccrmhc13) with ESMTP id <20040625180020016005rde0e>; Fri, 25 Jun 2004 18:00:20 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA01890; Fri, 25 Jun 2004 11:00:18 -0700 (PDT) Date: Fri, 25 Jun 2004 11:00:16 -0700 (PDT) From: Julian Elischer To: Andrea Campi In-Reply-To: <20040625171050.GA83855@webcom.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: net@freebsd.org Subject: Re: PPPoE on Atheros in hostap mode X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2004 18:01:00 -0000 On Fri, 25 Jun 2004, Andrea Campi wrote: > [please keep me Cc'd as I'm not currently subscribed] > > Hi, [...] > > > Uhm, looks ok to me. But then: > > gw0# nghook -a sis1: orphans > 0000: ff ff ff ff ff ff 00 30 65 a8 ee fc 88 63 11 09 .......0e....c.. > 0010: 00 00 00 10 01 01 00 00 01 02 00 00 01 03 00 04 ................ > 0020: 02 17 b8 04 55 55 55 55 55 55 55 55 55 55 55 55 ....UUUUUUUUUUUU > 0030: 55 55 55 55 55 55 55 55 55 55 55 55 UUUUUUUUUUUU > > 0000: ff ff ff ff ff ff 00 30 65 a8 ee fc 88 63 11 09 .......0e....c.. > 0010: 00 00 00 0c 01 01 00 00 01 03 00 04 02 17 b8 04 ................ > 0020: 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 UUUUUUUUUUUUUUUU > 0030: 55 55 55 55 55 55 55 55 55 55 55 55 UUUUUUUUUUUU > > whereas for ath0: > > gw0# nghook -a ath0: orphans > 0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 11 09 ................ > 0010: 00 00 00 0c 01 01 00 00 01 03 00 04 01 81 98 04 ................ > > 0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 11 09 ................ > 0010: 00 00 00 0c 01 01 00 00 01 03 00 04 01 81 98 04 ................ > > > So, questions: am I doing anything wrong? Is this supposed to work? Is > ath0 somehow mangling the data it sends to netgraph? > I'd be willing to put some effort in this if it's something fixable, I > just need pointers. It looks like the atheros driver is not returning any ethernet header information. The MAC address is important for PPPoE. BTW. tcpdump is the best way to look at the transfer as it can decode the packets.