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

    Wi-Fi: laptop yes, phone no

    Scheduled Pinned Locked Moved Wireless
    46 Posts 6 Posters 8.6k 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.
    • M
      mrkaban @stephenw10
      last edited by

      @stephenw10 said in Wi-Fi: laptop yes, phone no:

      Hmm, well I don't think that hardware crypto applies to WPA2 but try disabling that with:
      sysctl dev.rtwn.0.hwcrypto=0

      Unclear if that applies immediately.

      Completed, the output was:

      sysctl: oid 'dev.rtwn.0.hwcrypto' is a read only tunable
      sysctl: Tunable values are set in /boot/loader.conf

      Of course I rebooted and tried. And only after the failure did I read what exactly he was writing.

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

        Yup run: echo dev.rtwn.0.hwcrypto=0 >> /boot/loader.conf.local

        Then reboot.

        M 1 Reply Last reply Reply Quote 0
        • M
          mrkaban @stephenw10
          last edited by

          @stephenw10 said in Wi-Fi: laptop yes, phone no:

          Yup run: echo dev.rtwn.0.hwcrypto=0 >> /boot/loader.conf.local

          Then reboot.

          As before, it does not pass authentication. He says that the password is incorrect, but it is definitely correct.

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

            Running sysctl dev.rtwn.0.hwcrypto shows it's correctly disabled?

            Hmm, I didn't really expect that make any difference in WPA2 unless it had a broken AES/TKIP implementation perhaps.

            Do you have an older Android you could test with? I'm not aware of any particular issue with Android 14 but I don't have a device to test with right now.

            M 2 Replies Last reply Reply Quote 0
            • M
              mrkaban @stephenw10
              last edited by

              @stephenw10 said in Wi-Fi: laptop yes, phone no:

              Running sysctl dev.rtwn.0.hwcrypto shows it's correctly disabled?

              Hmm, I didn't really expect that make any difference in WPA2 unless it had a broken AES/TKIP implementation perhaps.

              Do you have an older Android you could test with? I'm not aware of any particular issue with Android 14 but I don't have a device to test with right now.

              I don't have it on my hands, but I'll try to find it and check it out.

              1 Reply Last reply Reply Quote 1
              • M
                mrkaban @stephenw10
                last edited by

                @stephenw10 said in Wi-Fi: laptop yes, phone no:

                Running sysctl dev.rtwn.0.hwcrypto shows it's correctly disabled?

                Hmm, I didn't really expect that make any difference in WPA2 unless it had a broken AES/TKIP implementation perhaps.

                Do you have an older Android you could test with? I'm not aware of any particular issue with Android 14 but I don't have a device to test with right now.

                You're right, it connects to android 4 phones without any problems. There are problems with Android 13 and 14 from different manufacturers. What can I try to do?

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

                  Hmm, well that seem like a clue. Perhaps some deprecated cypher is preventing it? I'm not sure how you might change that though. Can you test with anything else? An iOS device perhaps?

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    mrkaban @stephenw10
                    last edited by

                    @stephenw10 said in Wi-Fi: laptop yes, phone no:

                    Hmm, well that seem like a clue. Perhaps some deprecated cypher is preventing it? I'm not sure how you might change that though. Can you test with anything else? An iOS device perhaps?

                    To be honest, it was difficult to get a phone with android 4. I can check on another laptop. iOS probably won't be available.

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

                      Did you try setting 'WPA Pairwise' to TKIP or both instead of AES?

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        mrkaban @stephenw10
                        last edited by

                        @stephenw10 said in Wi-Fi: laptop yes, phone no:

                        Did you try setting 'WPA Pairwise' to TKIP or both instead of AES?

                        Yes... It didn't help...

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

                          Thanks friends for trying to help! As a result, I spat and installed another distribution that is not a fork of pfSense and wi-fi works perfectly on all devices. This means that the problem was not with the device, but with pfSense or freebsd itself. It is a pity that it was not possible to make friends with pfsense wi-fi.

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

                            The confirms it's a not a hardware issue at least. Which makes sense since the WPA auth should all be in software.

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