1
22.7 Legacy Series / Re: Booting Opnsense from PXE server help needed
« on: August 28, 2022, 05:35:52 am »
Really.. no one.. no one has ever setup opnsense to pxe boot....
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
svnlite checkout https://svn.freebsd.org/base/releases/11.2.0 /usr/src
make -j8 buildworld buildkernel
make installkernel
make installworld
mergemaster -p
pkg-static -f install pkg
pkg update
pkg upgrade
# pkg install ca_root_nss
# fetch https://raw.githubusercontent.com/opnsense/update/master/bootstrap/opnsense-bootstrap.sh
Before running the utility, edit it and comment out the reboot at the bottom of the file# sh ./opnsense-bootstrap.sh
<lan>
<enable>1</enable>
<if>mismatch0</if>
<ipaddr>192.168.1.1</ipaddr>
<subnet>24</subnet>
<ipaddrv6>track6</ipaddrv6>
<subnetv6>64</subnetv6>
<media/>
<mediaopt/>
<track6-interface>wan</track6-interface>
<track6-prefix-id>0</track6-prefix-id>
</lan>
to<lan>
<enable>1</enable>
<if>mismatch0</if>
<ipaddr>dhcp</ipaddr>
<subnet/>
<gateway/>
<ipaddrv6>track6</ipaddrv6>
<subnetv6>64</subnetv6>
<media/>
<mediaopt/>
<track6-interface>wan</track6-interface>
<track6-prefix-id>0</track6-prefix-id>
</lan>
touch /tmp/disable_security_checks
chflags schg /tmp/disable_security_checks
The chflags command is to make sure /tmp is not cleaned on boot up.