Technical data

2. Setup and Configuration
2.2.2. Configuration via a special configuration file
Due to the module concept of fli4l, the configuration is distributed across different files. As
editing these separate files may become tedious, it is possible to store the configuration into
a single file called config directory /_fli4l.txt. This file is read in addition to the other
configuration files and its contents override any settings found in the other configuration files.
Recall the example above: In order to configure a simple DSL router, we could simply write
the following lines into this file:
PASSWORD='3P8F3KbjYgzUc'
NET_DRV_N='1'
NET_DRV_1='pcnet32'
START_IMOND='yes'
OPT_PPPOE='yes'
PPPOE_USER='me'
PPPOE_PASS='my-passwd'
OPT_SSHD='yes'
You should avoid to mix both flavours of configuration.
2.2.3. Variables
You will notice that teh lines of some variables are prefixed with a ’#’. and thus are commented.
If this is the case a reasonable default setting is already in effect. Those defaults are documented
for each variable. If you wish to set another value delete the ’#’ at the beginning of the line
and put your value between the apostrophs.
2.3. Setup flavours
Previous versions of fli4l only supported booting from a floppy disk which is not possible
anymore due to causes already described. There are many alternative possible nowadays,
amongst them using an USB stick.
Many other boot media (CD, HD, network, Compact-Flash, DoC, . . . ) exist and fli4l may
also be installed permanently on some of them (obviously only the read-write ones). fli4l may
be booted in three different ways:
Single Image The boot loader loads the linux kernel and then fli4l in a single image. After
that, fli4l is able to continue the boot process without the need to access other boot
media. Examples are the boot types integrated, attached, netboot, and cd.
Split Image The boot loader loads the linux kernel and then a rudimental fli4l image which
mounts the boot medium in a first step, then loads the configuration and the remaining
files from an archive residing on that mounted medium. Examples for this are the boot
types hd (Type A), ls120, attached, and cd-emul.
Installation on a Medium The boot loader loads the linux kernel and then a rudimental fli4l
image which mounts an existing fli4l installation without the need to extract any further
archives. An example for this is a type B hard disk installation.
14