Atheros Chipset Issues



  • Well as recommended I am using the latest snapshot…. "pfSense-20080729-0437.iso.gz 29-Jul-2008 01:32 40M" and still the disconnect issue remains....

    hostapd: ath0: STA 00:1d:4f:27:62:09 IEEE 802.11: deauthenticated due to local deauth request

    Is there a plan for a fix on this issue?

    TIA!



  • It looks like this has been an issue in various cases long before 1.2.1. I've never personally seen it, if you can provide specific information on how to replicate and I can replicate it, we might be able to report it to one of the FreeBSD lists and get a resolution.



  • After I fire up my iTouch Instantly I see this in my logs…

    Aug 4 07:39:04 hostapd: ath0: STA  IEEE 802.11: associated
    Aug 4 07:39:05 hostapd: ath0: STA  WPA: pairwise key handshake completed (WPA)
    Aug 4 07:39:05 hostapd: ath0: STA  WPA: group key handshake completed (WPA)
    Aug 4 07:39:05 hostapd: ath0: STA  WPA: group key handshake completed (WPA)
    Aug 4 07:40:07 hostapd: ath0: STA  WPA: received EAPOL-Key 2/2 Group with unexpected replay counter
    Aug 4 07:40:07 hostapd: ath0: STA  WPA: group key handshake completed (WPA)
    Aug 4 07:41:05 hostapd: ath0: STA  WPA: group key handshake completed (WPA)
    Aug 4 07:42:08 hostapd: ath0: STA  IEEE 802.11: deauthenticated due to local deauth request


    From shell

    athstats

    1263011 data frames received
    2116051 data frames transmit
    14129 tx frames with an alternate rate
    124432 long on-chip tx retries
    1427 tx failed 'cuz too many retries
    48M current transmit rate
    9575 tx management frames
    3 tx frames discarded prior to association
    35 tx frames with no ack marked
    2112443 tx frames with short preamble
    542247 rx failed 'cuz of bad CRC
    4975313 rx failed 'cuz of PHY err
        222509 OFDM timing
        4752796 CCK timing
        8 CCK restart
    1153264 beacons transmitted
    4041 periodic calibrations
    -1 rssi of last ack
    26 avg recv rssi
    -96 rx noise floor
    14 cabq frames transmitted
    7682 switched default/rx antenna
    Antenna profile:
    [1] tx  201288 rx    51144
    [2] tx  1913327 rx  1232991

    cat hostapd_ath0.conf

    interface=ath0
    driver=bsd
    logger_syslog=-1
    logger_syslog_level=0
    logger_stdout=-1
    logger_stdout_level=0
    dump_file=/tmp/hostapd_ath0.dump
    ctrl_interface=/var/run/hostapd
    ctrl_interface_group=wheel
    #accept_mac_file=/tmp/hostapd_ath0.accept
    #deny_mac_file=/tmp/hostapd_ath0.deny
    #macaddr_acl=
    ssid=pfSense-nUll
    debug=
    auth_algs=1
    wpa=1
    wpa_key_mgmt=WPA-PSK
    wpa_pairwise=TKIP
    wpa_group_rekey=60
    wpa_gmk_rekey=3600
    wpa_strict_rekey=
    wpa_passphrase=******************t
    ieee8021x=
    #Enable the next lines for preauth when roaming. Interface = wired or wireless interface talking to the AP you want to roam from/to
    #rsn_preauth=1
    #rsn_preauth_interfaces=eth0#

    cat ath0_setup.sh

    #!/bin/sh

    pfSense wireless configuration script.

    enable shell debugging

    set -x
    /bin/ps awwuxx | grep hostapd | grep ath0 | awk '{ print $2 }' | xargs kill

    /sbin/ifconfig ath0 down
    /sbin/ifconfig ath0 mediaopt hostap
    /sbin/ifconfig ath0 mode '11g'
    /sbin/ifconfig ath0 channel '6'
    /sbin/ifconfig ath0 -mediaopt turbo
    /sbin/ifconfig ath0 ssid 'pfSense-nUll'
    /sbin/ifconfig ath0 -hidessid
    /sbin/ifconfig ath0 -mediaopt adhoc
    /sbin/ifconfig ath0 protmode 'rtscts'
    /sbin/ifconfig ath0 mode 11g pureg
    /sbin/ifconfig ath0 -apbridge
    /sbin/ifconfig ath0 -wme
    /sbin/ifconfig ath0 authmode open wepmode off
    /sbin/ifconfig ath0 txpower '70'
    /sbin/ifconfig ath0 mtu 1500
    /sbin/ifconfig ath0 up
    /usr/sbin/hostapd -B /var/etc/hostapd_ath0.conf

    Thank you for your reply and attention to this matter!



  • By the way the card specs…

    802.11a/b/g WLM54SAG mPCI
    Witha a ALIX 2c3 Board.



  • The iPhone and iPod Touch must use TKIP with WPA, you probably just have a configuration they aren't compatible with. I'm not sure why it is that they won't work unless you set it to TKIP, but that's what I do and what others have reported on here.

    This also is the case with AirTunes, though my Mac mini G4 will connect regardless of that setting.



  • I would like to add Dell's wireless print server 3300 to this list.  I had to set pfSense to use TKIP only.  If I tried to set the option to both AES and TKIP(option "Both") I would get that error.

    Edit:  I had to edit my post it initially stated "the option to both WPA and TKIP(option "Both")".  Sorry for any mix up.



  • Thank You for all the reply's…
    @cmb:

    Here are the settings I have been using...

    General configuration
    Type - Static

    Bridge with - none
    IP Address - 10.30.2.1/24

    Standard - 802.11g

    Mode - Access Point

    802.11g OFDM Protectione Mode - Protection Mode RTS and CTS

    802.11g only - Is checked.

    Transmit Power - 70mW - It seems that at this range I get better reception and less disconnects...

    Channel - 11g Turbo - 6  - Also is the most stable channel I can get any thing else I use it grabs the wireless and makes it more unstable.

    WPA - Enable

    WPA Mode - WPA

    WPA Key Management Mode - Pre Shared Key

    Authentication - Open System Authentication

    WPA Pairwise - TKIP

    Key Rotation - 60

    Master Key Regeneration - 3600

    Any suggestions to make my system  more stable? I have been using TKIP since day one...

    I have 2 iTouch one is running Firmware v 2.0 and the other 1.1.4 or something around that range... But both seem to experience the same disconnect issue the 1.1 more than tha 2.0

    Thank You all for your attention.



  • my iphone 3g connects to ddwrt ap with wpa2/aes just fine



  • @covex:

    my iphone 3g connects to ddwrt ap with wpa2/aes just fine

    DD-WRT is Linux… Where pfSense is FreeBSD.



  • I know, what I meant is that it works with ads too not just tkip



  • In FreeBSD 7.0 based releases, I no longer have to force TKIP for my iPod Touch and AirTunes to work properly, they work fine on Any now.



  • Is this on the latest Update?


Log in to reply