4.1 Beispiel-Datei

#
4.1 Beispiel-Datei

Die Beispiel-Datei ,,base.txt'' im Verzeichnis ,,config'' hat folgenden Inhalt:

    #------------------------------------------------------------------------------
    # General settings:
    #------------------------------------------------------------------------------
    HOSTNAME='fli4l'               # name of fli4l router
    PASSWORD='fli4l'               # password for root login (console, sshd, imond)
    BOOT_TYPE='fd'                 # boot device: fd, fdx2, dualfd, hd, cd, ls120,
                                   # integrated, attached, netboot, pxeboot
                                   # (cd, cdemul, hd and ls120 need an
                                   # installed opt hd)
    MOUNT_BOOT='rw'                # mount boot device (floppy): ro, rw, no
    TIME_INFO='MEZ-1MESZ,M3.5.0,M10.5.0'
                                   # description of local time zone,
                                   # don't touch without reading documentation
    KERNEL_VERSION='2.4.32'        # kernel version
    KERNEL_BOOT_OPTION=''          # append option to kernel command line
    COMP_TYPE_KERNEL='gzip'        # compression-type for kernel: gzip, bzip2
    COMP_TYPE_ROOTFS='gzip'        # compression-type for rootfs: gzip, bzip2
    IP_CONNTRACK_MAX=''            # override maximum limit of connection
                                   # tracking entries
    POWEROFF_ON_HALT='no'          # power off after shutting down the machine
    REAL_MODE_POWEROFF='no'        # switch to real mode before invoking
                                   # apm power off

    #------------------------------------------------------------------------------
    # Localisation
    #------------------------------------------------------------------------------
    LOCALE='de'                    # this variable is used to define the language
                                   # used in several opt's and set other
                                   # country specific settings (e.g. keybord layout)

    #------------------------------------------------------------------------------
    # Mount of extra floppy drive to /floppy:
    #------------------------------------------------------------------------------
    OPT_MOUNTFLOPPY='no'           # mount extra floppy drive: first, second, no

    #------------------------------------------------------------------------------
    # Console settings (serial console, blank time):
    #------------------------------------------------------------------------------
    CONSOLE_BLANK_TIME=''          # time in minutes (1-60) to blank
                                   # console; '0' = never, '' = system default
    SER_CONSOLE='no'               # use serial interface instead of or as
                                   # additional output device and main input device
        SER_CONSOLE_IF='0'         # serial interface to use, 0 for ttyS0 (COM1)
        SER_CONSOLE_RATE='9600'    # baudrate for serial console
        SER_BEEP='no'              # enable beep after boot and shutdown

    #------------------------------------------------------------------------------
    # Debug Settings:
    #------------------------------------------------------------------------------
    DEBUG_STARTUP='no'             # write an execution trace of the boot
    DEBUG_LOG=''                   # sequence to file DEBUG_LOG or console if
                                   # DEBUG_LOG is empty

    #------------------------------------------------------------------------------
    # Show service menu after login:
    #------------------------------------------------------------------------------
    OPT_MENU='yes'                 # service menu for users

    #------------------------------------------------------------------------------
    # keyboard layout
    #------------------------------------------------------------------------------
    KEYBOARD_LOCALE='auto'         # use keyboard layout of country given in 'LOCALE'

    #------------------------------------------------------------------------------
    # Ethernet card drivers:
    #
    #  Driver       Bus     Description
    #
    #  3c503        ISA     3COM EtherLinkII (3c503)
    #  3c505        ISA     3COM Etherlink Plus (3c505)
    #  3c507        ISA     3COM Etherlink 16 (3c507)
    #  3c509        ISA     3COM EtherLinkIII (3c509)
    #  3c515        ISA     3COM EtherLink XL ISA (3c515)
    #  3c59x        PCI     3COM Vortex/Boomerang 3c59x,3c900,3c905
    #  8139cp       PCI     RealTek 8139C+
    #  8139too      PCI     RealTek 8129/8139 10/100 MB (NEW)
    #  rtl8139-db   PCI     RealTek 8129/8139, Donald Beckers Version, see
    #                       <http://www.scyld.com/network/rtl8139.html>
    #  82596                Apricot Xen-II on board Ethernet
    #  acenic       PCI     Alteon AceNIC Gigabit Ethernet
    #  at1700       ISA     AT1700 (Fujitsu 86965) ISA
    #  b44          PCI     Broadcom 4400
    #  cs89x0       ISA     IBM Etherjet, cs89x0 based Cards
    #                       (Option io=0xnnn necessary!)
    #  de4x5        PCI/EISA Digital DE425, DE434, DE435, DE450, DE500
    #  depca        ISA     DEPCA, DE10x, DE200, DE201, DE202, DE422
    #  dgrs         PCI     Digi International RightSwitch PCI/EISA
    #  dl2k         PCI     D-Link DL2000-based Gigabit Ethernet Adapter
    #  dmfe         PCI     DM9102 compatible PCI cards from Davicom
    #  e1000        PCI     Intel EtherExpress PRO/1000 Gigabit Ethernet
    #  e100         PCI     Intel's original driver for EEPRO100
    #  e2100        ISA     Cabletron E21xx ISA
    #  eepro100     PCI     Intel EtherExpressPro PCI 10+/100B/100+
    #  eepro        ISA     Intel EtherExpress Pro/10
    #  eexpress     ISA     EtherExpress16 ISA
    #  epic100      PCI     SMC EPIC/100 (EtherPower II) PCI
    #  eth16i       ISA/EISA    ICL EtherTeam 16i/32
    #  ewrk3        ISA     EtherWORKS 3 ISA (DE203, DE204, DE205)
    #  fealnx       PCI     ASOUND LAN 8139 card - not RTL8139 (NEW)
    #  hamachi      PCI     GNIC-II Gigabit Ethernet
    #  hp100        ISA/EISA/PCI    HP 10/100VG PCLAN (ISA, EISA, PCI)
    #  hp           ISA     HP PCLAN (27245, 27xxx) ISA
    #  hp-plus      ISA     HP PCLAN+ (27247B and 27252A) ISA
    #  lance        ISA     AMD LANCE and PCnet (AT1500, NE2100) ISA
    #  lp486e               Intel Professional Workstation/panther ethernet driver
    #  natsemi      PCI     National Semiconductor
    #  ne2k-pci     PCI     NE2000 PCI clone (eg. Realtek 8029, Winbond 89c940)
    #  ne           ISA     NE2000 ISA clone (eg. Realtek 8019,
    #                       Accton 16xx, NatSemi 8390, UMC 9003/9008)
    #  ni5010               MiCom-Interlan NI5010
    #  ni52                 NI5210 card (i82586 Ethernet chip)
    #  ni65                 ni6510 (am7990 'lance' chip)
    #  ns83820      PCI     cards with National Semiconductor 83820 chip
    #  pcnet32      PCI     AMD PCI PCnet32
    #  r8169        PCI     Realtek 8169 Gigabit Ethernet
    #  sis900       PCI     SiS 900/7016
    #  sk98lin      PCI     SysKonnect Gigabit Ethernet Server Adapters
    #  smc9194              SMC's 9000 series of Ethernet cards
    #  smc-ultra    ISA     SMC ULTRA
    #  starfire     PCI     Starfire
    #  sundance     PCI     DFE-550FX or DFE-530TXS (NEW)
    #  tg3          PCI     Broadcom Tigon3
    #  tlan         PCI     TI ThunderLAN (Compaq Netelligent ...)
    #  tulip        PCI     DECchip Tulip (dc21x4x) PCI
    #  via-rhine    PCI     VIA Rhine PCI (3043, VT86c100A, dfe-530tx)
    #  wd           ISA     SMC WD80*3
    #  winbond-840  PCI     Winbond 840
    #  sunhme       PCI/Sbus    Sun Happy Meal 10/100baseT support
    #                           (only QFE is tested)
    #  yellowfin    PCI     Packet Engines G-NIC PCI Gigabit Eth Adapter
    #
    # Donald Becker drivers, see <http://www.scyld.com/>
    #
    #  epic100-db
    #  3c59x-db             This driver is for the 3Com "Vortex" and
    #                       "Boomerang" series ethercards. Members of the
    #                       series include Fast EtherLink
    #                       3c590/3c592/3c595/3c597 and the EtherLink XL
    #                       3c900 and 3c905 cards.
    #
    #
    # Drivers below need the Package pcmcia installed:
    #
    #  3c574_cs     PCMCIA  3Com 574
    #  3c589_cs     PCMCIA  3Com 589
    #  axnet_cs     PCMCIA  Asix AX88190 Fast Ethernet
    #  fmvj18x_cs   PCMCIA  Fujitsu FMV-J181/182 Ethernet
    #  nmclan_cs    PCMCIA  New Media Ethernet LAN
    #  pcnet_cs     PCMCIA  NS8390-based cards (NE2000, DLINK etc)
    #  smc91c92_cs  PCMCIA  SMC91c92-based cards
    #  xirc2ps_cs   PCMCIA  Xircom: CE2, CEM28, CEM33, or CE3
    #
    # If you don't find your Cardbus Card here then try the equivalent PCI-Driver:
    # 3c59x instead of 3c575_cb or 8139too instead of realtek_cb
    #
    # These drivers need PCMCIA _and_ WLAN:
    #
    #  orinoco_cs   PCMCIA  Lucent/Orinoco WLAN-Cards
    #  hostap_cs    PCMCIA  PrismII/2.5/3 based Cards - supports AP-Mode
    #  wavelan_cs   PCMCIA  WaveLAN
    #  wl24_cs      PCMCIA  ELSA Airlancer MC-2 - Should have Firmware 2.10
    #  airo_cs      PCMCIA  Cisco Aironet 4500 & 4800 series PCMCIA cards
    #  ray_cs       PCMCIA  Raylink wireless cards
    #  netwave_cs   PCMCIA  Netwave AirSurfer Wireless LAN
    #
    # These drivers need Package WLAN
    #
    # WLAN-Card Drivers IEEE802.11b:
    #
    #  hostap_pci   PCI     Prism 2.5 based PCI Wlan Cards
    #  hostap_plx   PCI     Prism 2,2.5 and 3 based PCMCIA-WLan Cards
    #                       in PLX-Adapter
    #  airo         PCI/ISA Cisco Aironet 4500 & 4800 series PCI/ISA cards
    #
    # These 3 drivers acutally only work with Prism-II Cards - alternative driver
    # to hostap_*
    #  orinoco_pci  PCI     Lucent/Orinoco based WLAN-Cards
    #  orinoco_plx  PCI     Lucent/Orinoco based PCMCIA WLAN-Cards in PLX Adapter
    #  orinoco_tmd  PCI     Lucent/Orinoco based WLAN-Cards with TMD PCI-Bridge

    # WLAN-Card Drivers IEEE802.11g:
    #
    #  prism54      PCI/PCMCIA  Prism GT / Prism Duette / Prism Indigo Chipsets
    #                           Achten Sie auf die Hinweise zum Prism54 Treiber
    #                           in der WLAN Dokumentation!
    #  rt2500	PCI/CARDBUS Ralink RT2500 Cards - experimental
    #
    # USB-Card Drivers:
    #
    #  pegasus      teledat Fast Ethernet USB
    #
    #  kaweth       3Com 3C19250
    #               ADS USB-10BT
    #               ATEN USB Ethernet
    #               ASANTE USB To Ethernet Adapter
    #               AOX Endpoints USB Ethernet
    #               Correga K.K.
    #               D-Link DSB-650C and DU-E10
    #               Entrega / Portgear E45
    #               I-O DATA USB-ET/T
    #               Jaton USB Ethernet Device Adapter
    #               Kingston Technology USB Ethernet Adapter
    #               Linksys USB10T
    #               Mobility USB-Ethernet Adapter
    #               NetGear EA-101
    #               Peracom Enet and Enet2
    #               Portsmith Express Ethernet Adapter
    #               Shark Pocket Adapter
    #               SMC 2202USB
    #               Sony Vaio port extender
    #  rtl8150      RTL8150-based USB-Ethernet-Cards
    #  catc         Belkin F5U111
    #               CATC NetMate
    #               CATC NetMate II
    #               smartBridges smartNIC
    #
    # DSL-Modems shown as Ethernetcards:
    #
    #  cdcether     Ericsson PipeRider (all variants)
    #               Motorola (DM100 and SB4100)
    #               Broadcom Cable Modem (reference design)
    #               Toshiba PCX1100U and possibly other cable modems
    #               Sharp Zaurus SL-5000D
    #  eagle-usb    Allied Telesyn AT-AR 215
    #               Sagem 250
    #               Acer ADSL Surf USB
    #               D-Link DSL 260i
    #               Sagem 840
    #               US Robotics USR9000
    #               Sagem F@st 800
    ##
    # USB-to-USB-network-cable:
    #
    #  usbnet       Driver for usb-to-usb networklinks
    #
    # Token ring drivers (see token ring mini howto on
    #     <http://www.tldp.org/docs.html#howto> and feel
    #     free to submit documention changes:
    #
    #  3c359
    #  abyss
    #  ibmtr
    #  lanstreamer
    #  olympic
    #  smctr
    #  tmsisa
    #  tmspci
    #
    #  If you need a dummy device use 'dummy' as you NET_DRV
    #  and IP_NET_%_DEV='dummy<number>' as your device
    #
    #------------------------------------------------------------------------------
    NET_DRV_N='1'                  # number of ethernet drivers to load, usually 1
    NET_DRV_1='ne2k-pci'           # 1st driver: name (e.g. NE2000 PCI clone)
    NET_DRV_1_OPTION=''            # 1st driver: additional option
    NET_DRV_2='ne'                 # 2nd driver: name (e.g. NE2000 ISA clone)
    NET_DRV_2_OPTION='io=0x320'    # 2nd driver: additional option

    #------------------------------------------------------------------------------
    # Ether networks used with IP protocol:
    #------------------------------------------------------------------------------
    IP_NET_N='1'                   # number of IP ethernet networks, usually 1
    IP_NET_1='192.168.6.1/24'      # IP address of your n'th ethernet card and
                                   # netmask in CIDR (no. of set bits)
    IP_NET_1_DEV='eth0'            # required: device name like ethX

    #------------------------------------------------------------------------------
    # Additional routes, optional
    #------------------------------------------------------------------------------
    IP_ROUTE_N='0'                            # number of additional routes
    IP_ROUTE_1='192.168.7.0/24 192.168.6.99'  # network/netmaskbits gateway
    IP_ROUTE_2='0.0.0.0/0 192.168.6.99'       # example for default-route

    #------------------------------------------------------------------------------
    # Packetfilter configuration; there are two styles, old and new -
    # you have to choose one of them.
    #
    # Please choose the new packet filter configuration, the old one is
    # deprecated and only provided for compatibility reasons. During boot
    # up the configuration will be translated to the new configuration,
    # printed to the screen and written bootmsg.txt to allow for an
    # easy migration to the new config style.
    #
    # Old style packet filter config - set ORIG_FW_CONFIG='yes' to use
    # this version
    #------------------------------------------------------------------------------
    ORIG_FW_CONFIG='no'

        #--------------------------------------------------------------------------
        # Known networks - Networks which are allowed to pass the packet
        # filter (additional restrictions may be applied via black/white
        # lists, port based filters, port forwarding opens additional holes, ...)
        #--------------------------------------------------------------------------
        MASQ_NETWORK='IP_NET_1'    # networks to masquerade (e.g. our LAN)
        ROUTE_NETWORK=''           # same as masq_networks, but packets
                                   # going into these networks are not
                                   # masqued, see documentation
        TRUSTED_NETS=''            # allow free and unmasqued
                                   # communication between these networks

        #--------------------------------------------------------------------------
        # Host based restrictions: internal hosts to allow/deny forwarding
        #
        # FORWARD_HOST_WHITE='no'  describes a black list (forbidden)
        # FORWARD_HOST_WHITE='yes' describes a white list (allowed)
        #
        # Example:
        #   FORWARD_HOST_WHITE='no' and FORWARD_HOST_N='0':
        #    -> forwarding of 0 hosts is denied
        #    -> forwarding of all hosts is allowed
        #--------------------------------------------------------------------------
        FORWARD_HOST_WHITE='no'              # 'no': black list, 'yes': white list
        FORWARD_HOST_N='0'                   # number of allowed/denied hosts
        FORWARD_HOST_1='192.168.6.5'         # optional: 1st allowed/denied host
        FORWARD_HOST_2='@client2'            # optional: 2nd allowed/denied host

        #--------------------------------------------------------------------------
        # Port based restrictions: ports to reject/deny forwarding
        #--------------------------------------------------------------------------
        FORWARD_DENY_PORT_N='3'              # no. of ports to reject/deny
                                             # forwarding
        FORWARD_DENY_PORT_1='139 REJECT-TCP' # reject forwarding of netbios
        FORWARD_DENY_PORT_2='445 REJECT-TCP'
        FORWARD_DENY_PORT_3='137-138 REJECT-UDP'

        #--------------------------------------------------------------------------
        # Accept connections from outside to several ports (served ports)
        #--------------------------------------------------------------------------
        # INPUT_POLICY='REJECT'             # be nice and use reject as policy
                                            # already defined in new style
                                            # filter section
        INPUT_ACCEPT_PORT_N='0'             # no. of ports to accept from outside
        INPUT_ACCEPT_PORT_1='22 TCP'        # e.g. allow connection to ssh service

        #--------------------------------------------------------------------------
        # Logging
        #--------------------------------------------------------------------------
        PACKETFILTER_LOG='no'               # log access to rejected/denied ports

    #------------------------------------------------------------------------------
    # New style packet filter config - set NEW_FW_CONFIG='yes' to use this
    # version
    #------------------------------------------------------------------------------
    NEW_FW_CONFIG='yes'                  # new style packet filter config: yes/no

        INPUT_POLICY='REJECT'            # be nice and use reject as policy
        INPUT_ACCEPT_DEF='yes'           # use default rule set
        INPUT_LOG='no'                   # don't log anything
        INPUT_LOG_LIMIT='3/minute:5'     # log 3 events per minute; allow a
                                         # burst of 5 events
        INPUT_REJ_LIMIT='1/second:5'     # reject 1 connection per second; allow a
                                         # burst of 5 events; otherwise
                                         # drop packet
        INPUT_UDP_REJ_LIMIT='1/second:5' # reject 1 udp packet per second; allow a
                                         # burst of 5 events; otherwise drop packet
        INPUT_LIST_N='1'
        INPUT_LIST_1='IP_NET_1 ACCEPT'   # allow all hosts in the local
                                         # network access to the router
        INPUT_LIST_2='tmpl:samba DROP NOLOG' # drop (or reject) samba access
                                             # without logging, otherwise the log
                                             # file will be filled with useless
                                             # entries

        FORWARD_POLICY='REJECT'          # be nice and use reject as policy
        FORWARD_ACCEPT_DEF='yes'         # use default rule set
        FORWARD_LOG='no'                 # don't log anything
        FORWARD_LOG_LIMIT='3/minute:5'   # log 3 events per minute; allow a
                                         # burst of 5 events
        FORWARD_REJ_LIMIT='1/second:5'   # reject 1 connection per second; allow a
                                         # burst of 5 events; otherwise
                                         # drop packet
        FORWARD_UDP_REJ_LIMIT='1/second:5'  # reject 1 udp packet per second; allow
                                            # a burst of 5 events; otherwise
                                            # drop packet
        FORWARD_LIST_N='2'
        FORWARD_LIST_1='tmpl:samba DROP' # drop samba traffic if it tries
                                         # to leave the subnet
        FORWARD_LIST_2='IP_NET_1 ACCEPT' # accept everything else

        POSTROUTING_LIST_N='1'
        POSTROUTING_LIST_1='IP_NET_1 MASQUERADE'  # masquerade traffic leaving
                                                  # the subnet

        PREROUTING_LIST_N='0'
        PREROUTING_LIST_1='1.2.3.4 dynamic:22 DNAT:@client2'
                                                  # forward ssh connections
                                                  # coming from 1.2.3.4 to client2

    #------------------------------------------------------------------------------
    # Simple DMZ setup for dial-up based routers -- see documentation
    #------------------------------------------------------------------------------
    OPT_DMZ='no'

    #------------------------------------------------------------------------------
    # Optional package: PORTFW
    #------------------------------------------------------------------------------
    PORTFW_N='0'                          # how many portforwardings to set up
    PORTFW_1_TARGET='8080'                # sample 1: forward ext. port 8080
    PORTFW_1_NEW_TARGET='192.168.6.15:80' # ...to int. host 192.168.6.15 port 80
    PORTFW_1_PROTOCOL='tcp'               # ...using tcp
    PORTFW_2_TARGET='3000-3010'           # sample 2: forward portrange 3000-3010
    PORTFW_2_NEW_TARGET='192.168.6.15'    # ...to int. host 192.168.6.15
    PORTFW_2_PROTOCOL='tcp'               # ...using tcp

    #------------------------------------------------------------------------------
    # Masq modules
    #------------------------------------------------------------------------------
    MASQ_MODULE_N='1'                     # load n masq modules (default: only ftp)
    MASQ_MODULE_1='ftp'                   # ftp
    MASQ_MODULE_1_OPTION=''               # options, see documentation
    MASQ_MODULE_2='irc'                   # irc
    MASQ_MODULE_2_OPTION=''               # options, see documentation

    #------------------------------------------------------------------------------
    # Domain configuration:
    #------------------------------------------------------------------------------
    DOMAIN_NAME='lan.fli4l'               # your domain name
    DNS_FORWARDERS='194.8.57.8'           # DNS servers of your provider,
                                          # e.g. ns.n-ix.net

    OPT_DNS='yes'                         # start dns server: yes or no
        DNS_TRIGGER_DIAL_IN='yes'	      # trigger a dial-in before
                                          # forwarding requests
        DNS_LISTENIP_N='0'                # if 0 then listen on all interfaces
        DNS_LISTENIP_1='IP_NET_1_IPADDR'  # first IP to listen on
        DNS_VERBOSE='no'                  # log queries into syslog
        DNS_MX_SERVER=''                  # fqdn of the mx for your DOMAIN
        DNS_FORBIDDEN_N='0'               # number of forbidden domains
        DNS_FORBIDDEN_1='foo.bar'         # 1st forbidden domain
        DNS_FORBIDDEN_2='bar.foo'         # 2nd forbidden domain
        DNS_REDIRECT_N='0'                # number of redirected domains
        DNS_REDIRECT_1='foo.bar.foo'      # 1st redirected domain
        DNS_REDIRECT_1_IP='192.168.6.100' # IP of redirected domain
        DNS_BOGUS_PRIV='yes'              # fake reverse lookups for RFC1918
                                          # private address ranges
        DNS_FILTERWIN2K='yes'             # filters useless windows-originated DNS
                                          # requests and blocks all SRV requests

        # Special DNS configuration
        #--------------------------
        DNS_SPECIAL_N='0'                           # number of special
                                                    # dns servers, normally 0
        #DNS_SPECIAL_1='firma.de 192.168.1.12'      # 1st special dns server
                                                    # for firma.de
        #DNS_SPECIAL_2='lan.firma.de 192.168.2.12'  # 2nd special dns server
                                                    # for lan.firma.de

    HOSTS_N='4'                           # number of hosts in your domain
                                          # 1st host:
    HOST_1_NAME='HOSTNAME'                # name or aliasname e.g. "HOSTNAME"
    HOST_1_IP='IP_NET_1_IPADDR'           # IP or aliasname e.g. "IP_NET_1_IPADDR"
    #HOST_1_ALIAS_N='0'                   # number of optional alias names
    #HOST_1_ALIAS_1='router.lan.fli4l'    # 1st optional alias name
    #HOST_1_ALIAS_2='gateway.lan.fli4l'
                                          # 2nd host:
    HOST_2_NAME='client2'                 # name
    HOST_2_IP='192.168.6.2'               # IP
    #HOST_2_MAC='de:ad:af:fe:07:19'       # optional mac address used by dhcpd
                                          # 3rd host:
    HOST_3_NAME='client3'                 # name
    HOST_3_IP='192.168.6.3'               # IP
    #HOST_3_MAC='de:ad:be:ef:07:19'
                                          # 4th host:
    HOST_4_NAME='client4'                 # name
    HOST_4_IP='192.168.6.4'               # IP
    #HOST_4_MAC='de:ad:be:ef:08:15'

    #------------------------------------------------------------------------------
    # DNSMASQ-DHCP server
    #------------------------------------------------------------------------------
    OPT_DNSDHCP='no'                      # activate DHCP server: yes or no

        DNSDHCP_LS_TIME_DYN='3600'        # default time for dynamic leases: 1 hour
        DNSDHCP_MAX_LS_TIME_DYN='7200'    # max time  for dynamic leases: 2 hours
        DNSDHCP_LS_TIME_FIX='86400'       # default time for fix leases: 1 day
        DNSDHCP_MAX_LS_TIME_FIX='604800'  # max time for fix leases: 1 week
        DNSDHCP_LEASES_DIR='/boot'        # don't touch this until you
                                          # have read the manual!

        DNSDHCP_WINSSERVER_1=''           # IP-address of 1st external wins-server
                                          # (don't use if OPT_NMBD='yes'!)
        DNSDHCP_WINSSERVER_2=''           # IP-address of 2nd external wins-server
                                          # (don't use if OPT_NMBD='yes'!)

        # Parameters for local Networks
        # -----------------------------
        DNSDHCP_RANGE_1_START='192.168.6.100'     # start-IP of n'th ethernet,
                                                  # see IP_NET_N
        DNSDHCP_RANGE_1_END='192.168.6.150'       # end-IP of n'th ethernet,
                                                  # see IP_NET_N
        DNSDHCP_RANGE_1_DNS_SERVER=''             # if empty the IP of interface
                                                  # IP_NET_N is used;
                                                  # if set to 'none' no
                                                  # dns-server is transmitted
        DNSDHCP_RANGE_1_NTP_SERVER=''             # if empty and OPT_CHRONY='yes'
                                                  # the IP of interface IP_NET_N
                                                  # is used; if set to 'none' no
                                                  # ntp-server is transmitted
        DNSDHCP_RANGE_1_GATEWAY=''                # if empty the IP of interface
                                                  # IP_NET_N is used;
                                                  # if set to 'none' no
                                                  # gateway is transmitted

        # Parameters for extra Networks (via relay)
        # -----------------------------------------
        DNSDHCP_EXTRA_RANGE_N='0'                    # number of extra ranges
        DNSDHCP_EXTRA_RANGE_1_START='192.168.8.2'    # start-IP of n'th extra range
        DNSDHCP_EXTRA_RANGE_1_END='192.168.8.50'     # end-IP of n'th extra range
        DNSDHCP_EXTRA_RANGE_1_NETMASK='255.255.255.0'  # netmask for extra range
        DNSDHCP_EXTRA_RANGE_1_DNS_SERVER='192.168.8.1' # DNS Server for extra range
        DNSDHCP_EXTRA_RANGE_1_NTP_SERVER=''          # NTP Server for extra range
        DNSDHCP_EXTRA_RANGE_1_GATEWAY='192.168.8.1'  # default gateway for
                                                     # extra range

        DNSDHCP_EXTRA_RANGE_1_DEVICE='eth0'    # device used to reach extra network

        # Deny host for dhcp-Access
        # -------------------------
        DNSDHCP_DENY_MAC_N='0'                    # number of denied MAC addresses
        DNSDHCP_DENY_MAC_1='00:01:02:03:04:05'    # MAC addess ist denied from DHCP

    #------------------------------------------------------------------------------
    # imond configuration:
    #------------------------------------------------------------------------------
    START_IMOND='no'                    # start imond: yes or no
        IMOND_USE_ORIG='yes'            # use the original version of imond instead
                                        # of the development version: yes or no
        IMOND_PORT='5000'               # port (tcp), don't open it to the outside
        IMOND_PASS=''                   # imond-password, may be empty
        IMOND_ADMIN_PASS=''             # imond-admin-password, may be empty
        IMOND_LED=''                    # tty for led: com1 - com4 or empty
        IMOND_BEEP='no'                 # beep if connection going up/down
        IMOND_LOG='no'                  # log /var/log/imond.log: yes or no
        IMOND_LOGDIR='/var/log'         # log-directory, e.g. /var/log
        IMOND_ENABLE='yes'              # accept "enable/disable" commands
        IMOND_DIAL='yes'                # accept "dial/hangup" commands
        IMOND_ROUTE='yes'               # accept "route" command
        IMOND_REBOOT='yes'              # accept "reboot" command

    #------------------------------------------------------------------------------
    # Generic circuit configuration:
    #------------------------------------------------------------------------------
    IP_DYN_ADDR='yes'                   # use dyn. IP addresses (most providers do)
    DIALMODE='auto'                     # standard dialmode: auto, manual, or off

    #------------------------------------------------------------------------------
    # optional package: syslogd
    #------------------------------------------------------------------------------
    OPT_SYSLOGD='no'                       # start syslogd: yes or no
        SYSLOGD_DEST_N='1'                 # number of destinations
        SYSLOGD_DEST_1='*.* /dev/console'  # n'th prio & destination of syslog msgs
        SYSLOGD_DEST_2='*.* @192.168.6.2'  # example: loghost 192.168.6.2
        SYSLOGD_DEST_3='kern.info /var/log/dial.log'  # example: log infos to file

    #------------------------------------------------------------------------------
    # Optional package: klogd
    #------------------------------------------------------------------------------
    OPT_KLOGD='no'                      # start klogd: yes or no

    #------------------------------------------------------------------------------
    # Optional package: y2k correction
    #------------------------------------------------------------------------------
    OPT_Y2K='no'                        # y2k correction: yes or no
        Y2K_DAYS=''                     # correct hardware y2k-bug: add x days

    #------------------------------------------------------------------------------
    # Optional package: PNP
    #------------------------------------------------------------------------------
    OPT_PNP='no'                        # install isapnp tools: yes or no

Zu beachten ist, dass diese Datei im DOS-Format gespeichert ist. Das heißt, sie enthält jeweils am Zeilenende ein zusätzliches Carriage-Return (CR). Da die meisten UNIX-Editoren damit keine Probleme bekommen, habe ich mich für dieses Format entschlossen, denn umgekehrt hat der Windows-Editor bei fehlendem CR am Zeilenende keine Chance!

Sollte es wider Erwarten unter Unix/Linux doch Probleme mit dem Lieblingseditor geben, kann die Datei vor dem Editieren mit einem Befehl in das Unix-Format konvertiert werden:

            sh unix/dtou config/base.txt

Für die Erstellung der Boot-Diskette ist es völlig unerheblich, ob die Datei CRs am Zeilenende enthält oder nicht. Sie werden beim Schreiben auf die Bootdiskette einschließlich der Kommentare komplett ignoriert.

Jetzt aber zum Inhalt...

Das Fli4l-Team
23. Februar 2006