For GhostBSD-build, the latest Realtek network driver for newer (2019 and later) mainboards and laptops is not available by default.
Need to add 'realtek-re-kmod' package by default.
Need to add logic to add the following entries to /boot/loader.conf when latest hardware is detected:
if_re_load="YES"
if_re_name="/boot/modules/if_re.ko"
===
Here's an example of how to detect and update. This assumes the realtek-re-kmod package has been added by default.
Check for Realtek NIC and update /boot/loader.conf
Describe the feature or enhancement.
For GhostBSD-build, the latest Realtek network driver for newer (2019 and later) mainboards and laptops is not available by default.
===
Here's an example of how to detect and update. This assumes the realtek-re-kmod package has been added by default.
Check for Realtek NIC and update /boot/loader.conf
latest_realtek_detected=$(pciconf -lv | grep -q "RTL8125" && echo "true")
if [ "$latest_realtek_detected" = "true" ]; then sysrc -f /boot/loader.conf if_re_load="YES" sysrc -f /boot/loader.conf if_re_name="/boot/modules/if_re.ko" fi
Why this request?
Enabling and using the latest Realtek network driver is needed for mainboards and laptops made after 2018.