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

    Lots of in errors, slow wifi

    Scheduled Pinned Locked Moved Wireless
    10 Posts 2 Posters 1.2k Views 2 Watching
    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.
    • P Offline
      perthehour
      last edited by stephenw10

      running a qotom i5 with a AR9287 atheros
      alt text

      tried changing channels, not much of a difference. Pinging other devices on lan results in a 10-80

      1 Reply Last reply Reply Quote 0
      • stephenw10S Offline
        stephenw10 Netgate Administrator
        last edited by

        I assume you mean 10-80% packet loss? That's catastrophically bad!

        You have both antennas connected?

        You see the same even with a device very close?

        What do you see for datarate and RSSI in Status > Wireless?

        Steve

        1 Reply Last reply Reply Quote 0
        • P Offline
          perthehour
          last edited by perthehour

          its a 80 ms ping

          yes I do have both antennas connected, should I upgrade to 5 db antennas?

          the wifi speed cuts in half from 16 to 8 mb/s by going two rooms over, sometimes the wifi is up to 35 mb/s

          rate is 13M rssi is 28.5 on most devices, 21 on one.

          1 Reply Last reply Reply Quote 0
          • stephenw10S Offline
            stephenw10 Netgate Administrator
            last edited by stephenw10

            Errors on the wifi interface are expected. Variation in ping time is expected but 80ms is very high.

            Signal strength between rooms can be massively variable, many factors to take into account there.

            You might try enabling antenna diversity or different antenna settings in the sysctls:

            dev.ath.0.txantenna: 0,1,2 (antenna port 0 or 1, both=2)
            dev.ath.0.rxantenna: 0,1,2 (antenna port 0 or 1, both=2)
            dev.ath.0.diversity: 0,1 (0=disable 1=enable)
            

            Just realised I didn't have that set. Seemed to help quite a bit here.

            Steve

            1 Reply Last reply Reply Quote 0
            • P Offline
              perthehour
              last edited by

              where do I edit sysctls? the console?

              1 Reply Last reply Reply Quote 0
              • stephenw10S Offline
                stephenw10 Netgate Administrator
                last edited by

                You can run it at the console directly to test:
                sysctl dev.ath.0.diversity=1

                To apply it permanently you can add it to Sys > Adv > System Tunables.

                Steve

                1 Reply Last reply Reply Quote 0
                • P Offline
                  perthehour
                  last edited by perthehour

                  thank you

                  antenna diversity takes my speed from 16 mb/s down to about 7 or 8

                  so i have rx @ zero and tx @ 1 with diversity and speeds are about 15 with spikes to about 22-30, an improvement but lan speeds are currently 50 mb/s and the wireless device is right next to the wifi.

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S Offline
                    stephenw10 Netgate Administrator
                    last edited by

                    Hmm, I assume 22-30Mbps is the measured throughput?

                    What connection speed do you see in Status > Wireless or on the client?

                    That's a 300M capable card if everything is working right. Though it's unlikely you will ever see that in my experience.

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      perthehour
                      last edited by

                      22 mb/s was a speed test done on speedtest.net

                      I contacted the manufacturer and its actually a AR9565, which is about 150 mb/s

                      the card i posted was an option I didnt add, sorry for the confusion

                      heres the wireless status

                      alt text

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S Offline
                        stephenw10 Netgate Administrator
                        last edited by

                        Hmm, and you still don't get more than 22Mbps even on that client linked at 130Mbps?

                        I had a QCNFA335 which is based on that and had no issues with it. You probably need to do a local test to be sure you're not seeing a drop just over the WAN. Try testing with iperf between the client and a local server. You could run that on pfSense if you have nothing else but it's not ideal.

                        Steve

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