2007-06-13 15:31:08 +02:00
|
|
|
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
|
|
|
|
|
2007-06-15 09:59:23 +02:00
|
|
|
Follow the readme to get a svn check out of the source.
|
|
|
|
For the stable 3.0 series, the command is as follows:
|
2019-07-23 04:52:37 +02:00
|
|
|
# svn co http://www.zelow.no/svn/floppyfw-3.0
|
2007-06-13 15:31:08 +02:00
|
|
|
|
2007-06-15 09:59:23 +02:00
|
|
|
Edit the BusyBox config with your favourite editor. It's located at
|
|
|
|
/floppyfw-3.0/configs/config-busybox-1.2.2.1
|
2007-06-13 15:31:08 +02:00
|
|
|
|
2007-06-15 09:59:23 +02:00
|
|
|
Change the line "# CONFIG_INETD is not set" to "CONFIG_INETD=y".
|
2007-06-13 15:31:08 +02:00
|
|
|
|
2007-06-15 09:59:23 +02:00
|
|
|
To add the muninlite package, you should download muninlite.mk.txt from
|
|
|
|
http://pong.no/floppyfw/muninlite/.
|
2007-06-13 15:31:08 +02:00
|
|
|
|
|
|
|
Rename muninlite.mk.txt to muninlite.mk and place in the makefile
|
2007-06-15 09:59:23 +02:00
|
|
|
directory.
|
2007-06-13 15:31:08 +02:00
|
|
|
|
2007-06-15 11:36:53 +02:00
|
|
|
Edit /floppyfw-3.0/Makefile. Find all the TARGETS and add
|
|
|
|
"TARGETS+=muninlite" next to them.
|
|
|
|
|
2007-06-15 09:59:23 +02:00
|
|
|
Then build your own version of floppyfw:
|
|
|
|
# cd /floppyfw-3.0; make
|
2007-06-13 15:31:08 +02:00
|
|
|
|
2007-06-15 09:59:23 +02:00
|
|
|
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.
|
2007-06-13 15:31:08 +02:00
|
|
|
|
2007-06-15 09:59:23 +02:00
|
|
|
Download post-muninlite.ini.txt from http://pong.no/floppyfw/muninlite/
|
2019-07-23 04:52:37 +02:00
|
|
|
to the /floppyfw-3.0/floppy/packages directory and rename it to
|
2007-06-15 09:59:23 +02:00
|
|
|
post-muninlite.ini.
|
2007-06-13 15:31:08 +02:00
|
|
|
|
2007-06-15 09:59:23 +02:00
|
|
|
Make the floppy-image:
|
|
|
|
# cd /floppyfw-3.0; make floppyimage
|
2007-06-13 15:31:08 +02:00
|
|
|
|
2007-06-15 09:59:23 +02:00
|
|
|
You now have a floppy image with muninlite installed and configured.
|
|
|
|
Transfer the image to a floppy and make your customizations to the
|
|
|
|
config and floppyfw.ini files (if any are needed).
|
2007-06-13 15:31:08 +02:00
|
|
|
|
2007-06-15 09:59:23 +02:00
|
|
|
Boot your firewall.
|
2007-06-13 15:31:08 +02:00
|
|
|
|
|
|
|
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.
|