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

    WiFi suddenly gone (ath0 beacon stuck)

    Scheduled Pinned Locked Moved Wireless
    60 Posts 7 Posters 8.7k 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.
    • fireodoF
      fireodo @Meliver
      last edited by

      @Meliver

      Hi,

      this settings in tuning section helped me:

      dev.ath.0.tpc=1
      dev.ath.0.tpscale=1
      hw.ath.bstuck=8192
      dev.ath.0.hal.force_full_reset=1

      Give them a try.

      Regards,
      fireodo

      Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
      SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
      pfsense 2.7.2 CE
      Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

      1 Reply Last reply Reply Quote 1
      • M
        Meliver
        last edited by

        Thanks, looks like the card might be broken :(

        Oct 31 12:55:54 kernel ath0: device timeout
        Oct 31 12:56:24 kernel ath0: device timeout

        fireodoF 1 Reply Last reply Reply Quote 0
        • fireodoF
          fireodo @Meliver
          last edited by

          @Meliver said in WiFi suddenly gone (ath0 beacon stuck):

          Thanks, looks like the card might be broken :(

          Oct 31 12:55:54 kernel ath0: device timeout
          Oct 31 12:56:24 kernel ath0: device timeout

          those timeouts I get from time to time too but wlan is continuing to work.

          Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
          SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
          pfsense 2.7.2 CE
          Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

          1 Reply Last reply Reply Quote 0
          • M
            Meliver
            last edited by

            Unfortunately, for me, the SSID is still not showing up.
            Oct 31 12:55:54 kernel ath0: device timeout
            Oct 31 12:56:24 kernel ath0: device timeout
            Oct 31 12:56:54 kernel ath0: device timeout
            Oct 31 12:57:24 kernel ath0: device timeout
            Oct 31 12:57:54 kernel ath0: device timeout
            Oct 31 12:58:24 kernel ath0: device timeout
            Oct 31 12:58:54 kernel ath0: device timeout
            Oct 31 13:02:24 kernel ath0: stuck beacon; resetting (bmiss count 8192)
            Oct 31 13:02:54 kernel ath0: device timeout
            Oct 31 13:03:24 kernel ath0: device timeout
            Oct 31 13:03:54 kernel ath0: device timeout
            Oct 31 13:04:24 kernel ath0: device timeout
            Oct 31 13:04:54 kernel ath0: device timeout
            Oct 31 13:05:24 kernel ath0: device timeout

            Will probably check with pcengines on the WLE

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

              @fireodo said in WiFi suddenly gone (ath0 beacon stuck):

              hw.ath.bstuck=8192

              That seems a little extreme to me. I usually use 8 for that sysctl. Though it's not often an actual problem, usauly just a sign you are in a congested wifi area.

              Steve

              1 Reply Last reply Reply Quote 1
              • JonathanLeeJ
                JonathanLee
                last edited by JonathanLee

                hw.ath.bstuck=8192 that's a massive increase, Netgate docs recommended 8 or higher as default was at 4

                What about your antenna ๐Ÿ“ก settings are you using 1 or 2?

                1689649005070-screenshot-2023-07-17-at-7.55.40-pm-resized.png

                "Options 0,1,2 (antenna port 1 or 2, both=0) dev.ath.0.diversity: options 0,1(0=disable 1=enable)"

                Ref:
                https://lists.freebsd.org/pipermail/freebsd-wireless/2011-September/000682.html

                Make sure to upvote

                fireodoF 1 Reply Last reply Reply Quote 0
                • fireodoF
                  fireodo @JonathanLee
                  last edited by

                  @JonathanLee said in WiFi suddenly gone (ath0 beacon stuck):

                  What about your antenna settings are you using 1 or 2?

                  2 antennas

                  Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                  SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                  pfsense 2.7.2 CE
                  Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

                  JonathanLeeJ 1 Reply Last reply Reply Quote 0
                  • JonathanLeeJ
                    JonathanLee @fireodo
                    last edited by JonathanLee

                    @fireodo what displayed when you ran

                    sysctl -a | grep dev.ath.0.txantenna

                    sysctl -a | grep dev.ath.0.rxantenna

                    sysctl dev.ath

                    I am curious to see if yours uses 0 for both or 1 or 2 for the antenna. I am working on a mini pcie card that is working but some of my devices don't like the kitchen. Again, on the old AP they worked in the kitchen. I have been researching old posts and reading about PfSense, freeBSD Netgate docs, Netgate forum posts to find anything about commands and information on PfSense as an AP. I found it never enabled my second antenna but had one marked as 0 meaning used both and the other as 1. I assumed that it should transmit on one antenna and receive on the other.

                    The offsets between the timing and other software seems to be missing like diversity settings for me also.

                    Make sure to upvote

                    fireodoF 1 Reply Last reply Reply Quote 0
                    • fireodoF
                      fireodo @JonathanLee
                      last edited by fireodo

                      @JonathanLee said in WiFi suddenly gone (ath0 beacon stuck):

                      sysctl -a | grep dev.ath.0.txantenna

                      dev.ath.0.txantenna: 0

                      sysctl -a | grep dev.ath.0.rxantenna

                      dev.ath.0.rxantenna: 1

                      sysctl dev.ath

                      sysctl dev.ath.txt

                      EDIT:
                      From what I know is if the WiFi-Card has 2 slots for antennas that should be 0 or 1.
                      If there are 3 Antenna slots then it can be 0,1, or 2 ...
                      antennas.jpg

                      Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                      SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                      pfsense 2.7.2 CE
                      Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

                      johnpozJ 1 Reply Last reply Reply Quote 1
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator @fireodo
                        last edited by

                        Why would you not just get an AP? Why go through all of this for shitty wifi. When you could pick up most likely a some cheap $20 AC wifi router and using it as an AP, shoot you could put dd-wrt or openwrt on it and have vlan support..

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.8, 24.11

                        provelsP JonathanLeeJ 2 Replies Last reply Reply Quote 1
                        • provelsP
                          provels @johnpoz
                          last edited by

                          @johnpoz Sometimes we do things just because we can! ๐Ÿ™‚

                          Peder

                          MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                          BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                          johnpozJ 1 Reply Last reply Reply Quote 1
                          • johnpozJ
                            johnpoz LAYER 8 Global Moderator @provels
                            last edited by

                            @provels yeah get that. I might see it more if it was an actual viable solution. But best your going to get is N and when is router in optimal location for Wi-Fi coverage. And more than likely itโ€™s going to be shit for stable - which sometimes you can overlook fast if itโ€™s rock solid.

                            I just donโ€™t get the point of this - let me see if I can get this crap setup to function??

                            For a few bucks you could have AC Wi-Fi rock solid stable and able to place the ap where it makes sense vs where my edge router is.

                            Good luck I guess. Getting say OpenWrt running on some hardware is because we can as well and that would actually have a productive outcome

                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                            If you get confused: Listen to the Music Play
                            Please don't Chat/PM me for help, unless mod related
                            SG-4860 24.11 | Lab VMs 2.8, 24.11

                            provelsP 1 Reply Last reply Reply Quote 0
                            • provelsP
                              provels @johnpoz
                              last edited by

                              @johnpoz Why ask why? ๐Ÿ˜„

                              8310fde4-3e71-4f58-a251-aa790868e65d-image.png

                              Peder

                              MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                              BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                              fireodoF 1 Reply Last reply Reply Quote 1
                              • fireodoF
                                fireodo @provels
                                last edited by

                                @provels ๐Ÿ˜ ๐Ÿ˜ ๐Ÿ˜

                                Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                                SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                                pfsense 2.7.2 CE
                                Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

                                1 Reply Last reply Reply Quote 2
                                • provelsP
                                  provels
                                  last edited by provels

                                  That said, I just ordered a Compex WLE600VX in the hope that I live long enough that FreeBSD someday supports AC.

                                  LOL, and I just saw the main thread here is almost 3 years old!

                                  Peder

                                  MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                                  BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                                  fireodoF JonathanLeeJ 3 Replies Last reply Reply Quote 1
                                  • fireodoF
                                    fireodo @provels
                                    last edited by fireodo

                                    @provels said in WiFi suddenly gone (ath0 beacon stuck):

                                    I live long enough that FreeBSD someday supports AC.

                                    ๐Ÿ˜‚ ๐Ÿ˜ ๐Ÿ˜‚

                                    I'm with you ...

                                    Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                                    SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                                    pfsense 2.7.2 CE
                                    Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

                                    1 Reply Last reply Reply Quote 0
                                    • fireodoF
                                      fireodo @provels
                                      last edited by

                                      @provels said in WiFi suddenly gone (ath0 beacon stuck):

                                      I just ordered a Compex WLE600NX

                                      You can search for AR5BXB112 (thanks @stephenw10 ) that is also very good for experiments ...

                                      Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                                      SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                                      pfsense 2.7.2 CE
                                      Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

                                      JonathanLeeJ provelsP 2 Replies Last reply Reply Quote 0
                                      • JonathanLeeJ
                                        JonathanLee @johnpoz
                                        last edited by JonathanLee

                                        @johnpoz I do it because it's very educational from a code programing perspective. Plus it works great, the firewall now controls traffic at a more graingular level. I was amazed it worked this well. The GUI has no antenna options anymore fyi, the old PfSense version did.

                                        https://m.facebook.com/DudeDadVlog/videos/couple-more-days-construction-were-always-almost-done-with-a-lot-of-things/3391960031077578/

                                        Make sure to upvote

                                        johnpozJ 1 Reply Last reply Reply Quote 0
                                        • JonathanLeeJ
                                          JonathanLee @provels
                                          last edited by

                                          @provels three years old? It just needed a couple more days/years of programming and configuration to get it to run right.

                                          Make sure to upvote

                                          1 Reply Last reply Reply Quote 0
                                          • JonathanLeeJ
                                            JonathanLee @fireodo
                                            last edited by

                                            @fireodo will it run with the AR5BXB112??

                                            Make sure to upvote

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