Skip to content

Instantly share code, notes, and snippets.

@notthat9uy
notthat9uy / gist:750a68b822dd611f707491a68172481a
Last active December 16, 2020 13:09 — forked from jovimon/gist:524e116471f249626fd2ccd141f3fe05
compile realtek network driver for pfsense 2.4.x

How to compile and install latest realtek network driver in pfSense 2.4.5 (FreeBSD 11.2)

pfSense versions

  1. Download FreeBSD 11.2 VMDK and create a VM with it as HDD.

  2. Get FreeBSD source tree for your exact FreeBSD version and uncompress it to /usr/src:

    fetch -o /tmp ftp://ftp.freebsd.org/pub/`uname -s`/releases/`uname -m`/`uname -r | cut -d'-' -f1,2`/src.txz
    tar -C / -xvf /tmp/src.txz