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

    2.5 upgrade is missing USB Ethernet (ue0)

    Scheduled Pinned Locked Moved Hardware
    20 Posts 4 Posters 2.2k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by stephenw10

      re(4) is for Realtek PCI NICs. You probably want ure(4) which has never been included but is now built for 2.6 snaps. See:
      https://forum.netgate.com/topic/161352/issue-with-upgrade-and-install-latest-version

      For some reason it seems those devices are loaded as generic cdce in 2.4 and 2.6 but not 2.5. Unclear why yet.

      The device will likely work much better with the correct ure driver.

      If you need the 2.4.5p1 installer image just open a ticket and we can get it to you: https://go.netgate.com/

      Steve

      1 Reply Last reply Reply Quote 0
      • V
        vmb @NollipfSense
        last edited by

        @nollipfsense
        Sadly the Realtek kernel module didn't work for me. I get a kernel panic, fatal trap 12: page fault while in kernel mode. The intel Atom based device I am using has a Realtek NIC on the motherboard.

        Fortunately, the FreeBSD 11.3 kernel was still present and I could boot it to delete my /boot/loader.conf.local .

        I have come up with a temporary workaround using a VLAN capable Ethernet switch that I have here. I can configure VLANs for WAN and LAN to use the same parent interface. Alternatively, I could use the unused Atheros WLAN as a separate interface for WAN. I have only ever used it to provide a temporary access point, never used it as a client before in pfSense.

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

          The ure or re module? Did you try loading either in real time?

          As I said the re module will not help you with a USB device, it's a PCI driver.

          Steve

          V 1 Reply Last reply Reply Quote 0
          • V
            vmb @stephenw10
            last edited by

            @stephenw10
            Yes, I tried a kldload of if_re.ko . kldstat reported it was loaded but because my machine's onboard Ethernet adapter is a Realtek the in-kernel version had already grabbed the interface.

            I am looking for a way to upgrade to 2.6.0 from the 2.5.0 console but I can't find a way of doing this using a URL for a 2.6.0 installer image.

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

              Yes, you would need to add that line to the loader file to load the alternative re driver in preference to the in kernel driver.

              You can't upgrade to an installer image. You could try toedit the pkg repo line in the config file, reboot to apply it, then upgrade using menu option 13.
              Add or edit the line:

              <pkg_repo_conf_path>/usr/local/share/pfSense/pkg/repos/pfSense-repo-devel.conf</pkg_repo_conf_path>
              

              Re-installing to 2.6 directly would be better though.

              Steve

              V 1 Reply Last reply Reply Quote 0
              • V
                vmb @stephenw10
                last edited by

                @stephenw10
                Thanks. I will try the repo line edit first. If it fails, I will install 2.6.0 from a flash drive.

                V 1 Reply Last reply Reply Quote 0
                • V
                  vmb @vmb
                  last edited by

                  Upgrading to 2.6.0 using the repo edit worked well. I have a running firewall again with USB Ethernet.

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

                    Nice. Still at the reduced speed though?

                    You should try adding ure in the loader file so it's present at boot if you have not already.

                    Steve

                    V 1 Reply Last reply Reply Quote 0
                    • V
                      vmb @stephenw10
                      last edited by

                      @stephenw10
                      It looks like it is being automatically detected

                      Id Refs Address                Size Name
                       1   28 0xffffffff80200000  3ae8530 kernel
                       2    1 0xffffffff83ce9000     97a0 cryptodev.ko
                       3    1 0xffffffff83cf3000   3bb8f0 zfs.ko
                       4    2 0xffffffff840af000     a448 opensolaris.ko
                       5    1 0xffffffff840ba000     ef18 aesni.ko
                       6    1 0xffffffff84311000     1000 cpuctl.ko
                       7    1 0xffffffff84312000     3d00 if_ure.ko
                       8    1 0xffffffff84316000      b28 coretemp.ko
                      
                      

                      dmesg shows ue0 binding to ure0 at full speed.

                      ure0 on uhub0
                      ure0: <Realtek USB 10/100/1000 LAN, class 0/0, rev 2.10/30.00, addr 2> on usbus0
                      miibus1: <MII bus> on ure0
                      rgephy1: <RTL8251/8153 1000BASE-T media interface> PHY 0 on miibus1
                      rgephy1:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
                      ue0: <USB Ethernet> on ure0
                      
                      

                      A grep for ure on /boot/loader.conf turns up nothing. I am happy the adapter is working again as it did on 2.4.5 .

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

                        Ah, that looks good.

                        Does it report the correct link speed now? Typically it does not using the generic driver.

                        Steve

                        V 1 Reply Last reply Reply Quote 0
                        • V
                          vmb @stephenw10
                          last edited by

                          @stephenw10
                          ifconfig shows...

                          media: Ethernet autoselect (1000baseT <full-duplex>)
                          

                          Web GUI says the same for the interface status.

                          1 Reply Last reply Reply Quote 1
                          • V
                            vmb
                            last edited by

                            I have upgraded my remaining 2.4.5p1 to 2.5.2 today and it correctly recognises the USB Ethernet adaptor using kernel module if_ure.ko .

                            V 1 Reply Last reply Reply Quote 1
                            • V
                              vmb @vmb
                              last edited by

                              @vmb I have upgraded my 2.5.2 installs to 2.6.0 today. The automatic notifications I have configured made it clear that 2.6.0 works better for me.

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