Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Atheros Chipset Issues

    Scheduled Pinned Locked Moved 1.2.1-RC Snapshot Feedback and Problems-RETIRED
    12 Posts 4 Posters 9.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      serialdie
      last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • S
        serialdie
        last edited by

        By the way the card specs…

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

        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • J
            jmontes4
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • S
              serialdie
              last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • C
                covex
                last edited by

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

                1 Reply Last reply Reply Quote 0
                • S
                  serialdie
                  last edited by

                  @covex:

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

                  DD-WRT is Linux… Where pfSense is FreeBSD.

                  1 Reply Last reply Reply Quote 0
                  • C
                    covex
                    last edited by

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

                    1 Reply Last reply Reply Quote 0
                    • C
                      cmb
                      last edited by

                      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.

                      1 Reply Last reply Reply Quote 0
                      • S
                        serialdie
                        last edited by

                        Is this on the latest Update?

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.