Re: Experiences with ath(4)

From: Sam Leffler (sam_at_errno.com)
Date: 07/08/03

  • Next message: Sam Leffler: "Re: Experiences with ath(4)"
    Date: Mon, 07 Jul 2003 16:39:03 -0700
    To: Lukas Ertl <l.ertl@univie.ac.at>, freebsd-current@freebsd.org
    
    

    > I just bought a Netgear WAG511 card and a Netgear WG602 Accesspoint. I
    > run the card in 11g mode under current, and I'm having some problems:
    >
    > *) Powersavemode seems to be not supported at all (and thus it eats the
    > battery like a "make world"):
    >
    ># ifconfig ath0 powersave on
    > ifconfig: SIOCS80211: Invalid argument
    >
    >

    man ath(4)

    > *) Shared Key Authentication seems to be not supported either:
    >
    ># ifconfig ath0 authmode shared
    > ifconfig: SIOCS80211: Invalid argument
    >
    >

    Never has been supported under FreeBSD for any 802.11 card (at least not
    that I'm aware of).

    > *) If I turn on the debug.ieee80211 sysctl, I see the following messages
    > in 30sec- to 2min-intervals:
    >
    > ieee80211_new_state: RUN -> AUTH
    > ieee80211_new_state: AUTH -> AUTH
    > ieee80211_new_state: AUTH -> ASSOC
    > ieee80211_new_state: ASSOC -> RUN
    >
    > (I'm not sure if this is normal behaviour.)
    >

    Not sure about the interval but it is normal for an AP to periodically
    require stations to reauthenticate/associate.

    >
    > *) I'm seeing a lot of input errors on the interface:
    >
    ># netstat -i -I ath0
    > Name Mtu Network Address Ipkts Ierrs Opkts Oerrs
    > Coll
    > ath0 1500 <Link#3> 00:09:5b:41:8d:ac 2054 67646 2058 42
    > 0
    >
    >
    > *) Finally, there seems to be a problem with interaction between the AP
    > and my ADSL router (I'm not sure if this is a FreeBSD problem, I need to
    > test with WinXP too). My LAN looks something like this:
    >
    > WLAN Client ))) ((( AP --- Switch --- ADSL router
    > |
    > |
    > other hosts in LAN
    >
    > The ADSL router (a Speedtouch 510) does NAT. Everything seems to work
    > fine, but after some time, all connections from the WLAN client to the
    > outside world have died. I can connect to the other hosts in the LAN just
    > fine, though, and there are no further messages in the log files.
    > The quickest way to make it work again, is pulling the card out and plug
    > it back it. Any ideas?

    If I understand correctly, it doesn't sound like something to do with the
    driver which is all I can control. I'd suggest sniffing the 802.11 frames
    to see if you can identify anything. If you have another system+card you
    can do this with something like:

            tcpdump -i ath0 -y IEEE802_11

    or use your favorite tool.

            Sam

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


  • Next message: Sam Leffler: "Re: Experiences with ath(4)"

    Relevant Pages

    • Re: ath using hostap sets MTU to 2290 / channel 0 no longer works
      ... It doesn't appear to be a pfSense issue, as it appears their code actually tries to set the MTU to 1500. ... I have an ath card I'm working with that sets its MTU to 1500 in hostap, so there seems to be inconsistent behavior here. ... "ifconfig ath0 channel '0'" used to work in 6.x with hostap mode. ... Now users are finding their AP does not show up unless they manually specify a channel. ...
      (freebsd-net)
    • Re: ath using hostap sets MTU to 2290 / channel 0 no longer works
      ... It doesn't appear to be a pfSense issue, as it appears their code actually tries to set the MTU to 1500. ... I have an ath card I'm working with that sets its MTU to 1500 in hostap, so there seems to be inconsistent behavior here. ... "ifconfig ath0 channel '0'" used to work in 6.x with hostap mode. ... Now users are finding their AP does not show up unless they manually specify a channel. ...
      (freebsd-net)
    • Experiences with ath(4)
      ... I just bought a Netgear WAG511 card and a Netgear WG602 Accesspoint. ... # ifconfig ath0 authmode shared ... ieee80211_new_state: AUTH -> AUTH ...
      (freebsd-current)
    • MADWifi problem
      ... I have a little problem with my wireless network card ... INTERFACE/BUS- 32-bit PCI ... Others adviced me that I should follow the MADWifi Howto's installation ... When I issued an <ifconfig ath0 down> command I've got the answer, ...
      (Ubuntu)
    • Re: ath0: ath_chan_set: unable to reset channel 5 (2432 Mhz, flags 0x3e0 hal flags 0x140)
      ... ifconfig ath0 up; ifconfig ath0 list scan ... Does anyone have this Dlink card working on RELENG_6? ... the card works but you need to tweak the eprom country settings ...
      (freebsd-stable)