Rewrote how to compile floppyfw with muninlite support

git-svn-id: svn://svn.code.sf.net/p/muninlite/code/muninlite@7 35caa317-6b62-4e8a-81c0-b04f0c356266
This commit is contained in:
kaiog 2007-06-15 07:59:23 +00:00
parent d7e66abf6c
commit 0e9cbfa840
1 changed files with 22 additions and 34 deletions

View File

@ -6,52 +6,40 @@ anyway.
Get a copy of the floppyfw devkit: Get a copy of the floppyfw devkit:
# http://www.zelow.no/floppyfw/trac/wiki/TheDevkit # http://www.zelow.no/floppyfw/trac/wiki/TheDevkit
Follow the reamde to get a svn check out of the source. Follow the readme to get a svn check out of the source.
For the stable 3.0 series, the command is as follows:
# svn co http://www.zelow.no/svn/floppyfw-3.0 # svn co http://www.zelow.no/svn/floppyfw-3.0
Do a build to get all needed source: Edit the BusyBox config with your favourite editor. It's located at
# make /floppyfw-3.0/configs/config-busybox-1.2.2.1
Modify busybox: Change the line "# CONFIG_INETD is not set" to "CONFIG_INETD=y".
# cd build_i386/busybox-1.2.2.1 To add the muninlite package, you should download muninlite.mk.txt from
# make menuconfig http://pong.no/floppyfw/muninlite/.
(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 Rename muninlite.mk.txt to muninlite.mk and place in the makefile
directory. post-muninlite.ini.txt should be renamed to directory.
post-muninlite.ini and placed in the packages directory.
You should then be able to build the package: Then build your own version of floppyfw:
# cd /floppyfw-3.0; make
# make muninlite If you want additional packages, copy the .ffw-files from the
/floppyfw-3.0/build_i386/ directory to the /floppyfw-3.0/floppy/packages
directory.
Mount your floppyfw image and copy the package and ini file: Download post-muninlite.ini.txt from http://pong.no/floppyfw/muninlite/
to the /floppyfw-3.0/floppy/packages directory and rename it to
post-muninlite.ini.
# mount -t vfat -o loop floppyfw.img /mnt Make the floppy-image:
# cp packages/muninlite.ffw packages/post-muninlite.ini /mnt/packages/ # cd /floppyfw-3.0; make floppyimage
# umount /mnt
You might want to add other packages like nanotop and e3 as well, and You now have a floppy image with muninlite installed and configured.
make some changes to the firewall rules while you have the image Transfer the image to a floppy and make your customizations to the
mounted, but that is out of the scope of this how to. config and floppyfw.ini files (if any are needed).
Transfer your image to a floppy and boot your firewall. Boot your firewall.
If it works, you will see these messages during boot: If it works, you will see these messages during boot: