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

    Wireless N card to host wifi

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    13 Posts 4 Posters 3.0k 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.
    • stephenw10S Offline
      stephenw10 Netgate Administrator
      last edited by

      You can reduce the stuck beacon errors if you're in a congested area by adding the following to the system tunables:
      Tunable name: hw.ath.bstuck
      Description: Whatever you want
      Value: 8

      I have an earlier Atheros card and adding that prevented my logs being filled with stuck beacon errors though those errors never had much effect on the wifi.

      The Atheros driver has the ability to choose which of the antenna connectors it uses so if you don't have them all connected (I have only 1 antenna) then make sure it's set correctly otherwise the range will be much reduced.

      Steve

      1 Reply Last reply Reply Quote 0
      • D Offline
        doktornotor Banned
        last edited by

        @stephenw10:

        You can reduce the stuck beacon errors if you're in a congested area by adding the following to the system tunables:
        Tunable name: hw.ath.bstuck
        Description: Whatever you want
        Value: 8

        That exactly did not work for me nor did it solve anything, plus the problem was so bad I got a kernel panic multiple times. Issue traced down to severe noise from wireless TV signal transmitter. The wifi drivers seriously are a piece of junk on FreeBSD.

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

          I won't argue with you there.  ;) Though they are much improved in 10.
          Like I say it wan't actually causing me any problems besides spamming the logs.

          Steve

          1 Reply Last reply Reply Quote 0
          • S Offline
            shaqan
            last edited by

            @stephenw10:

            You can reduce the stuck beacon errors if you're in a congested area by adding the following to the system tunables:
            Tunable name: hw.ath.bstuck
            Description: Whatever you want
            Value: 8

            I have an earlier Atheros card and adding that prevented my logs being filled with stuck beacon errors though those errors never had much effect on the wifi.

            The Atheros driver has the ability to choose which of the antenna connectors it uses so if you don't have them all connected (I have only 1 antenna) then make sure it's set correctly otherwise the range will be much reduced.

            Steve

            Thanks

            Replacing antennas made no difference. I use 2 and have 6 for spare to choose from, incl. one directional antenna. But thanks for the tunable.

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

              Just to be sure you understood, I'm refering to this section of the interface setup:

              Antenna settings: 	Diversity	   	Transmit antenna	   	Receive antenna
               	 	 	off 	 	 	#1 	 	 	 	 #1
              
              Note: The antenna numbers do not always match up with the labels on the card. 
              

              If you have either Rx or Tx set to use a connector on which there isn't an antenna range will obviously be much reduced. Note comment about labels also.
              I have diversity disabled because I'm only using one antenna.

              Steve

              1 Reply Last reply Reply Quote 0
              • S Offline
                shaqan
                last edited by

                Hmm. I tried both ways. Transmit with #1, Receive with #2 and vice versa. And had both physically connected to the connectors as well.

                What I did not think to try was with one antenna..

                Since it was wifi card taken from broken notebook (with its antenna hidden inside/behind the LCD screen), I figured that perhaps the electrical resistance of the antennas I tried to use were not correct. And left it at that. Was easy enough getting another atheros.

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

                  I'm only using #1 for both because I only have one antenna connected. Before I realised this one of them was to #2 and, perhaps unsurprisingly, the range was terrible.

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    doktornotor Banned
                    last edited by

                    Now that you mention the diversity… have you verified the settings actually have any/intended effect? Because that's definitely not what I have seen with multiple CM9/CM10 cards and definitely not those that are described in the GUI hints. No matter what I set, I end up with this in the end:

                    
                    dev.ath.0.txantenna: 0
                    dev.ath.0.rxantenna: 2
                    dev.ath.0.diversity: 1
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • stephenw10S Offline
                      stephenw10 Netgate Administrator
                      last edited by

                      Working fine for my card. It's a bit older than many.

                      dev.ath.0.%desc: Atheros 2413
                      
                      dev.ath.0.txantenna: 1
                      dev.ath.0.rxantenna: 1
                      dev.ath.0.diversity: 0
                      
                      

                      Also I know the antenna selection is working because if either are set #2 (or Default or Auto) then the range is reduced dramatically.

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        doktornotor Banned
                        last edited by

                        @stephenw10:

                        Also I know the antenna selection is working because if either are set #2 (or Default or Auto) then the range is reduced dramatically.

                        Well yes, that's how I figured out it has no effect here because no matter what I set nothing improves or gets worse. :D

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