PPPoE on Atheros in hostap mode

Julian Elischer julian at elischer.org
Fri Jun 25 11:01:00 PDT 2004



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.







More information about the freebsd-net mailing list