2. Basic configuration - General settings |
First of all you should name your FLI4L router. In this example it is: "fli4l" .This name must appear again in the domain configuration: HOST_x
If you want to use optional services like telnet, ftp or sambar (in the moment only for print servers), you should set an access password - even if these services are - because of the firewall functionality of FLI4L - only reachable for the LAN.
From version 1.5 you MUST define a password.
See also: OPT_TELNETD, OPT_FTPD, OPT_SSHD (in Package INET) und OPT_SAMBA (in Package SAMBA_LPD)
Default setting: PASSWORD='fli4l'
Here you have to decide how your floppy disk will be mounted. You have three choices:
rw Read/Write ro Readonly no None floppy disk will be unmounted after boot-up.
Some configurations definitely need necessarily the mounting of floppy disk as read/write; for example when you want to use the DHCP server or you want to create an imond log file on floppy disk.
Default setting: MOUNT_BOOT='rw'
RAMSIZE contains size of RAM disk for optional packages and drivers. Minimum value is 1024. If you decided to do a hard disk installation and therefor files from opt.tgz shall be written to ext2 partition of this hard disk (default Linux file system), you will have to leave this variable empty: RAMSIZE=''
In chapter 5 you will find information about space requirements (RAM) of OPT packages. Depending on quantity of software to be installed, you should change this to the correct/real value.
An additional hint: After installation you may have a look on the "real" installation by using command "df". You will get detailed information about used/free(available) space in the RAM disk.
Example:
Filesystem 1k-blocks Used Available Use% Mounted on /dev/ram 1307 977 255 79% / /dev/ram1 7931 1878 6053 24% /opt /dev/hda1 8168 3032 5136 37% /boot
Important is hte line with this text: "/dev/ram1 .... /opt". In our example the RAM disk is 8 MB in size, 24% of it are used. The percentage value should not be more than 90%.
Default setting: RAMSIZE='2048'
PART_OPT contains information about the place where opt.tgz has to be de-compressed or where these files are already written to (of course de-compressed). Possible value is for example: 'hda2', if you want to install FLI4L on a hard disk or a compact flash module.
This means:
hda2 for a hard disk as master disk on primary IDE port hdb2 for a hard disk as slave disk on primary IDE port hdc2 for a hard disk as master disk on secondary IDE port hdd2 for a hard disk as slave disk on secondary IDE port
If you decided for manual partitioning, you have to fill in here the ext2 partition, which you wanted to use for it.
IMPORTANT: Always use lower case characters!
This value will be ignored as long as variable RAMSIZE is not empty. This variable will be ignored for routers on floppy disk and routers which had been set up as hard disk setup type A !
Default setting: PART_OPT='hda2'
With this variable you may select, if the router shall mount the partition which was defined in PART_OPT as read-only or read/write. This parameter will be ignored if this partition is a RAM disk (variable RAMSIZE is set). An opt.tgz on a hard disk may be mounted read-only ('ro').
Here you may select, how un-compressing the opt.tgz to a hard disk will be done.
Possible choices:
add: | opt.tgz will simply be copied to/over the already existing files. Files with identical names will be overwritten. Other files which you may have copied manually to the router will not be overwritten (of course) and not deleted. |
cfg: | All configuration files which already exist in folders etc and var will be deleted before un-compressing opt.tgz. |
full: | Folders etc, var and files (that means: all files included in opt.tgz) will be deleted before un-compressing opt.tgz . This is the setting which gives you most safety for configuring the router. You will always have a "clean" and complete configuration on your router. |
none: | opt.tgz will not be un-compressed, there will be no automatic updates. |
Please remeber to use only lower case characters!
Default setting: UPDATE_MODE='full'
«« 2. Basic configuration - Example file | :: Home :: | 2. Basic configuration - Ethernet network adaptor drivers »» |