fli4l documentation - Configuration

2. Basic configuration - imond configuration

##### :::[ START_IMOND ][ IMOND_PORT ][ IMOND_PASS ][ IMOND_ADMIN_PASS ][ IMOND_LED ][ IMOND_BEEP ][ IMOND_LOG ][ IMOND_LOGDIR ][ IMOND_ENABLE ; IMOND_DIAL ; IMOND_ROUTE ; IMOND_REBOOT ]:::

#### START_IMOND

With START_IMOND you may switch activation/de-activation of imond server. imond will manage monitoring/controlling and least-cast-routing of the FLI4L router. Description of imond is therefore done in a separate chapter of this documentation.

Attention: LC routing features can only be used with imond. A time-depending switching of connections is not possible without imond!

For ISDN and DSL routing you will have to use imond from version 1.5 . In this case you will have to set START_IMOND='yes' .

If FLI4L is used as a router between two ethernet networks, set : START_IMOND='no'

Default setting: START_IMOND='yes'

##### [ top ]

#### IMOND_PORT

This defines the TCP/IP port which is observed by imond for connections. Default value of '5000' should not be changed.

##### [ top ]

#### IMOND_PASS

Set a special user password for imond in this variable. When a client accesses port 5000 imond (and its clients) will be waiting for a password from this client before any request will be answered. Exceptions are: Commands: "quit", "help" und "pass". If IMOND_PASS is left empty, no password will be needed.

Variables IMOND_ENABLE, IMOND_DIAL, IMOND_ROUTE, IMOND_REBOOT will possibly enable client to operate control commands in client mode like: dial, hangup, reboot, switching of default route. It also controls the need for an administrator password.

Default setting: IMOND_PASS=''

##### [ top ]

#### IMOND_ADMIN_PASS

Using the administrator password will hand all rights to the client and enables it to use all control functions of the imond server. This is than independent from variables IMOND_ENABE, IMOND_DIAL, etc. If IMOND_ADMIN_PASS is left empty, input of user password enables ALL rights for the client!

Default setting: IMOND_ADMIN_PASS=''

##### [ top ]

#### IMOND_LED

Imond is able to show the online/offline status via a LED. The LED will be connected to a serial port as follows:

Connection 25-pole:

    >20 DTR  -------- 1kOhm -----  |< ---------- 7 GND

Connection 9-pole:

     4 DTR  -------- 1kOhm -----  |< ---------- 5 GND

If there is an existing ISDN or DSL connection, LED will be switched on. Otherwise it is switched off. If all this occurs the other way round, just switch terminals of LED. If LED is not bright enough, replace resistor with a (min.) 470 Ohm resistor.

It is also possible to connect two LEDs with different colors. The second LED must be connected between DTR and GND (do not forget the resistor!), but the other way round. After this one of the LEDs will be switched on - depending on the connection status. A third option is: a dual LED (two colors, three terminals).

Value for IMOND_LED must be a COM port, i.e.: 'com1', 'com2', 'com3' or 'com4'. If no LED is connected to the serial port, leave variable empty.

##### [ top ]

#### IMOND_BEEP

Mit IMOND_BEEP='yes' gibt imond einen Zweiklang-Ton über den PC-Lautsprecher aus, wenn der Zustand von Offline nach Online wechselt und umgekehrt. Im ersten Fall wird zuerst ein tiefer, dann ein hoher Ton ausgegeben. Beim Wechsel in den Offline-Status zurück wird zuerst der höhere, dann der tiefere Ton ausgegeben.

##### [ top ]

#### IMOND_LOG

If IMOND_LOG='yes' , connections will be written as a protocol to file: `/var/log/imond.log` . This file may then be copied to a computer in the network for statistical use, etc. When using the FTP service you will have to set variable OPT_FTP='yes' .

Output format is:

    Circuit YYYY/MM/DD  HH:MM:SS - YYYY/MM/DD  HH:MM:SS  SEC   SEC     CHARGE
            ^^^^^^^^^^  ^^^^^^^^   ^^^^^^^^^^  ^^^^^^^^  ^^^   ^^^     ^^^^^^
            start date  start time  end date    end time   Tim   ChTim   costs

Tim is your online time, ChTim is the time which is calculated by the provider - depending on specific settings (of your provider). Costs will be given in DM. Correct definiton of circuit variable ISDN_CIRC_x_TIMES (see package ISDN) is important for this.

Default setting: IMOND_LOG='no'

##### [ top ]

#### IMOND_LOGDIR

If generation of protocols is switched on, you may set an alternative directory by using IMOND_LOGDIR instead of directory: `/var/log`, ex. '`/boot`'. If you did do, the log file `imond.log` will be generated on floppy disk. In this case you will have to mount floppy disk as "Read/Write".

##### [ top ]

#### IMOND_ENABLE ; IMOND_DIAL ; IMOND_ROUTE ; IMOND_REBOOT

These variables enable specific commands which will be sent from imonc clients to the imond server.

Using these variables , enables the imond server to switch on/off the ISDN interface, dial/hang-up, route again and/or boot the computer.

Default settings:

    IMOND_ENABLE='yes'
    IMOND_DIAL='yes'
    IMOND_ROUTE='yes'
    IMOND_REBOOT='yes'

All additional features of client/server interface of imond are described in chapter 8 .

##### [ top ]