### Installing NanoBSD on my Alix mini router box ### | |
I recently got the idea to replace my m0n0wall router/firewall at home by a 'no… | |
First I created a VirtualBox machine with a standard FreeBSD system (I used Fre… | |
To build my embedded system, I used the nanobsd script that is present in the F… | |
There is already a pre-configured version for PC-Engines embedded computers, so… | |
I created my own 'mateusz.conf' configuration file, as well as a 'MATEUSZ' kern… | |
I also needed to add an application from ports into my nanobsd build (namely th… | |
# cd /usr/ports/security/ipsec-tools | |
# make | |
# make package | |
Then, I created a 'packages' directory in the nanobsd config directory, and cop… | |
# mkdir /usr/src/tools/tools/nanobsd/packages | |
# cp /usr/ports/packages/All/ipsec-tools-0.8.1_3.txz /usr/src/tools/tools/nan… | |
Note, that on v9.2 the packages end up in their port directory, so the command … | |
# cp /usr/ports/security/ipsec-tools/ipsec-tools-0.8.1_3.txz /usr/src/tools/t… | |
This same steps can be applied to any port. Take care to add all dependencies t… | |
devel/binutils | |
lang/gcc | |
math/gmp | |
math/mpc | |
math/mpfr | |
net/arping | |
net/bird | |
net/bird6 | |
net/isc-dhcp42-server | |
net/libnet | |
security/ipsec-tools | |
To make the package(s) actually find their way to my destination system, I used… | |
Finally, I executed the build script: | |
# sh nanobsd.sh -c mateusz.conf | |
Then, you have plenty of time to do other things, since the building procedure … | |
If you'd need to perform any future changes that do not require to rebuild the … | |
=== Attachments ========================================== | |
MATEUSZ kernel configuration.txt | |
mateusz.conf |