{"id":2020,"date":"2024-06-27T11:13:51","date_gmt":"2024-06-27T03:13:51","guid":{"rendered":"http:\/\/iqotom.com\/?p=2020"},"modified":"2024-08-30T10:23:44","modified_gmt":"2024-08-30T02:23:44","slug":"how-to-install-realtek-8125-2-5g-network-adapter-drivers-in-pfsense","status":"publish","type":"post","link":"https:\/\/iqotom.com\/?p=2020","title":{"rendered":"How to install Realtek 8125 2.5G network adapter Drivers in Pfsense"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>\u7cfb\u7edf\u7248\u672c\uff1aPfsense 2.72 CE<\/p>\n\n\n\n<p>\u7f51\u5361\u82af\u7247\uff1aRealtek 8125BG<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>1\u3001\u8fdb\u5165\u63a7\u5236\u53f0\uff0c\u66f4\u65b0\u8f6f\u4ef6\u5305\uff0c\u8f93\u5165\u547d\u4ee4\uff1apkg update<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">[2.7.2-RELEASE][admin@pfSense.home.arpa]\/root: pkg update\nUpdating pfSense-core repository catalogue...\nFetching meta.conf:   0%\nFetching packagesite.pkg:   0%\npfSense-core repository is up to date.\nUpdating pfSense repository catalogue...\nFetching meta.conf:   0%\nFetching packagesite.pkg:   0%\npfSense repository is up to date.\nAll repositories are up to date.<\/code><\/pre>\n\n\n\n<p>2\u3001\u641c\u7d22\u9a71\u52a8\u547d\u4ee4\uff1apkg search realtek-re-kmod\uff0c\u5b89\u88c5\u9a71\u52a8\u547d\u4ee4\uff1apkg install realtek-re-kmod<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">[2.7.2-RELEASE][admin@pfSense.home.arpa]\/root: pkg search realtek-re-kmod\nrealtek-re-kmod-198.00_3       Kernel driver for Realtek PCIe Ethernet Controllers\n[2.7.2-RELEASE][admin@pfSense.home.arpa]\/root: pkg install realtek-re-kmod\nUpdating pfSense-core repository catalogue...\nFetching meta.conf:   0%\nFetching packagesite.pkg:   0%\npfSense-core repository is up to date.\nUpdating pfSense repository catalogue...\nFetching meta.conf:   0%\nFetching packagesite.pkg:   0%\npfSense repository is up to date.\nAll repositories are up to date.\nThe following 1 package(s) will be affected (of 0 checked):\n\nNew packages to be INSTALLED:\n        realtek-re-kmod: 198.00_3 [pfSense]\n\nNumber of packages to be installed: 1\n\nThe process will require 1 MiB more space.\n102 KiB to be downloaded.\n\nProceed with this action? [y\/N]: y\n[1\/1] Fetching realtek-re-kmod-198.00_3.pkg: 100%  102 KiB 104.6kB\/s    00:01\nChecking integrity... done (0 conflicting)\n[1\/1] Installing realtek-re-kmod-198.00_3...\n[1\/1] Extracting realtek-re-kmod-198.00_3: 100%\n=====\nMessage from realtek-re-kmod-198.00_3:\n\n--\nAdd the following lines to your \/boot\/loader.conf\nto override the built-in FreeBSD re(4) driver.\n\nif_re_load=\"YES\"\nif_re_name=\"\/boot\/modules\/if_re.ko\"\n\nBy default, the size of allocated mbufs is enough\nto receive the largest Ethernet frame supported\nby the card.  If your memory is highly fragmented,\ntrying to allocate contiguous pages (more than\n4096 bytes) may result in driver hangs.\nFor this reason the value is tunable at boot time,\ne.g. if you don't need Jumbo frames you can lower\nthe memory requirements and avoid this issue with:\n\nhw.re.max_rx_mbuf_sz=\"2048\"<\/code><\/pre>\n\n\n\n<p>3\u3001\u7f16\u8f91\/boot\/loader.conf\uff0c\u5728\u672b\u5c3e\u6dfb\u52a0\u4e24\u884c<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">if_re_load=\"YES\"\nif_re_name=\"\/boot\/modules\/if_re.ko\"<\/code><\/pre>\n\n\n\n<p>4\u3001\u91cd\u542f\u7cfb\u7edf\uff0c\u8fdb\u5165\u63a7\u5236\u53f0\u8f93\u5165\u547d\u4ee4\uff1akldstat\u67e5\u770b\u72b6\u6001\uff0c\u663e\u793a\u9a71\u52a8\u5df2\u6210\u529f\u52a0\u8f7d\uff08if_re.ko\uff09<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">[2.7.2-RELEASE][admin@pfSense.home.arpa]\/root: kldstat\nId Refs Address                Size Name\n 1   33 0xffffffff80200000  339ce08 kernel\n 2    1 0xffffffff8359e000     76f8 cryptodev.ko\n 3    1 0xffffffff835a6000   103db0 if_re.ko\n 4    1 0xffffffff836aa000   5d7790 zfs.ko\n 5    1 0xffffffff83c82000    1e2b0 opensolaris.ko\n 6    1 0xffffffff847e5000     2220 cpuctl.ko\n 7    1 0xffffffff847e8000     5ee0 ig4.ko\n 8    1 0xffffffff847ee000     3240 ichsmb.ko\n 9    1 0xffffffff847f2000     2178 smbus.ko<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"329\" src=\"http:\/\/iqotom.com\/wp-content\/uploads\/2024\/06\/pf_8125b_01-1024x329.jpg\" alt=\"\" class=\"wp-image-2021\" srcset=\"https:\/\/iqotom.com\/wp-content\/uploads\/2024\/06\/pf_8125b_01-1024x329.jpg 1024w, https:\/\/iqotom.com\/wp-content\/uploads\/2024\/06\/pf_8125b_01-300x96.jpg 300w, https:\/\/iqotom.com\/wp-content\/uploads\/2024\/06\/pf_8125b_01-768x247.jpg 768w, https:\/\/iqotom.com\/wp-content\/uploads\/2024\/06\/pf_8125b_01-1536x494.jpg 1536w, https:\/\/iqotom.com\/wp-content\/uploads\/2024\/06\/pf_8125b_01-660x212.jpg 660w, https:\/\/iqotom.com\/wp-content\/uploads\/2024\/06\/pf_8125b_01.jpg 1702w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7cfb\u7edf\u7248\u672c\uff1aPfsense 2.72 CE \u7f51\u5361\u82af\u7247\uff1aRealtek 8125BG 1\u3001\u8fdb\u5165\u63a7\u5236\u53f0\uff0c\u66f4\u65b0\u8f6f\u4ef6\u5305\uff0c\u2026 <span class=\"read-more\"><a href=\"https:\/\/iqotom.com\/?p=2020\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":315,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,6],"tags":[35,137],"_links":{"self":[{"href":"https:\/\/iqotom.com\/index.php?rest_route=\/wp\/v2\/posts\/2020"}],"collection":[{"href":"https:\/\/iqotom.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iqotom.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iqotom.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iqotom.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2020"}],"version-history":[{"count":2,"href":"https:\/\/iqotom.com\/index.php?rest_route=\/wp\/v2\/posts\/2020\/revisions"}],"predecessor-version":[{"id":2045,"href":"https:\/\/iqotom.com\/index.php?rest_route=\/wp\/v2\/posts\/2020\/revisions\/2045"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/iqotom.com\/index.php?rest_route=\/wp\/v2\/media\/315"}],"wp:attachment":[{"href":"https:\/\/iqotom.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2020"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iqotom.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2020"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iqotom.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2020"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}