Include the updated Realtek driver pkg in the pfSense repo
There is now a FreeBSD package for the 'official' Realtek driver, currently v1.96.04.
This is needed for the new Realtek 2.5G devices but also runs with a lot more stability on numerous older devices.
Currently users are either compiling it themselves or uploading a random binary someone else compiled!
The pkg can be installed using 'pkg add' but the full path is needed and changes. There is also the risk of pulling in some incompatible dependency.
Adding this to our repo would remove those issues.
#2 Updated by Steve Wheeler 2 months ago
- Status changed from Feedback to New
- Assignee deleted (
#5 Updated by Steve Wheeler 2 months ago
- Status changed from Feedback to Resolved
[2.5.0-DEVELOPMENT][email@example.com]/root: pkg search realtek realtek-re-kmod-v196.04_2 Kernel driver for Realtek PCIe Ethernet Controllers [2.5.0-DEVELOPMENT][firstname.lastname@example.org]/root: pkg install realtek-re-kmod Updating pfSense-core repository catalogue... pfSense-core repository is up to date. Updating pfSense repository catalogue... pfSense repository is up to date. All repositories are up to date. The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: realtek-re-kmod: v196.04_2 [pfSense] Number of packages to be installed: 1 The process will require 1 MiB more space. 104 KiB to be downloaded. Proceed with this action? [y/N]: y [1/1] Fetching realtek-re-kmod-v196.04_2.txz: 100% 104 KiB 106.5kB/s 00:01 Checking integrity... done (0 conflicting) [1/1] Installing realtek-re-kmod-v196.04_2... [1/1] Extracting realtek-re-kmod-v196.04_2: 100% ===== Message from realtek-re-kmod-v196.04_2: -- Add the following lines to your /boot/loader.conf to override the built-in FreeBSD re(4) driver. if_re_load="YES" if_re_name="/boot/modules/if_re.ko" By default, the size of allocated mbufs is enough to receive the largest Ethernet frame supported by the card. If your memory is highly fragmented, trying to allocate contiguous pages (more than 4096 bytes) may result in driver hangs. For this reason the value is tunable at boot time, e.g. if you don't need Jumbo frames you can lower the memory requirements and avoid this issue with: hw.re.max_rx_mbuf_sz="2048" [2.5.0-DEVELOPMENT][email@example.com]/root: echo 'if_re_load="YES"' >> /boot/loader.conf.local
re0: <Realtek PCIe GbE Family Controller> port 0x1000-0x10ff mem 0xf7a00000-0xf7a00fff,0xf7900000-0xf7903fff irq 16 at device 0.0 on pci1 re0: Using Memory Mapping! re0: Using 1 MSI-X message re0: ASPM disabled re0: version:1.96.04 re0: Ethernet address: 00:0d:b9:37:30:10