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

    Help getting asix ax88772b to work

    Scheduled Pinned Locked Moved Hardware
    23 Posts 7 Posters 10.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.
    • A
      atamido
      last edited by

      @TheBank:

      ugen4.2: <product 0x772b="" vendor="" 0x0b95="">at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON

      bLength = 0x0012
        bDescriptorType = 0x0001
        bcdUSB = 0x0200
        bDeviceClass = 0x00ff
        bDeviceSubClass = 0x00ff
        bDeviceProtocol = 0x0000
        bMaxPacketSize0 = 0x0040
        idVendor = 0x0b95
        idProduct = 0x772b
        bcdDevice = 0x0001
        iManufacturer = 0x0001  <asix elec.="" corp.="">iProduct = 0x0002  <ax88772b>iSerialNumber = 0x0003  <000163>
        bNumConfigurations = 0x0001

      I have the same problem and followed your steps, I know this post is dead, but this would greatly help me.</ax88772b></asix></product>

      This is how mine looked, buy my USB adapter appears to be working fine with 2.1.  I picked up the AX88772B from this vendor for $15.50USD shipped from HK.  It looked exactly like the picture, and other than a serial number on the bottom there are no other markings.  No brand, model, or regulatory information, so I have no idea how to point someone to the same device.

      1 Reply Last reply Reply Quote 0
      • B
        bryan.paradis
        last edited by

        Please follow the instructions in here by checking dmesg

        How_to_identify_Authentic_ASIX_USB-to-LAN_Products

        Please post your dmesg.

        I have updated the driver to include a new revision that I found in current git… Though I think you will have to rebuild kernel :( I don't think it will load if it is already in the kernel.

        
        #i386
        md5 if_axe.ko
        MD5 (if_axe.ko) = 604CE90437ADAA83132D9FECEC9B43D6
        
        
        
        #amd64
        md5 if_axe.ko
        MD5 (if_axe.ko) = 2C62DD09A13871E9BAF25F912BF3F8B5
        
        

        If it still doesn't work please follow the above instructions to make sure that it is authentic. And post any new errors, dmesg, what you did to reproduce.

        if_axe.ko.i386.txt
        if_axe.ko.amd64.txt

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

          It should load at boot and replace the in-kernel module. That's done often with pci NICs (em, sk, msk etc).

          Steve

          1 Reply Last reply Reply Quote 0
          • B
            bryan.paradis
            last edited by

            @stephenw10:

            It should load at boot and replace the in-kernel module. That's done often with pci NICs (em, sk, msk etc).

            Steve

            Hmm really? Ok let me try that

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

              Yep, done it many times for msk. Never tried for a USB device but I can't see why that would be any different. USB device list not updated perhaps?

              Interesting, I hadn't realised that the module you are working on in the other thread is differently named: if_axe vs if_axge. Is it a completely new module then? With no support for earlier devices?

              Steve

              1 Reply Last reply Reply Quote 0
              • B
                bryan.paradis
                last edited by

                @stephenw10:

                Yep, done it many times for msk. Never tried for a USB device but I can't see why that would be any different. USB device list not updated perhaps?

                What process did you use. I get "module axe already present!"

                @stephenw10:

                Interesting, I hadn't realised that the module you are working on in the other thread is differently named: if_axe vs if_axge. Is it a completely new module then? With no support for earlier devices?

                Steve

                if_axge is just for the 178A and 179 which I backported from november source.

                if_axe is for the other axis devices. I added a revision into the code 772b_1 that was in new source and recompiled

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

                  You have to load it at boot using the /boot/loader.conf.local file. Create that file if it doesn't exist. Add the line:

                  if_axe_load="yes"
                  

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • B
                    bryan.paradis
                    last edited by

                    @stephenw10:

                    You have to load it at boot using the /boot/loader.conf.local file. Create that file if it doesn't exist. Add the line:

                    if_axe_load="yes"
                    

                    Steve

                    I get "module axe already present" in my dmesg.boot. I don't think it overrides.

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

                      Hmm, maybe usb device drivers are different then.

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • B
                        bryan.paradis
                        last edited by

                        @stephenw10:

                        Hmm, maybe usb device drivers are different then.

                        Steve

                        The axe driver is compiled into the kernel there is no way around unless we recompile a kernel.

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

                          Apparently not.  :(  I wonder what's actually different about the USB drivers that prevents it. The PCI drivers can certainly be loaded at boot to displace the in kernel driver.

                          Steve

                          1 Reply Last reply Reply Quote 0
                          • S
                            salida
                            last edited by

                            I want to share my experience with two different usb to lan cards both claiming to have chipset (AX88772 a/b).

                            I managed to install (simple plug&play) only one of the two usb to ethernet adapters (0B95 & 772B), taking name ue0 under pfsense.(the other adapter never worked)
                            but huge but.
                            I set the ue0 as lan card and give it the ip 192.168.1.1
                            and i set my wan card as 192.168.2.2 with gateway my router (192.168.2.1)

                            i can ping from my client pc (192.168.1.2) the lan interface & also i can ping pfsense.org
                            i can ping from my pfsense box the address pfsense.org

                            but again huge but.

                            i never get the packages of pfsense to load (stating that it cant contact pfsense.org, and i should change DNS)
                            i never get to load webpages in my browser.

                            i would appreciate any help given

                            edit0: usb to ethernet adapter is having a weird mac 00:00:00:00:00:01
                            edit1: i updated to 2.2, now usb to ethernet doesnt even get recognized as ue0
                            edit2: i get this errorskernel: ugen1.2: <vendor 0x0b95=""> at usbus1 (disconnected)</vendor>and ```
                            [ There were error(s) loading the rules: pfctl: DIOCADDRULE: Operation not supported by device - The line in question reads [0]: ]

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

                              That is a different problem. The usb ethernet card is clearly working correctly since you're able to ping it from the client machine. One possible cause might be: https://doc.pfsense.org/index.php/Controlling_IPv6_or_IPv4_Preference
                              You should start another thread to discuss that.

                              2.2 is still 'highly experimental'. Many things don't work correctly at this point. You should start a thread in the 2.2 subforum to report this failure if it hasn't already been reported.

                              Steve

                              1 Reply Last reply Reply Quote 0
                              • S
                                salida
                                last edited by

                                @stephenw10:

                                That is a different problem. The usb ethernet card is clearly working correctly since you're able to ping it from the client machine.
                                Steve

                                i am able to ping the interface but not access the web configuration (if usb to ethernet is used as lan interface)

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

                                  If it is responding to pings (or any IP traffic) then the driver is loading correctly and talking to the card.
                                  If you aren't able to access the webgui check your firewall rules on the interface. Check the firewall logs to see what traffic is being blocked. If it's not that it's probably a routing problem, check the client is receiving the correct IP info.

                                  Steve

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    bryan.paradis
                                    last edited by

                                    If you have a look I got AX88179 working on 2.1 with some kernel modules I backported.

                                    The other ones you will need to recompile kernel at least with the modules deselected as far as I understand.

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