Re: PPPoE on Atheros in hostap mode

From: Julian Elischer (julian_at_elischer.org)
Date: 06/25/04

  • Next message: Andrea Campi: "Re: PPPoE on Atheros in hostap mode"
    Date: Fri, 25 Jun 2004 11:00:16 -0700 (PDT)
    To: Andrea Campi <andrea+freebsd_net@webcom.it>
    
    

    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.

    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Andrea Campi: "Re: PPPoE on Atheros in hostap mode"