Howto for floppyfw

git-svn-id: svn://svn.code.sf.net/p/muninlite/code/muninlite@6 35caa317-6b62-4e8a-81c0-b04f0c356266
This commit is contained in:
runesk 2007-06-13 13:31:08 +00:00
parent 7413478552
commit d7e66abf6c

63
doc/floppyfw.txt Normal file
View file

@ -0,0 +1,63 @@
How to make busybox with inetd
------------------------------
Some version numbers might be different, but the steps should be valid
anyway.
Get a copy of the floppyfw devkit:
# http://www.zelow.no/floppyfw/trac/wiki/TheDevkit
Follow the reamde to get a svn check out of the source.
# svn co http://www.zelow.no/svn/floppyfw-3.0
Do a build to get all needed source:
# make
Modify busybox:
# cd build_i386/busybox-1.2.2.1
# make menuconfig
(Locate Networkind Utilities and you will find inetd. You might want
to disable the support for internal inetd services to save some
space)
# cp .config ../../config/config-busybox-1.2.2.1
Restart your build:
# make clean
# make
# make floppy
# make floppyimage
To add the muninlite package, you should download muninlite.mk.txt and
post-muninlite.ini.txt from http://pong.no/floppyfw/muninlite/.
Rename muninlite.mk.txt to muninlite.mk and place in the makefile
directory. post-muninlite.ini.txt should be renamed to
post-muninlite.ini and placed in the packages directory.
You should then be able to build the package:
# make muninlite
Mount your floppyfw image and copy the package and ini file:
# mount -t vfat -o loop floppyfw.img /mnt
# cp packages/muninlite.ffw packages/post-muninlite.ini /mnt/packages/
# umount /mnt
You might want to add other packages like nanotop and e3 as well, and
make some changes to the firewall rules while you have the image
mounted, but that is out of the scope of this how to.
Transfer your image to a floppy and boot your firewall.
If it works, you will see these messages during boot:
Looking for post- scripts...
/mnt/tmp/packages/post-muninlite.ini stripped
/mnt/tmp/packages/post-muninlite.ini chmoded
Running /etc/post-muninlite.ini
Starting inetd.