Technical data
3. Base configuration
control whether providing the user password is sufficient to execute the control commands
like Dial, Hangup, Reboot, or Changing the Default Route, or whether you need a special
admin password for these requests (see below).
IMOND_ADMIN_PASS Default setting: IMOND_ADMIN_PASS=”
Using the Admin Passwords the client receives all the rights and can thus use all control
functions of the server imond – regardless of the content of the variables IMOND_ENABLE,
IMOND_DIAL etc. If you leave IMOND_ADMIN_PASS empty, the user password is sufficient to
gain all rights!
IMOND_LED The imond server is able to display the router’s online/offline state via a LED.
This LED is connected to a serial port as follows:
25 pin connector:
20 DTR -------- 1kOhm ----- >| ---------- 7 GND
9 pin connector:
4 DTR -------- 1kOhm ----- >| ---------- 5 GND
The LED is on if an ISDN or DSL connection is established, otherwise it is off. If you
want this the other way round you have to reverse the polarity of the LED. You can
reduce the dropper resistor down to 470 ohm if the LED is lit too dimly.
It is also possible to use two different coloured LEDs. In this case you have to connect
the second LED together with a dropper resistor between DTR and GND too, but with
reversed polarity. Then either the first or the second LED will be lit depending on the
router’s state. Another possibility is to use a DUO LED (two-coloured, three pins).
Currently, the serial port’s RTS pin behaves exactly as the DTR pin. You could even
attach a third LED for displaying the online/offline state. However, this behaviour may
change in the future.
The variable IMOND_LED has to be set to the name of the serial port to where the LED
is attached; possible values are ‘com1’, ‘com2’, ‘com3’, and ‘com4’. Leave the variable
empty if you don’t use an LED.
IMOND_BEEP If setting IMOND_BEEP=’yes’, imond will emit a two-tone sound over the PC
speaker whenever the router’s state changes from offline to online and the other way
round. In the first case, the higher tone follows the lower one. In the second case, the
higher tone is emitted before the lower one.
IMOND_LOG Default setting: IMOND_LOG=’no’
You can set IMOND_LOG=’yes’ in order to log connections in the file /var/log/imond.log.
This file can be copied i.e. by scp to another host e.g. for statistical purposes. However,
using scp requires you to install and configure the sshd package appropriately.
The structure of the log file entries is described in Table 3.10.
The costs are denoted in Euro. These values are only meaningful if you correctly define
the corresponding circuit variables ISDN_CIRC_x_TIMES (Page 157).
70










