User Tools

Site Tools


freebsd:nanobsd_router

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
freebsd:nanobsd_router [2015/02/12 10:12]
tschulz
freebsd:nanobsd_router [2015/02/12 10:35]
tschulz [Notes]
Line 1: Line 1:
 ====== NanoBSD Router ====== ====== NanoBSD Router ======
 +===== Notes =====
 +  * The following configs and files should make a diskimage for a 1GB CF card in use with a Soekris 4801 or better.  ​
 +  * It was designed to work with a 5 ethernet port variant.  ​
 +  * You will need to build this on **FreeBSD 10.1 32bit**.  ​
 +  * port speed is set to **115200**
 +  * When the build process will create a image file **/​usr/​obj/​nanobsd.seokris/​nanobsd_seokris.img**.  ​
 +  * Write this file to a CF card using **dd** or something simular
 +
 +==== Misc Nanobsd notes ====
 +  * by default nanobsd.sh rebuilds world and kernel every build to reuse existing world and kernel builds use the **-b** swtich <​file>​./​nanobsd.sh -c seokris.nano -b</​file>​
 +  * [[http://​bsdrp.net/​documentation/​technical_docs/​nanobsd|Super Handy nanobsd reference]]
 +  * [[https://​www.freebsd.org/​doc/​en/​articles/​nanobsd/​howto.html|Not a terribly usful nanobsd howto]]
 ===== seokris.nano (nano BSD build definition) ===== ===== seokris.nano (nano BSD build definition) =====
  
Line 39: Line 51:
 ===== Fix nanobsd.sh ===== ===== Fix nanobsd.sh =====
 I had to comment out **exit 2** on line 849 of **/​usr/​src/​tools/​tools/​nanobsd/​nanobsd.sh** I had to comment out **exit 2** on line 849 of **/​usr/​src/​tools/​tools/​nanobsd/​nanobsd.sh**
-<file bash>+<file bash /​usr/​src/​tools/​tools/​nanobsd/​nanobsd.sh>
 ... ...
 elif [ $now -eq $have ] ; then elif [ $now -eq $have ] ; then
Line 50: Line 62:
  
 ===== Kernel Config ===== ===== Kernel Config =====
-<file /​usr/​src/​sys/​i386/​conf/​NANO>​+<​file ​kernel ​/​usr/​src/​sys/​i386/​conf/​NANO>​
 ... ...
 ident           NANO ident           NANO
Line 66: Line 78:
 ... ...
 </​file>​ </​file>​
 +
 +===== Packages =====
 +{{:​freebsd:​pkg.tar|Download}} the package arch and extract it to **/​Pkg** ​ on the build machine.
 +e.g. <​file>​
 +tar xvpf pkg.tar -C /
 +</​file>​
 +
  
  
freebsd/nanobsd_router.txt · Last modified: 2015/02/12 15:57 by tschulz