Date: Fri, 25 Jun 2004 11:00:16 -0700 (PDT) From: Julian Elischer <julian@elischer.org> To: Andrea Campi <andrea+freebsd_net@webcom.it> Cc: net@freebsd.org Subject: Re: PPPoE on Atheros in hostap mode Message-ID: <Pine.BSF.4.21.0406251057120.1679-100000@InterJet.elischer.org> In-Reply-To: <20040625171050.GA83855@webcom.it>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0406251057120.1679-100000>