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

    Placa de rede para de funcionar

    Scheduled Pinned Locked Moved Hardware
    25 Posts 4 Posters 2.4k 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.
    • F
      fcostars @stephenw10
      last edited by

      @stephenw10

      Now it worked!

      I added the lines in the conf.local file.
      if_re_load="YES" >> /boot/loader.conf.local
      if_re_name="/boot/modules/if_re.ko" >> /boot/loader.conf.local

      re0: <Realtek PCIe GbE Family Controller> port 0xe000-0xe0ff mem 0xf7b00000-0xf7b00fff,0xf0300000-0xf0303fff irq 17 at device 0.0 on pci4
      re0: Using Memory Mapping!
      re0: Using 1 MSI-X message
      re0: version:1.98.00
      re0: Ethernet address: 00:e0:4c:68:20:25

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

        Nice. Yes you need to see the 'version:' logged to know it has loaded.

        See if that stops the timeouts.

        Steve

        F 2 Replies Last reply Reply Quote 1
        • F
          fcostars @stephenw10
          last edited by

          @stephenw10
          Thank you very much!

          1 Reply Last reply Reply Quote 1
          • F
            fcostars @stephenw10
            last edited by

            @stephenw10
            One last question.
            Which network card do you recommend buying?

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

              Something Intel based. Hence I didn't expect that HP card you referred to to be an issue. Any i350 NIC will be good. There are a lot of fake Intel NICs around though so be careful.

              F 1 Reply Last reply Reply Quote 0
              • F
                fcostars @stephenw10
                last edited by

                @stephenw10 Thank you!

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

                  I had the same problem with a Realtek onboard LAN for many years.
                  64abf2b3-8aa9-4e3a-99e3-e705f72f8f73-image.png
                  What actually worked for me, was to clone https://github.com/alexdupre/rtl_bsd_drv to a FreeBSD 14 instance (branch v1.98) and, compile the driver with make, backup the old if_re.ko from /boot/kernel, and copy the compiled driver over to /boot/kernel.
                  c63e9fad-3952-46cf-bf20-4119ae81d448-image.png

                  Already compiled driver if anyone is looking for it (zip pass 123): https://1drv.ms/u/s!AteTpjotrz-qiuMVNwFrD6CY72xSpg?e=Ftc6ui

                  3b3a758b-5e98-4711-aed1-ce89b9bf3696-image.png

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

                    That's the same driver that is built in the kmod: https://github.com/pfsense/FreeBSD-ports/blob/devel/net/realtek-re-kmod/Makefile#L11
                    In general it's better to use the one from our repo since it's built against our kernel.

                    But compiling your own driver is good practice. 😉

                    Steve

                    S 1 Reply Last reply Reply Quote 1
                    • S
                      sTicKs23 @stephenw10
                      last edited by

                      Hell @stephenw10,
                      Thank you for your response.

                      In my case, I'm running a custom kernel, because pfSense 2.7.0 is not shipping all the kernel modules like 2.6.0 did (please check https://forum.netgate.com/topic/183148/missing-kernel-modules-on-release-2-7-0).

                      At some point I tried using 'realtek-re-kmod-198.00_3.pkg' but I was getting some kernel panics and driver compilation was the only way I got over this.

                      Thanks!

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

                        Hmm, not sure where you got that from then but it wasn't our repo:

                        [2.7.0-RELEASE][admin@pfsense.fire.box]/root: pkg search realtek
                        realtek-re-kmod-198.00_1       Kernel driver for Realtek PCIe Ethernet Controllers
                        
                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.