Navigation

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

    Atheros/Attansic L2 FastEthernet support

    Hardware
    6
    20
    14344
    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.
    • F
      ftcsm last edited by

      I have received some computers to install pfSense and some of them are based on ASUS P5GC-MX, which has a Attansic (now Atheros) L2 NIC. Seems PC-BSD already has support for it (from google search) and there are some incomplete posts on forums that say FREEBSD 7.1 would have it too.

      Is there any way of using this onboard NIC with pfSense 1.2.2 or greater? I really need to use that NIC, need 3 interfaces and there are only 2 PCI slots, already filled with realtek 8139 NICs.

      Thanks in advance for your attention,

      Flavio
      Brazil

      1 Reply Last reply Reply Quote 0
      • W
        wallabybob last edited by

        The release notes for FreeBSD 7.1 (see http://www.freebsd.org/releases/7.1R/relnotes.html says

        The ale(4) driver has been added to provide support for Atheros AR8121/AR8113/AR8114 Gigabit/Fast Ethernet controllers. This driver is not enabled in GENERIC kernels for this release.

        I don't know if you NIC is one of those. The testing version of pfSense 1.2.3 is based on FreeBSD 7.1. Some one a bit better acquainted with the pfSense kernel configuration file than I am would need to comment on whether the ale driver is included in the 1.2.3 kernel. If ale driver isn't included a request to one of the pfSense developers fairly has a high likelihood of getting it included in a build soon.

        1 Reply Last reply Reply Quote 0
        • F
          ftcsm last edited by

          I'll try 1.2.3 and see if it works. I'll post the results for future searchs.

          Thanks for the answer.

          EDIT: No go. Not only not recognized Atheros L@ but also changed realtek to sundance. I really don't know if sundance change is expected but ale(4) dif not solved Atheros L2 problem.

          1 Reply Last reply Reply Quote 0
          • W
            wallabybob last edited by

            Can you post the output of the command pciconf -l -v (You can use the web GUI Diagnostics -> Command option)

            This output will help determine if the ale driver is intended to recognise your onboard NIC. and may provide some insight on the sundance observation.

            1 Reply Last reply Reply Quote 0
            • F
              ftcsm last edited by

              Have not yet run the commands cause I was taking care of my 4 months old son.

              I think driver should be ae(4) (saw it on a page about eeepc that uses Atheros L2).

              Will check the other NICs but I really doubt they are served by sundance driver but one cannot be too sure :D

              1 Reply Last reply Reply Quote 0
              • C
                cmb last edited by

                This has been added, though it'll be a couple days til new snapshots are available as we're moving the last repo to git.

                1 Reply Last reply Reply Quote 0
                • F
                  ftcsm last edited by

                  Nice to know. I'll keep an eye on it.

                  By the way, 2 computers had Atheros L2 onboard LAN and 1 really got NICs recognized, even in Linux, as sundance. They are Encore EN832-TX, which normally includes RTL8139 chips.

                  Thanks everyone for your good work and patience.

                  Flavio

                  1 Reply Last reply Reply Quote 0
                  • F
                    ftcsm last edited by

                    Did not work with Feb 18 snapshot, still can't identify the onboard atheros.

                    1 Reply Last reply Reply Quote 0
                    • W
                      wallabybob last edited by

                      @ftcsm:

                      Did not work with Feb 18 snapshot, still can't identify the onboard atheros.

                      Please post the output of the command pciconf -l -v (You can use the web GUI Diagnostics -> Command option)

                      This output will help determine if the ale or ae driver is intended to recognise your Atheros NIC. I had a quick look through the ae driver sources and the comments suggest it should support the Atheros L2 but that driver is not in FreeBSD 7.1 (used in pfSense 1.2.3). The ae driver should be in FreeBSD 8.0

                      cmb in an earlier reply didn't make clear whether he talking about the addition of the ale driver or the ae driver.

                      1 Reply Last reply Reply Quote 0
                      • C
                        cmb last edited by

                        ale(4) is the one that was added.

                        1 Reply Last reply Reply Quote 0
                        • F
                          ftcsm last edited by

                          I gave up on using P5GC-MX with pfSense. I'll try other motherboards.

                          Thank you all for your help.

                          Flavio

                          1 Reply Last reply Reply Quote 0
                          • B
                            brfreenet last edited by

                            @ftcsm:

                            I gave up on using P5GC-MX with pfSense. I'll try other motherboards.

                            Thank you all for your help.

                            Flavio

                            Hello to all! Recently I came across the same problem … The solution is simple. First, download the driver http://www.springdaemons.com/stas/if_ae-1214569185.tar.bz2 unzip into a Freebsd box 7.0 and compile. Copy the module if_ae.ko to your pfsense box 1.2.2 /boot/modules and insert the following line to /boot/loader.conf: if_ae_LOAD = "YES". Ready, module loaded and ready for use.

                            Sorry for my bad English.

                            1 Reply Last reply Reply Quote 0
                            • F
                              ftcsm last edited by

                              Your english is really not worse than mine :D

                              Really thanks for your help, I had already give up on that mission.

                              Does it works on FreeBSD 7.1 (for pfSense 1.2.3 or greater)? If yes, on a VM install with FreeBSD 7.1, which option should I select during install to speed up the preparation process?

                              Hoping not to look an ingrate, can you put some instructions on the process (like a mini-howto or just the basic steps)? I assume my little knowledge of compiling kernel related things in FreeBSD and I have to test it really fast.

                              I'll try it anyway, even with no instructions. Maybe I can do it myself without much problems  ;)

                              Flavio

                              1 Reply Last reply Reply Quote 0
                              • B
                                brfreenet last edited by

                                Flávio, you does not need to compile kernel. Unzip the archive of link in a folder and follows these steps:

                                1- cd "/folder_of _file" make
                                2- cp if_ae.ko /boot/modules
                                3- vi /boot/loader.conf  "if_ae_load=" YES"
                                4- It restarts the machine.

                                I did not test with version 1.2.3 of the Pfsense, but it must function since that you compile with Freebsd 7.1.

                                1 Reply Last reply Reply Quote 0
                                • B
                                  brfreenet last edited by

                                  Any thing, sends me an email chaper_ibest.com.br

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

                                    @cmb:

                                    ale(4) is the one that was added.

                                    Why not ae(4)?

                                    I read:

                                    "In FreeBSD 7.1-stable, I can see the following related to atheros:

                                    root@kg-vm# apropos atheros
                                    ae(4) - Attansic/Atheros L2 FastEthernet controller driver
                                    age(4) - Attansic/Atheros L1 Gigabit Ethernet driver
                                    ale(4) - Atheros AR8121/AR8113/AR8114 Gigabit/Fast Ethernet driver
                                    ath(4) - Atheros IEEE 802.11 wireless network driver
                                    ath_hal(4) - Atheros Hardware Access Layer (HAL)"

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

                                      @cmb:

                                      This has been added, though it'll be a couple days til new snapshots are available as we're moving the last repo to git.

                                      Is it possible to add ae(4) too ?

                                      In

                                      http://www.freebsd.org/releases/7.1R/errata.html

                                      I read:

                                      [20090105] The Release Notes for 7.1-RELEASE should have mentioned changes that the ae(4) driver has been added to provide support for the Attansic/Atheros L2 FastEthernet controllers. This driver is not enabled in GENERIC kernels for this release.

                                      1 Reply Last reply Reply Quote 0
                                      • lalex86
                                        lalex86 last edited by

                                        Yes, adding ae(4) would be very useful for me too.
                                        Is it possible for pfsense devs to enable it?

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

                                          I think they already enabled it (ae(4)) because since yesterday, when I installed last 1.2.3 (from 1.2.2),  I see a  new card (ae0) :)
                                          Thanks staff :)

                                          1 Reply Last reply Reply Quote 0
                                          • C
                                            cmb last edited by

                                            Yes, ae(4) was also added at some point in the past couple months.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Products

                                            • Platform Overview
                                            • TNSR
                                            • pfSense Plus
                                            • Appliances

                                            Services

                                            • Training
                                            • Professional Services

                                            Support

                                            • Subscription Plans
                                            • Contact Support
                                            • Product Lifecycle
                                            • Documentation

                                            News

                                            • Media Coverage
                                            • Press
                                            • Events

                                            Resources

                                            • Blog
                                            • FAQ
                                            • Find a Partner
                                            • Resource Library
                                            • Security Information

                                            Company

                                            • About Us
                                            • Careers
                                            • Partners
                                            • Contact Us
                                            • Legal
                                            Our Mission

                                            We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                                            Subscribe to our Newsletter

                                            Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                                            © 2021 Rubicon Communications, LLC | Privacy Policy