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

    LAN Driver, Qualcomm Atheros AR8171

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    43 Posts 6 Posters 17.3k 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.
    • arrmoA
      arrmo
      last edited by

      Hi,

      The VM that I used to build it was PC-BSD … a completely separate machine (with all the needed build tools, those don't come with pfSense).

      Hope that helps!

      1 Reply Last reply Reply Quote 0
      • A
        Alex 0
        last edited by

        Hi arrmo,
        thx for your help, I tried to compile the driver under PC-BSD, it compiled but when I try to load the module on pfSense I have a Exec Format Error.
        Edit : my fault, I do not have taken the PC BSD release corresponding to FRee BSD 8.3 but the latest. I will try again tomorrow.

        1 Reply Last reply Reply Quote 0
        • A
          Alex 0
          last edited by

          Hi,
          I finally suceeded compiling the driver under FreebSD 8.3 on VM, including stdbool.h in alx_hw.h. My Atheros AR8171 is now recognized by pfSense. Thanks for your help :)

          1 Reply Last reply Reply Quote 0
          • arrmoA
            arrmo
            last edited by

            Excellent, glad to hear it. Have fun!

            1 Reply Last reply Reply Quote 0
            • A
              Alex 0
              last edited by

              Well, maybe I've spoken too fast… The ethernet interface is recognized, but trying to connect it, I see "statuts : no carrier" when I do a ifconfig on alx0, even if it's directly plugged to a SFRBox with a ethernet wire. I will continue to search why I have this issue

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

                Hmm, disappointing. Do you see link leds at either end?

                1 Reply Last reply Reply Quote 0
                • A
                  Alex 0
                  last edited by

                  Yes, leds are ON on the box and the pfSense, blinking from time to time.

                  1 Reply Last reply Reply Quote 0
                  • arrmoA
                    arrmo
                    last edited by

                    Very odd … :(. Seems like it's up, but seems to say no. What does media say (under ifconfig)?

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

                      With 2.2 just around the corner (hopefully) at this point I have to say it's probably not worth putting too much effort into. Just run 2.2RC with the other kernel module.
                      Since the alx driver was developed against FreeBSD 10 it may require significant backporting to make it work with 8.3.  :-\

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • A
                        Alex 0
                        last edited by

                        Hello,
                        as you suggested, I switched on pfSense 2.2 RC on my machine. I tried to compile the driver under VM with FreeBSD 10.1, it compiled well but the kldload didn't work, so I took the one provided by arrmo, and this time it works : the alx0 have a dhcp lease when plugged to a SFR Box. Now I will perform tests to verify tu upload and download ratio ;)

                        EDIT : I configured my network as I planned (Captive portal + Freeradius + external MySQL database), and the debit, when I'm the only client, is almost the same as a connection not passing through pfSense. I built this for a LAN party in March, so i'll see in a few month if the custom driver bear the load ;)
                        Anyway, thx for your help and advices !

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