2.2 Configuration

2.2.1 Editing the configuration files

For the configuration of fli4l, you only have to adapt the files config/*.txt. We recommend that you make a copy of the ``config'' directory and perform the adaption within this copy. So you will be able to compare your own configuration with the one distributed one at a later time and you will also have the possibility to manage multiple configurations. Comparing two configurations is relatively simple by using an adequate tool. It is done e.g. under *nix as follows:

    ~/src/fli4l> diff -u {config,dsl-floppy}/build/full_rc.cfg | grep '^[+-]'
    --- config/build/full_rc.cfg    2007-03-22 15:34:39.085103706 +0100
    +++ dsl-floppy/build/full_rc.cfg        2007-03-22 15:34:31.094317441 +0100

By this example, you can see that a simple DSL router can be configured without much effort, even if you feel overwhelmed by the ample bounty of possible settings.

2.2.2 Configuration by 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 in such a way that 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:


You should avoid to mix both flavours of configuration.

© 2001-2012 The fli4l-Team - 16 September 2012