Technical data

4. Packages
SYSLOGD_ROTATE_DIR The optional variable SYSLOGD_ROTATE_DIR lets you specify the
directory where the archived Syslog files should be stored. Leave it empty to use the
default directory /var/log.
SYSLOGD_ROTATE_MAX The optional variable SYSLOGD_ROTATE_MAX lets you specify the
number of archived/rotated Syslog files.
SYSLOGD_ROTATE_AT_SHUTDOWN With the optional variable SYSLOGD_ROTATE_AT_SHUTDOWN
you can disable the rotate of syslog files at shutdown. Please only do this, if your sys-
logfiles are written directly to a destination on a permanent disk.
4.1.2. OPT_KLOGD Logging kernel messages
Many errors, e.g. a dial-in that failed, are written directly to the console by the Linux kernel.
If you set OPT_KLOGD=’yes’, these messages are redirected to the Syslog daemon which can log
them to a file or send them to a log host (see above). This keeps your fli4l console (almost)
clear.
Recommendation: If you use OPT_SYSLOGD=’yes’ you should also set OPT_KLOGD to ‘yes’.
Default setting: OPT_KLOGD=’no’
4.1.3. OPT_LOGIP Logging WAN IP addresses
LOGIP logs your WAN IP address to a log file. You activate this logging by setting OPT_LOGIP
to ‘yes’.
Default setting: OPT_LOGIP=’no’
LOGIP_LOGDIR Configure directory of log file
The variable LOGIP_LOGDIR contains the directory where the log file should be created or
’auto’ for autodetect.
Default setting: LOGIP_LOGDIR=’auto’
4.1.4. OPT_Y2K Date correction for systems that are not Y2K-safe
fli4l routers are often assembled from old hardware parts. Older mainboards may have a BIOS
that is not Y2K-safe. This can lead to the situation that setting the system date to the 27th
May 2000 causes the BIOS date to become the 27th May 2094 after a reboot. By the way,
Linux will then show the 27th May 1994 as system date.
Normally the system date reflected by fli4l is not important and should not matter at all.
If you use the LCR (Least Cost Routing) functionality of your fli4l router this may very well
play a role.
The reason: The 27th May 1994 was a Friday, the 27th May 2000 in contrast was a Saturday.
And for the weekend there are lower-priced rates or providers, respectively . . .
A first solution to that problem is as follows: The BIOS date is changed from the 27th May
2000 to the 28th May 1994 which was a Saturday, too. However, the problem is not solved
completely yet: Not only does fli4l use the day of week and the current time for least-cost
routing but it also respects bank holidays.
75