OPNsense Forum

Administrative => Announcements => Topic started by: franco on October 14, 2016, 10:18:12 am

Title: Try OPNsense 16.7.6 on ARM with the Raspberry Pi 1 Model B
Post by: franco on October 14, 2016, 10:18:12 am
Hi all,

We proudly announce the availability of a one-time release of the latest OPNsense for the Raspberry Pi 1 Model B for ARM.

The reasons for choosing a one-time test of the old RPI model is that OPNsense 16.7 is based on FreeBSD 10.3, and it's the only RPI that is supported. PRI2 will be included in FreeBSD 11.0 and we are planning to use this version in OPNsense 17.1.

While old RPI is slower than we hoped for, we want to eventually support a suitable model in the ARM world. This is why there will be no updates to this build. It is strictly for testing purposes.

Now let's install this, shall we. :)

Requirements:

o Raspberry Pi 1 Model B with USB power cable
o at least a 2 GB SD card (may work with USB, too)
o FreeBSD-10.3-RELEASE-arm-armv6-RPI-B.img -> e.g. ftp://ftp.freebsd.org/pub/FreeBSD/releases/arm/armv6/ISO-IMAGES/10.3/FreeBSD-10.3-RELEASE-arm-armv6-RPI-B.img.xz
o Ethernet cable + connection
o HDMI cable + screen
o USB keyboard

The SD card needs to be flashed with the FreeBSD image, then boot and plug in a network cable so that the PRI has access to the Internet for fetching the OPNsense sets. Log in as root / root, then:

# cd /tmp
# mkdir -p /root/tmp
# ln -s ../root/tmp opnsense-bootstrap
# fetch --no-verify-peer https://raw.githubusercontent.com/opnsense/update/9d5ccfac89/bootstrap/opnsense-bootstrap.sh
# sh ./opnsense-bootstrap.sh -i

The last operation takes about 1 hour to complete and will automatically reboot.

OPNsense is now installed with ue0 being used as LAN with IP 192.168.1.1 and DHCP server running. If you want to use it as a DHCP client log in as root / opnsense, then:

Choose (1) Assign Interfaces
On VLAN press enter
On WAN type "ue0" and press enter
On LAN press enter
On confirmation type "y" and press enter

After completion reboot for the settings to take effect as a bug will cause WAN to grab an IP off the DHCP server which wasn't killed in time. ;)

If you have questions or comments or hints, please don't hesitate to let us know.


Stay safe and have fun,
Your OPNsense team