Samsung PC680-ZA Wartungshandbuch

Stöbern Sie online oder laden Sie Wartungshandbuch nach Software Samsung PC680-ZA herunter. Samsung PC680-ZA Technical data Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 390
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen

Inhaltsverzeichnis

Seite 1 - Version 3.10.1

fli4l – flexible internet router for linuxVersion 3.10.1The fli4l-Teamemail: [email protected] 27, 2015

Seite 2 - Contents

1. Documentation of the base package– Remotely accessible imond server daemon for monitoring and controlling Least CostRouting– Remotely accessible te

Seite 3

4. PackagesDNS_REBINDOK_N='8'DNS_REBINDOK_1_DOMAIN='rfc-ignorant.org'DNS_REBINDOK_2_DOMAIN='spamhaus.org'DNS_REBINDOK_3_

Seite 4

4. PackagesDHCP_RANGE_x_START sets the first IP-Address that can be used.DHCP_RANGE_x_END sets the last assignable IP-Address. Both variables DHCP_RANG

Seite 5

4. PackagesNot allowed DHCP-clientsDHCP_DENY_MAC_N Number of MAC-Addresses of hosts which should be rejeced.DHCP_DENY_MAC_x MAC-Address of the host wh

Seite 6

4. Packages• relay with two interfaces• interface to the clients: eth0, 192.168.6.1• interface to the DHCP-server: eth1, 192.168.7.1• DHCP-server: 192

Seite 7

4. PackagesYADIFA_ALLOW_QUERY_NYADIFA_ALLOW_QUERY_x Sets the IP addresses and nets that are allowed to access YAD-IFA. This setting will be used by YA

Seite 8

4. Packages4.6.1. General Configuration VariablesThe packages all use the same configuration variables, they differ only by the package nameprefixes. As a

Seite 9 - 1.1. Introduction

4. PackagesPPPOE_USER='111111111111222222#[email protected]'Infos on user ID’s for other providers are found in the FAQ:• http://extern.fli4l

Seite 10

4. PackagesExample (read as one long line):PPPOE_TIMES='Mo-Fr:09-18:0.049:NMo-Fr:18-09:0.044:YSa-Su:00-24:0.039:Y'Important: Times used in *

Seite 11

4. Packages• small mails can be sent but big mails can’t,• ssh works, scp hangs after initial connecting.To work around this problems fli4l manipulates

Seite 12 - 2. Setup and Configuration

4. PackagesPPPOE_ETH Name of the ethernet interface’eth0’ first ethernet card’eth1’ second ethernet card... ...Default setting: PPPOE_ETH='eth1&ap

Seite 13 - 2.2. Configuration

1. Documentation of the base package– Execution of user-defined commands on incoming phone calls (e.g. to perform In-ternet dial-up)– Support for IP al

Seite 14 - 2.3. Setup flavours

4. Packagesit is not possible to provide them with the DSL package. It is essential to download thesedrivers before from http://www.fli4l.de/download/

Seite 15 - 2.3.1. Router on a USB-Stick

4. PackagesIP_NET_N='1' # Only *one* card with IP-address!IP_NET_1xxx='...' # the usual parametersPPTP_ETH is set to ’eth1’ for th

Seite 16 - OPT_HDINSTALL

4. Packages4.6.5. OPT_POESTATUS - PPPoE-Status-Monitor On fli4l-ConsolePPPoE-Status-Monitor for DSL Connections was developed by Thorsten Pohlmann.With

Seite 17 - 3. Base configuration

4. PackagesProvider DynDNS.orgDYNDNS_x_PROVIDER DYNDNSHomepage http://dyn.com/Provider DynDNS.org (custom)DYNDNS_x_PROVIDER DYNDNSCHomepage http://dyn

Seite 18 - 3.1. Example file

4. PackagesProvider OVH.DEDYNDNS_x_PROVIDER OVHDEHomepage http://www.ovh.de/Provider PHPDYNDYNDNS_x_PROVIDER PHPDYNHomepage http://www.webnmail.de/php

Seite 19

4. Packagescan be guided by the table above to find a host name which fulfills the requirements and meetsthe personal taste.For the configuration you wil

Seite 20

4. PackagesDYNDNS_1_CIRCUIT='1 2 3' # Only ISDN: Circuits 1 to 3orDYNDNS_1_CIRCUIT='pppoe' # Only DSL: pppoe-CircuitorDYNDNS_1_CIR

Seite 21

4. PackagesDYNDNS_LOOKUP_NAMES The IP should only be updated if it really changed. Manyfli4l routers don’t have a permanent data storage like a harddis

Seite 22

4. Packages• xxx will be executed Monday to Friday from 7AM to 8PM Uhr every full hour.EASYCRON_1_COMMAND = 'xxx'EASYCRON_1_TIME = '0 7

Seite 23

4. PackagesHD-Installation In Six Simple Steps1. create a bootable fli4l medium with package BASE and OPT_HDINSTALL. This medium mustbe able to perform

Seite 24 - 3.2. General settings

2. Setup and Configuration2.1. Unpacking the archivesUnder Linux:tar xvfz fli4l-3.10.1.tar.gzIf this does not work, try the following:gzip -d < fli4

Seite 25

4. PackagesBOOT_TYPE set according to type of bootmedia for the installationMOUNT_BOOT='rw' necessary to copy new archives (*.img) to the ha

Seite 26

4. Packages4.9.2. OPT_MOUNT - Automatic Mounting Of FilesystemsOPT_MOUNT mounts data partitions created during installation to /data, file system check

Seite 27

4. PackagesEXTMOUNT_x_OPTIONS Specify special options to be passed to the ’mount’ commandhere.Example:EXTMOUNT_1_VOLUMEID='sda2' # deviceEXT

Seite 28

4. PackagesHDDRV_x_OPTION With HDDRV_x_OPTION additional options can be passed that some driversneed for proper operation (for example an IO-address).

Seite 29 - 3.3. Console settings

4. PackagesHTTPD_LISTENIP The web server usually binds to a so-called wildcard address in orderto be accessed on any router interface. Set the web ser

Seite 30

4. PackagesRange “status” Everything in menu ’Status’.view User can access all menu items.dial User can dial and hang up connections.boot User can reb

Seite 31

4. PackagesOAC_INPUT (optional)Provides protection against circumvention via proxy.OAC_INPUT=’default’ blocks default ports for Privoxy, Squid, Tor, S

Seite 32

4. Packages4.11. HWSUPP - Hardware support4.11.1. DescriptionThis package supplies the support for special hardware components.Supported are:• Tempera

Seite 33

4. Packages4.11.2. Configuration of the HWSUPP packageThe configuration is made, as for all fli4l packages, by adjusting the filepath/fli4l-3.10.1/ config

Seite 34

4. Packages• conservativeThe CPU frequency will be adjusted depending on the current CPU usage. Thefrequency is changed step by step.• powersaveThe CP

Seite 35

2. Setup and Configuration– img/kernel Linux kernel– img/boot*.msg bootscreen texts• Additional packages:– opt/*.txt These ones describe which files wil

Seite 36

4. PackagesHWSUPP_LED_x_PARAM Defines parameters for the selected LED information.Depending on the selection in in HWSUPP_LED_x, in HWSUPP_LED_x_PARAM

Seite 37

4. PackagesHWSUPP_BUTTON_x Defines the action which should be executed on button press.The following actions are supported:• reset - restart the fli4l r

Seite 38

4. Packages4.11.3. Expert settingsThe following settings should only be touched if you know exactly• which hardware you have,• which additional driver

Seite 39 - 3.8. Networks

4. PackagesVPN_CARD_TYPE This configuration variable defines the type of the VPN accelerator.The following values are supported:• hifn7751 - Soekris vpn

Seite 40

4. PackagesSuch a reduction is only allowed once to avoid ambiguities. The address 2001:0:0:1:2:0:0:3can thus either be shortened to 2001::1:2:0:0:3 o

Seite 41

4. PackagesImportant: If the subnet is connected to a tunnel (see IPV6_NET_x_TUNNEL below) thenonly the part of the router address is specified here th

Seite 42 - 3.10. The Packet Filter

4. Packagesaddresses which will not work if the host part is not 64 bits. If the self-configuration failsthe subnet prefix should be checked for incorre

Seite 43

4. PackagesIPV6_TUNNEL_x_TYPE This variable determines the type of the tunnel. Currently, thevalues “raw”, “static”, “sixxs” for dynamic heartbeat-tun

Seite 44 - 3.10.1. Packet Filter Actions

4. PackagesIPV6_TUNNEL_x_REMOTEV4 This variable contains the remote IPv4-address of the tun-nel. Usually this value is given to you by the tunnel prov

Seite 45

4. PackagesIPV6_TUNNEL_x_PASSWORD This variable contains the password for the username above.It can’t contain spaces.Example: IPV6_TUNNEL_1_PASSWORD=&

Seite 46

2. Setup and Configuration2.2.2. Configuration via a special configuration fileDue to the module concept of fli4l, the configuration is distributed across d

Seite 47

4. PackagesPF6_INPUT_POLICY This variable sets the default strategy for all incoming packets forthe router (INPUT-Chain). Possible values are “REJECT”

Seite 48

4. PackagesPF6_INPUT_N This variable contains the number of IPv6-firewall rules for incoming packets(INPUT-Chain). Per default two rules are activated:

Seite 49

4. PackagesPF6_FORWARD_LOG_LIMIT This variable configures the log limit for the FORWARD-chain of the IPv6-firewall to keep it readable. For a detailed d

Seite 50

4. Packagesall packages). For a more detailed description see the documentation of the VariablePF_OUTPUT_POLICY.Default setting: PF6_OUTPUT_POLICY=&ap

Seite 51

4. Packages• All IPv6 address strings (including IP_NET_x etc.) must be enclosed in square brack-ets if followed by a port or a port range.Examples:PF

Seite 52

4. PackagesPF6_PREROUTING_N This variable contains the number of IPv6 firewall rules for forward-ing to a different destination (PREROUTING chain). For

Seite 53 - OPT_KLOGD

4. Packagesparameter lc-default-route (y/n). fli4l (res. imond) will trigger a connection to the internetprovider and assure that all packets leaving t

Seite 54

4. PackagesTyp Karte Needed parameters6 ELSA PCC/PCF cards io or nothing for autodetect (the iobaseis required only if you have more thanone ELSA card

Seite 55 - PF_OUTPUT_N='1'

4. PackagesTyp Karte Needed parametersType-numbers for Capi-drivers:100 Generic CAPI device without ISDNfunctionality,i.e. AVM Fritz!DSL SLno paramete

Seite 56

4. Packages“cat /proc/pci” as “tiger” or similar.To use ISDN types 104 to 114 the matching drivers have to be downloaded from http://www.fli4l.de/down

Seite 57

2. Setup and ConfigurationBefore you try the more advanced installation procedures you should make yourself comfort-able with fli4l by setting up a mini

Seite 58 - 3.10.5. Example

4. PackagesImportant: If calls should be logged with telmond don’t set this value lower than 2otherwise telmond would lack informations for logging.De

Seite 59

4. PackagesIf fli4l is simply used as an internet gateway only one circuit is needed. Exception: fli4l’sleast-cost features should be used. In this case

Seite 60

4. PackagesISDN_CIRC_x_TYPE ISDN_CIRC_x_TYPE specifies the type of connection x. Possible valuesare:’raw’ RAW-IP’ppp’ Sync-PPPIn most cases PPP is used

Seite 61 - 3.10.6. Default Configurations

4. Packages• ISDN_CIRC_1_BANDWIDTH=’10000 30’This is intended to add a second channel after 30 seconds if 10000 B/s were reachedduring that timespan.

Seite 62

4. PackagesISDN_CIRC_x_FRAMECOMP (EXPERIMENTAL) This parameter is only used ifOPT_ISDN_COMP is set to ’yes’. It handles frame compression.The followin

Seite 63 - Internet

4. PackagesISDN_CIRC_%_ROUTE_N='2'ISDN_CIRC_%_ROUTE_1='192.168.8.0/24'ISDN_CIRC_%_ROUTE_2='192.168.9.0/24'All nets must

Seite 64

4. Packages• ISDN_CIRC_x_CALLBACK=’out’:In this case ISDN_CIRC_x_CBDELAY is the ringing timespan for the other party untilfli4l waits for callback. ISD

Seite 65

4. PackagesISDN_CIRC_x_CHARGEINT Set charge interval in seconds which will be used for calculat-ing online costs.Most providers charge by minute inter

Seite 66 - 3.10.8. Conntrack-Helpers

4. PackagesImportant: timespans specified in ISDN_CIRC_x_TIMES have to cover the whole week.Without that no valid configuration can be generated.If time

Seite 67

4. PackagesTELMOND_MSN_N If certain calls should only be visible on some client PC’s imonc a filtercan be set to achieve that MSNs are only protocolled

Seite 68 - 3.11. Domain configuration

2. Setup and Configurationis the smallest, such that running the router with very low memory is possible in the majorityof cases.You can find further in

Seite 69 - 3.12. imond configuration

4. PackagesIn the first case the command sequence “sleep 5; imonc dial” is executed if caller withid 0987654321 calls MSN 1234567. Two commands are exe

Seite 70

4. Packagesthe routers via network as if it was installed locally. This is similar to the package “mtgcapri”.The difference is that only Windows system

Seite 71

4. Packages4.14. OpenVPN - VPN SupportAs of version 2.1.5 package OpenVPN is part of fli4l.Important: For using OpenVPN over the Internet a flatrate or

Seite 72 - DIALMODE=’auto’

4. Packagesto be different. Thus it is not possible to connect two nets over a tunnel that both useIP range 192.168.6.0/24.transport net The transport

Seite 73

4. PackagesOPENVPN_x_REMOTE_HOST_N Default: OPENVPN_x_REMOTE_HOST_N=’0’Using dynamic DNS services is not alsways 100% reliable. You may simply use two

Seite 74

4. PackagesOpenVPN needs a keyfile for encrypting an OpenVPN connection. This keyfile can begenerated unter Windows or Linux by OpenVPN itself. Beginner

Seite 75

4. PackagesFigure 4.2.: fli4l config directory with OpenVPN *.secret filesOPENVPN_x_BRIDGE Default: OPENVPN_x_BRIDGE=”Holds the name of the bridge this O

Seite 76

4. Packages• IP address may not be used for any local network device.• IP address may not belong to any network routed by IP_ROUTE_x.• IP address may

Seite 77 - 4.2. Advanced Networking

4. PackagesOPENVPN_x_ROUTE_N Default: OPENVPN_x_ROUTE_N=”This setting is only valid if OPENVPN_x_TYPE (Page 165) is set to ’tunnel’ for this Open-VPN

Seite 78

4. Packagesan additional DNS server) it will be assumed that a DNS server is listening on the IP of theother end of the tunnel (see OPENVPN_x_REMOTE_V

Seite 79 - BONDING_DEV_x_MODE=”

3. Base configurationSince fli4l 2.0 the distribution is designed to be modular and consists of multiple packageswhich have to be downloaded separately.

Seite 80 - BONDING_DEV_x_MAC=”

4. PackagesThis setting will cause OpenVPN to automatically generate keyfiles on boot of the fli4lrouter. An OpenVPN connection won’t be started then. F

Seite 81

4. PackagesOPENVPN_DEFAULT_PF_FORWARD_POLICY Default: OPENVPN_DEFAULT_PF_FORWARD_POLICY=’REJECT’This setting equals ’PF_FORWARD_POLICY=’ (Page 54) in

Seite 82 - 4.2.3. VLAN - 802.1Q Support

4. PackagesThis start an OpenVPN tunnel running in background. Instead of name.conf use thename of your configuration file in directory /etc/openvpn.OPE

Seite 83

4. PackagesOPENVPN_DEFAULT_SHAPER Default: OPENVPN_DEFAULT_SHAPER=”Restricts outgoing bandwidth of the tunnel to the specified value of bytes per secon

Seite 84

4. PackagesOPENVPN_x_COMPRESS Default see: OPENVPN_DEFAULT_COMPRESSSee OPENVPN_DEFAULT_COMPRESS (Page 169). In contradiction to the default setting th

Seite 85

4. PackagesOPENVPN_x_VERBOSE Default see: OPENVPN_DEFAULT_VERBOSESee OPENVPN_DEFAULT_VERBOSE (Page 172). In contradiction to the default setting thiss

Seite 86

4. PackagesOPENVPN_x_PF_FORWARD_LOG Default see: OPENVPN_DEFAULT_PF_FORWARD_LOGSee OPENVPN_DEFAULT_PF_FORWARD_LOG (Page 170). In contradiction to the

Seite 87 - 4.2.6. Notes

4. PackagesOPENVPN_x_MSSFIX Default see: OPENVPN_DEFAULT_MSSFIXSee OPENVPN_DEFAULT_MSSFIX (Page 172). In contradiction to the default setting thissett

Seite 88

4. PackagesFigure 4.3.: Connection OverviewSymbol Descriptionrestart OpenVPN process and try to connect.stop OpenVPN process.reset connection.reset co

Seite 89 - 4.2.9. Example

4. PackagesFigure 4.4.: Detail view of a connection (Keymanagement)Log: last 20 lines of the connection logfile. If more lines should be displayed ente

Seite 90

3. Base configurationTable 3.1.: Overview of additional packagesArchive to download Packagefli4l-3.10.1 BASE, required!kernel_3_14 Kernel 3.14.z, recom

Seite 91

4. PackagesSupport informations: Shows all informations relevant when problems occur. You maycopy&paste these informations i.e. for a post on the

Seite 92 - 4.4.1. OPT_DHCP_CLIENT

4. PackagesOPENVPN_DEFAULT_TUN_MTU='1500'OPENVPN_DEFAULT_MSSFIX='1300'OPENVPN_DEFAULT_FRAGMENT='1300'For fli4l versions p

Seite 93 - DHCP-Relay

4. PackagesOpenVPN Option Peter MariaOPENVPN_2_NAME ’bridge’ ’bridge’OPENVPN_2_REMOTE_HOST ’10.1.0.1’ ’10.2.0.1’OPENVPN_2_REMOTE_PORT ’10005’ ’10006’O

Seite 94 - 4.5.2. DNS-Server

4. Packagesis edited. Unfortunately the tun/tap driver for Windows is not as flexible as its Unix pendant.Point-to-Point addresses for VPN IP have to b

Seite 95

4. Packagescable nets. DNSMASQ DHCP server’s settings have to be changed to achieve that. Packageadvanced_networking will be needed as well. Settings

Seite 96

4. Packageshttp://wiki.freifunk.net/OpenVPNhttp://w3.linux-magazine.com/issue/24/Charly.pdfhttp://w3.linux-magazine.com/issue/25/WirelessLAN_Intro.pdf

Seite 97

4. PackagesPPP_NETWORK PPP_NETMASK PPP_NETWORK holds the network used and variable PPP_-NETMASK the netmask. These two variables are used by the extra

Seite 98

4. Packages#! /bin/shdev='/dev/ttyS0' # COM1, for COM2: ttyS1speed='38400' # speedoptions='defaultroute crtscts' # optio

Seite 99

4. PackagesPRIVOXY_x_LISTEN Specify IP addresses or symbolic names including portnumber of theinterface here on which Privoxy should listen to clients

Seite 100 - 4.5.3. DHCP-server

4. PackagesPRIVOXY_x_CONFIG This option enables interactive configuration editing for proxy usersusing Privoxy’s web interface. For further details ple

Seite 101

3. Base configuration####-----------------------------------------------------------------------------## Creation: 26.06.2001 fm## Last Update: $Id: ba

Seite 102 - 4.5.4. DHCP-Relay

4. PackagesTOR_LISTEN_x Specify IP addresses or symbolic names including portnumber of the inter-face here on which Tor should listen to clients. It i

Seite 103 - 4.5.5. TFTP-server

4. Packages4.17.3. OPT_SS5 - Ein Socks4/5 ProxyFor some programs a Socks proxy may be needed. SS5 provides this functionality.http://ss5.sourceforge.n

Seite 104 - START_IMOND

4. PackagesTRANSPROXY_ALLOW_NTRANSPROXY_ALLOW_x List of nets and/or IP addresses for which the packet filter hasto be opened. It should cover the nets

Seite 105

4. PackagesSoftware:• Package: advanced_networking• Package: dhcp_client (for the use of ID8)The following describes adapting the config files base.txt,

Seite 106

4. PackagesVDSL modem fli4l router IPTV-STB interfaceLAN interfaceFigure 4.6.: fli4l in an IPTV configurationA note for those using only ’normal DSL’, ie

Seite 107

4. PackagesOPT_DHCP_CLIENT='yes'DHCP_CLIENT_TYPE='dhcpcd'DHCP_CLIENT_INTERFACES='IP_NET_3_DEV' # listen on interface eth

Seite 108

4. PackagesIt is important to change the MAC addresses for eth1.7 and eth1.8 to be different from eth1’sone, otherwise - depending on the VDSL net dist

Seite 109 - PPPOE_TYPE defines the

4. PackagesIGMPPROXY_DEBUG By specifying ’yes’ here messages of the IGMP proxy are sent tosyslog.IGMPPROXY_DEBUG2 By specifying ’yes’ here the log lev

Seite 110

4. PackagesIGMPPROXY_WLIST_N With this parameter the number of whitelists for IGMP reportsis determined.IGMPPROXY_WHLIST_NET_x :Using IGMPv3 all addre

Seite 111

4. PackagesHint: Despite to earlier versions of the documentation the rules were restrictedto the nets really needed. If IPTV does not work as exepect

Seite 112

Contents1. Documentation of the base package 91.1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92. Setup

Seite 113

3. Base configurationCONSOLE_BLANK_TIME='' # time in minutes (1-60) to blank# console; '0' = never, '' = system defaultBE

Seite 114

4. PackagesSTUNNEL_x_NAME The name of each tunnel. Must be unique for all configured tunnels.Example: STUNNEL_1_NAME='imond'STUNNEL_x_CLIENT

Seite 115 - OPT_DYNDNS

4. Packagesan IPv6 address using STUNNEL_1_ACCEPT='IPV6_NET_2_IPADDR:443' or vice versa byusing (STUNNEL_1_ACCEPT_IPV4='no' and IP

Seite 116

4. Packagescan only be reached through a dynamic DNS name and the address behind the namechanges frequently, or if an active dialin when starting “stu

Seite 117 - 4.8.2. Examples

4. Packagescertificate. This setting ensures that really only a fixed and known peer may connect(server tunnel) or a connection to only a known peer (cl

Seite 118 - 4.8.4. Installation

4. PackagesSTUNNEL_1_CERT_VERIFY='both'STUNNEL_2_NAME='remote-imond2'STUNNEL_2_CLIENT='yes'STUNNEL_2_ACCEPT='any:50

Seite 119

4. PackagesA modem manages a packet queue where packets are stored that exceed the available band-width. With DSL modems for example these queues are

Seite 120

4. PackagesQOS_INTERNET_DEFAULT_DOWN='0'Example:Two classes have been created and a filter puts all packets for a certain IP address intothe

Seite 121 - MOUNT_BOOT=’ro’

4. PackagesThree subclasses of our parent class above where QOS_CLASS_x_MINBANDWIDTH- and QOS_-CLASS_x_MAXBANDWIDTH settings look like this:QOS_CLASS_

Seite 122

4. PackagesQOS_CLASS_2_PRIO='1'QOS_CLASS_3_MINBANDWIDTH='40Kibit/s'QOS_CLASS_3_PARENT='1'QOS_CLASS_3_MAXBANDWIDTH='

Seite 123

4. PackagesQOS_FILTER_x_CLASS='25'By QOS_CLASS_x_DIRECTION it is set if a class belongs to up- or downstream. If a filteris set then queueing

Seite 124 - 4.10.2. User Management

3. Base configurationIP_ROUTE_2='0.0.0.0/0 192.168.6.99'# example for default-route#---------------------------------------------------------

Seite 125 - DYNDNS (Page 112)

4. PackagesQOS_FILTER_x_PORT Ports and port ranges can be set here, separated by spaces andcombined in any manner. If this variable is empty traffic on

Seite 126 - ’DROP’ or ’REJECT’ (default)

4. PackagesThis is extremely important with asymetric connections (up- and downstream band-widths differ) like used in most DSL lines. Those most likel

Seite 127 - 4.11.1. Description

4. PackagesDSCP* Differentiated Services Code PointDSCP is a marking according to RFC 2474. This process has replaced TOSmarking mostly since 1998.Filt

Seite 128

4. Packageso123F1 F2 F3Figure 4.7.: Example 1OPT_QOS='yes'QOS_INTERNET_DEV_N='1'QOS_INTERNET_DEV_1='ppp0'QOS_INTERNET_BA

Seite 129

4. PackagesQOS_FILTER_1_OPTION=''QOS_FILTER_2_CLASS='2'QOS_FILTER_2_IP_INTERN='192.168.0.3'QOS_FILTER_2_IP_EXTERN='

Seite 130

4. PackagesConfiguration looks like this:2 classes for 2 PCs getting 1/2 interface bandwidth each with 2 classes for a port getting2/3 and the rest get

Seite 131

4. PackagesQOS_FILTER_1_IP_INTERN='192.168.0.2'QOS_FILTER_1_IP_EXTERN=''QOS_FILTER_1_PORT='80'QOS_FILTER_1_PORT_TYPE=&ap

Seite 132 - 4.11.4. Support for VPN cards

4. PackagesF8o213 4 5 6F1 F2F3 F4 F5 F6F7level 2level 3level 1level 0Figure 4.9.: Example 3is for a second client PC divided in 2/3 http and 1/3 for t

Seite 133 - 4.12.2. Address Format

4. PackagesFor upstream class number two should be the default class. The network device eth0 is setto 10Mibit/s.QOS_CLASS_N='2'QOS_CLASS_1_

Seite 134 - 4.12.3. Configuration

4. Packages4.19. SSHD - Secure Shell, Secure CopyA secure shell enables you to open an encrypted connection with the fli4l router. By usingsecure copy

Seite 135

3. Base configuration# reject 1 udp packet per second; allow a burst# of 5 events; otherwise drop packetPF_OUTPUT_N='0' # number of OUTPUT ru

Seite 136 - DNS_SUPPORT_IPV6=’yes’

4. PackagesFigure 4.10.: Directory structure of fli4l220

Seite 137

4. PackagesIf you created a new host key set SSHD_CREATEHOSTKEYS back to ’no’ to avoid creatinganother host key on every reboot.If you log in to your

Seite 138

4. Packagesssh client. The public part of the key will be needed on the fli4l router and is provided toit by SSHD_PUBLIC_KEY_x or SSHD_PUBLIC_KEYFILE_x

Seite 139 - PF6_LOG_LEVEL is active

4. PackagesIf dbclient’s known hosts should be saved permanently the file known_hosts from thedirectory /.ssh on the router has to be copied to config/e

Seite 140 - PF_INPUT_UDP_REJ_LIMIT

4. PackagesOPT_FTP FTP-ClientThe ftp program can connect fli4l to a FTP server to move files between the two of them.FTP_PF_ENABLE_ACTIVE The setting FT

Seite 141

4. PackagesOPT_NTTCP Network checksThe program NTTCP can check network speed. On one side a server is started and onthe other side the client.Start th

Seite 142

4. PackagesOPT_RTMON Installs a tool that will track changes in routing tables. Primary used fordebugging.OPT_SOCAT The program “socat” is more or les

Seite 143

4. PackagesDriver: 'unknown'ISA bridge: Advanced Micro Devices [AMD] CS5536 [Geode companion] ISA (rev 03)Driver: 'unknown'IDE int

Seite 144

4. PackagesOPT_MTOOLS mtools provide some DOS-like commands for simpler handling of DOS media(copying, formatting, a.s.o.).Exact syntax of the command

Seite 145 - 4.12.4. Web-GUI

4. PackagesDial-in data of some german providersProvider APN Username PasswordT-Mobile internet.t-mobile arbitrary arbitraryVodafone web.vodafone.de a

Seite 146 - 4.13.2. ISDN Card

3. Base configurationIMOND_PORT='5000' # port (tcp), don't open it to the outsideIMOND_PASS='' # imond-password, may be emptyI

Seite 147 - 4. Packages

4. PackagesUMTS_FILTER Default setting: UMTS_FILTER=’yes’fli4l automatically hangs up if no traffic is going over the ppp0 interface in the hanguptimeout

Seite 148

4. PackagesttyUSB0 for usbstickttyS2 for pcmciattyACM0 for usbphoneUMTS_CTRL (optional)Some adapter have more interfaces for modem control. If only on

Seite 149 - OPT_SYSLOGD (Page 73)

4. Packages• empeg - USB Empeg Mark I/II• ftdi_sio - USB FTDI Serial Converter• io_edgeport - Edgeport USB Serial• io_ti - Edgeport USB Serial• ipaq -

Seite 150 - 4.13.4. ISDN-Circuits

4. Packages4.22.3. Mounting Of USB DevicesPlugged USB devices will be detected automatically but must be mounted and unmounted ’byhand’. When plugging

Seite 151

4. Packageserrors. Either the computer does not start at all (it even can’t be switched on) or the WLANcard is not found on PCI scan.WLAN cards are ad

Seite 152

4. PackagesWLAN_x_NOESSID Deactivates sending ESSID during beacon frames. Only valid withhostap_* driver and Firmware = 1.6.3 in WLAN_MODE=’master’Thi

Seite 153

4. PackagesXXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX 128 Bit Hex-Key (X=0-F)XXXX-XXXX-XX 64 Bit Hex-Key (X=0-F)s: 5 characters 64 Bits: 6-13 characters 128 Bit

Seite 154 - ISDN_CIRC_1_USER=’123456#123’

4. PackagesWLAN_x_WPA_DEBUG In case of problems with WPA set this variable to ’yes’ for thedaemon to provide more verbose output for debugging.WLAN_x_

Seite 155

4. PackagesIf the file is deactivated WPS clients using it can not connect to the Access Point anymore.WPS-Clients connected with deactivated file are n

Seite 156

4. PackagesWLAN_1_WPA_TYPE='2' # WPA 2WLAN_1_WPA_ENCRYPTION='CCMP'WLAN_1_WPA_PSK='your best passphrase choice ever (16-63 cha

Seite 157

3. Base configuration#------------------------------------------------------------------------------# Optional package: PNP#---------------------------

Seite 158

4. Packagesof them.The base device’s name is still wlan0, the next in VAP mode will be wlan0v2 a.s.o. Forbinding to a bridge please use WLAN_x_BRIDGE=

Seite 159

4. Packages• The programs perl and pythonIn the following, characters printed bold represent keyboard input, the -character standsfor the Enter key on

Seite 160

4. PackagesUnder the Buildroot directory ˜/.fbr/fbr-<branch>-<arch>/buildroot the following di-rectories are of interest:Directory Content

Seite 161

4. PackagesVariable DescriptionFBR_ARCH This variable specifies the processor architecture for whichthe FBR (or FBR packages) should be built. If it is

Seite 162 - 4.14. OpenVPN - VPN Support

4. Packagesremove all artifacts that have been generated during the last FBR build. You will have toconfirm this action.17This is also useful to free u

Seite 163

4. Packagesa crash a memory dump is generated in /var/log/dumps/core.<PID>. “PID” is the processID of the crashed process. You may analyze the s

Seite 164

4. Packages[New LWP 2241][New LWP 2237][New LWP 2234][New LWP 2253][New LWP 2254][New LWP 2258][New LWP 2260]Failed to read a valid object file image

Seite 165

4. Packages717 rrd_file->pos += count;718 return count; /* mimmic write() semantics */719 #else720 ssize_t _sz = write(rrd_simple_file->fd, buf,

Seite 166

4. Packagesand libraries should be identified that use libm (Library with mathematical functions) usefbr-make links-against libm.so.0 because libm.so.0

Seite 167

4. PackagesReconfiguration Of The uClibc LibraryWith fbr-make uclibc-menuconfig the funcionality of the uClibc library in use may bechanged. On success

Seite 168

3. Base configurationhd Choose this to boot from a hard disk. You will find more information in the Docu-mentation (Page 118) of the HD package.cd Choos

Seite 169 - 4.14.5. Expert Settings

4. Packagesthe changes to the SVN repository will be merged and the problem of lost configuration doesnot occur.) However, your own FBR packages may be

Seite 170

5. Creating the fli4l Archives/Boot mediaIf all configuration is completed, the fli4l archives/boot media may be created as either bootableCompact-Flash,

Seite 171

5. Creating the fli4l Archives/Boot mediaUsage: mkfli4l.sh [options] [config-dir]-c, --clean cleanup the build-directory-b, --build <dir> set bui

Seite 172

5. Creating the fli4l Archives/Boot mediaare using this script at your own risk. The necessary fli4l files will be copied onto the specifiedpartition. At

Seite 173

5. Creating the fli4l Archives/Boot media5.2. Creating the fli4l Archives/Boot media under WindowsUtilize the tool ‘AutoIt3’ (http://www.autoitscript.co

Seite 174

5. Creating the fli4l Archives/Boot mediaconfig-dir sets other config-directory - default is "config"*** Remote-Update options--remoteupdate

Seite 175

5. Creating the fli4l Archives/Boot mediafli4l-x.y.z\config.cdfli4l-x.y.z\config.hdfli4l-x.y.z\config.hd-create5.2.3. Configuration dialog – General Pre

Seite 176

5. Creating the fli4l Archives/Boot mediaUsing the button Current settings in mkfli4l.txt buffer the current settings can bestored in mkfli4l.txt.5.2.4. C

Seite 177 - 4.14.6. OpenVPN - WebGUI

5. Creating the fli4l Archives/Boot media5.2.5. Configuration dialog – Settings for HD pre-installFigure 5.3.: Settings for HD pre-installIn this dialog

Seite 178

5. Creating the fli4l Archives/Boot media5.3. Control file mkfli4l.txtSince fli4l-Version 2.1.9 the control file config /mkfli4l.txt exists. This file can e

Seite 179

3. Base configurationThis variable controls how LONG the syslinux boot loader should wait until the defaultinstallation is booted automatically.The OPT

Seite 180 - OPENVPN_x_FRAGMENT

5. Creating the fli4l Archives/Boot mediaREMOTEREMOUNT Default: REMOTEREMOUNT=’no’Possible values are ’yes’ or ’no’. If ’yes’ is set, a boot device &qu

Seite 181 - 4.14.8. OpenVPN - Examples

6. Connecting PCs in the LANFor every host in the LAN you will have to set up:1. IP address (see IP address)2. Name of the host plus desired domain na

Seite 182

6. Connecting PCs in the LANPropertiesExtended. . .DNSAdd DNS-SuffixType “lan.fli4l” (or the domain set up – without “”!) Click OK.6.2.2. NT 4.0StartSett

Seite 183

6. Connecting PCs in the LANInternetprotocol (TCP/IP)PropertiesAdvanced. . .DNSDNS-Suffix for this connectionSpecify “lan.fli4l” (resp. the domain you us

Seite 184

6. Connecting PCs in the LANhere (the Ethernet interface’s one) – for example 192.168.6.4, depending on the IP addressthat has been specified in the fil

Seite 185 - 4.15.1. PCMCIA Drivers

7. Client/Server interface imond7.1. imon-Server imondimond is a network-capable server program that responds to certain queries or accepts com-mands

Seite 186

7. Client/Server interface imondAdmin commandsaddlink ci-index Add channel to the circuit (channel bundling)adjust-time seconds Increments the date on

Seite 187

7. Client/Server interface imondUser commandschannels Shows the number of available ISDN channelscharge #channel-id Shows the online fee for a specific

Seite 188

7. Client/Server interface imondUsing the imond command “timetable” you can have a look at it.Here an example:Supposing 3 circuits are defined:CIRCUIT_

Seite 189 - PRIVOXY_LOGLEVEL is ignored

7. Client/Server interface imond4 AOL yes ippp1 0.0190 1805 AOL no ippp1 0.0490 1806 AOL no ippp1 0.0190 1807 AOL no ippp1 0.0490 1808 Firma no isdn2

Seite 190

3. Base configurationCOMP_TYPE_ROOTFS Default setting: COMP_TYPE_ROOTFS=’xz’This variable selects the compression method to be used for the RootFS arch

Seite 191 - IP_NET_1

7. Client/Server interface imondGot everything?Using the command “route”, the LC routing can be enabled or disabled. If a positive circuitindex is spe

Seite 192 - Protocol

7. Client/Server interface imondLight Green : Online and traffic on the channelDark Green : Online and (nearly) no traffic on the channelimonc shows a beh

Seite 193

7. Client/Server interface imondthe commands there another one exists: timesync. If used imonc will synchronize theclock of the client with the router

Seite 194

7. Client/Server interface imondeach available channel which is online at the moment). This is of interest in case that severaldifferent connections ex

Seite 195

7. Client/Server interface imond– Start with Windows: Specify here if the client should start automatically withsystem start. Provide necessary start-

Seite 196

7. Client/Server interface imond– Logfile: The file name you can specify here is used to save the call list locally onthe computer. This menu item is on

Seite 197

7. Client/Server interface imondAs of version 1.5.2: on the page Names it is also possible to synchronize the local phonebook with the router’s one (s

Seite 198

7. Client/Server interface imond∗ Start E-Mail-Client: Should the E-Mail-Client bes tarted automatically if newE-Mails were found?∗ E-Mail-Client: Spe

Seite 199 - STUNNEL_x_CLIENT (Page 200)

7. Client/Server interface imond– Colors: Define the main colors for the Traffic Information window. It should betaken into account that the DSL channel

Seite 200 - IPV6_NET_2_IPADDR (for IPv6)

7. Client/Server interface imondIn the call overview you may right click on the number or MSN to copy it to the phone bookand assign a name to it ther

Seite 201

3. Base configurationTable 3.2.: Automtically generated maximum number of simultaneous connectionsRAM in MiB simultaneous connections16 102424 128032 2

Seite 202

7. Client/Server interface imond7.2.8. E-Mail PageThis page is shown only if at least one POP3-E-Mail-account is configured and activated inthe config d

Seite 203

7. Client/Server interface imond7.2.10. Error, Syslog and Firewall PagesThose pages are only visible if entries are present in the respective logs and

Seite 204

7. Client/Server interface imond• Default-Route-Circuits• ISDN channelsStatus : Calling/Online/OfflineName : Phone number of the peer or the circuit-nam

Seite 205 - 4.18.1. Configuration

7. Client/Server interface imond9 – remove channel Removes the second ISDN channel. See also “add channel”.Apart from that, the same annotations as fo

Seite 206

8. Documentation for Developers8.1. Common RulesIn order to include a new package in the OPT database on the fli4l homepage some rules mustbe obeyed. P

Seite 207

8. Documentation for Developers8.3. Module ConceptAs of version 2.0 fli4l is split into modules (packages), i.e.• fli4l-3.10.1 — The Base Package• dns-d

Seite 208

8. Documentation for DevelopersTable 8.1.: Parameters for mkfli4lOption Meaning-c, - -config Declaration of the directory mkfli4l will scan for package

Seite 209

8. Documentation for Developers8.3.3. Configuration of PackagesThe user’s changes to the package’s configuration are made in the file config/<PACKAGE&

Seite 210

8. Documentation for Developers1. The first column contains the name of a variable which triggers inclusion of the filereferenced in the third column de

Seite 211

8. Documentation for DevelopersTable 8.2.: Options for FilesOption Meaning Default Valuetype= Type of the Entry:local Filesystem Objectfile Filedir Dir

Seite 212 - 4.18.2. Examples

3. Base configuration3.3. Console settingsCONSOLE_BLANK_TIME Defaut Setting: CONSOLE_BLANK_TIME=”Typically, the Linux kernel activates the console’s sc

Seite 213 - F1 F2 F3

8. Documentation for Developers• copy file if PCMCIA_PCIC='i82365', set uid/gid to root and the rights to 644 (rw-r--r--)pcmcia_pcic i82365 f

Seite 214

8. Documentation for DevelopersFiles adapted by ConfigurationIn some situations it is desired to replace original files with configuration-specific files f

Seite 215 - Configuration looks like this:

8. Documentation for DevelopersIf a variable does not depend on any OPT variables, it is considered active. If it isdepending on an OPT variable, it i

Seite 216

8. Documentation for DevelopersRE:yes|no.This is useful if a test is performed only once and is relatively easy. For more details seethe next chapter.

Seite 217

8. Documentation for Developersbe referenced in the file check/<PACKAGE>.txt. check/base.exp for example at themoment contains definitions for the

Seite 218

8. Documentation for DevelopersExpansion of Existing Regular ExpressionsIf an optional package adds an additional value for a variable which will be e

Seite 219

8. Documentation for DevelopersExtending Regular Expressions Depending on other VariablesAlternatively, you may also use arbitrary values of variables

Seite 220

8. Documentation for Developers• an empty pair of brackets stands for an “empty” expression• an expression in square brackets “[ ]” (see below)• a dot

Seite 221

8. Documentation for DevelopersIPADDR: Let’s have a look at an example with an IP4-address. An ipv4 address consists offour “Octets”, divided by dots

Seite 222

8. Documentation for Developers./i586-linux-regexp -c ../check IPADDR 192.168.0.256using predefined regular expression from base.expadding IPADDR=&apo

Seite 223 - 4.20.1. Networking-Tools

Contents4. Packages 734.1. Tools In The Package ’Base’ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 734.1.1. OPT_SYSLOGD – Logging system

Seite 224

3. Base configuration3.4. Hints To Identify Problems And Errorsfli4l logs all output produced while booting into the file (/var/tmp/boot.log). After the

Seite 225

8. Documentation for DevelopersData TypesConcerning data types please note that variables, based on the associated regular expressionare permanently a

Seite 226

8. Documentation for DevelopersThen the character strings are rewritten as follows, if variable substitution is active in thiscontext:"My router

Seite 227 - 4.20.3. File Management Tools

8. Documentation for DevelopersDefinition of a Service with an associated Version Number: providesFor instance, an OPT may declare that it provides a P

Seite 228 - 4.21.1. Configuration

8. Documentation for DevelopersCommunication with the User: warning, error, fatal_errorUsing these three functions users may be warned, signalized an

Seite 229

8. Documentation for Developersset s="a"set v1="$s" # v1="a"set s="b"set v2="$s" # v2="b"i

Seite 230

8. Documentation for Developersthe following output is printed:Warning: Rule 1/1: ACCEPTWarning: Rule 1/2: REJECTWarning: Rule 2/1: DROPAlternatively,

Seite 231 - USB_EXTRA_DRIVER_N=’0’

8. Documentation for DevelopersThe example checks whether a file exists in the current configuration directory.If OPENVPN_1_SECRET='test' is s

Seite 232 - 4.22.2. Hints For Use

8. Documentation for DevelopersThe RegEx has (only) matched with “/bin/” (only this part of the line is contained in thevariable FGREP_MATCH_1). The fi

Seite 233

8. Documentation for DevelopersIf the elements generated by such a split should be in a numeric context (e.g. as indices) thishas to be specified when

Seite 234 - 4.23.1. WLAN Configuration

8. Documentation for Developersif (opt_sshd)thenforeach pkf in sshd_public_keyfile_%dostat("$config_dir/etc/ssh/$pkf", publickeyfile)if(publ

Seite 235 - WLAN_x_RATE=’auto’

3. Base configurationThe device denotes the terminal used for program input/output. Possible devices are termi-nals tty1-tty4 or serial terminals ttyS0

Seite 236

8. Documentation for Developersassociated with this array. The control variable takes the values of the respective arrayvariables. It should be noted

Seite 237

8. Documentation for DevelopersExpressionsExpressions link values and operators to a new value. Such a value can be an normal variable,an array elemen

Seite 238 - 4.23.2. Examples

8. Documentation for DevelopersMatch-OperatorWith the match operator =~ you can check whether a regular expression matches the value of avariable. Fur

Seite 239

8. Documentation for Developers• the variable is active (if it depends on an OPT it has to be set to “yes”),• the variable was referenced in an opt/&l

Seite 240 - 4.23.5. Donations

8. Documentation for Developers8.3.8. Support for Different Kernel Version LinesDifferent kernel version lines often differ in some details:• changed dri

Seite 241 - FBR_TIDY option, see below.)

8. Documentation for DevelopersThe entire text documentation may not contain any tabs and has to have a line feed no laterthan after 79 characters. Th

Seite 242

8. Documentation for DevelopersLATEX-BasicsLATEX is, just like HTML, “Tag-based” , only that the tags are called “commands” and havethis format: \comm

Seite 243

8. Documentation for Developers8.3.14. More FilesAll files, which will be copied to the router have to be stored under opt/etc/ and opt/files/.Be under

Seite 244

8. Documentation for Developers#--------------------------------------------------------------------# /etc/rc.d/rc500.dummy - start my cool dummy serv

Seite 245

8. Documentation for Developersthe first argument of the begin_script-call (Page 319)). If no suitable medium should exist(which may well be), /var/lib

Seite 246

3. Base configuration• Copy the keyboard layout map you have just created to your fli4l directory underopt/etc/ locale .map. If you now set KEYBOARD_LOC

Seite 247

8. Documentation for DevelopersLOG_BOOT_SEQ Setting this variable to “yes” will cause bootlogd to log all console outputduring boot to the file /var/tm

Seite 248

8. Documentation for Developers8.5. Using The Packet Filter8.5.1. Adding Own Chains And RulesA set of routines is provided to manipulate the packet fil

Seite 249 - 4.24.7. Updating The FBR

8. Documentation for Developersreject: This variable contains the chain to which is branched when a packet is rejected.After callingget_count <chai

Seite 250

8. Documentation for Developers# extension is availablefoo_p=yes# the actual extension, adding matches to match_optdo_foo(){param=$1get_negation $para

Seite 251 - Unix derivatives and Mac OS X

8. Documentation for Developershttpd-menu.sh add [-p <priority>] <link> <name> [section] [realm]Thus, an entry with the name <nam

Seite 252

8. Documentation for Developers8.6.4. Construction of a CGI scriptThe headersAll web server scripts are simple shell scripts (interpreter as e.g. Perl

Seite 253

8. Documentation for DevelopersThe Function show_html_headerThe show_html_header function expects a string as a parameter. This string represents thet

Seite 254 - 5.2.1. Command line options

8. Documentation for DevelopersThe Function show_tab_headerFor good looking content of your generated webpage generated by the CGI you may use thecgi-

Seite 255

8. Documentation for DevelopersMulti-Language CapabilitiesThe helper script cgi-helper furthermore contains functions to create multi-langual CGIscrip

Seite 256

8. Documentation for DevelopersThe Function show_warnThis funtion displays a warning message in a yellow box. It expects two parameters: a titleand a

Seite 257

3. Base configurationNo space is allowed before or after the comma!This does not work with all network adapter drivers. Some of them need to be loadedt

Seite 258

8. Documentation for Developers8.6.5. MiscellaneousThis and that (yes, also important!):• mini_httpd does not protect subdirectories with a password.

Seite 259 - 5.3. Control file mkfli4l.txt

8. Documentation for Developers8.7.2. Start And Stop ScriptsScripts intended to be executed on system boot are located in the directories opt/etc/boot

Seite 260 - ’yes’ can be used

8. Documentation for DevelopersNumber Task000-099 Base system (hardware, time zone, file system)100-199 Kernel modules (drivers)200-299 External connec

Seite 261 - 6. Connecting PCs in the LAN

8. Documentation for Developersassignments should be used. A path under /var/run/ makes sense for transient data,while for persistent data it is advis

Seite 262 - 6.2.4. Windows XP

8. Documentation for DevelopersImportant: The module has to exist exactly by this name, no aliases may be used. Whenusing an alias do_modprobe will be

Seite 263 - 6.3. Gateway

8. Documentation for DevelopersMiscellaneousmk_writable <File>: Ensures that the given file is writable. If the file is located on a volumemounted

Seite 264 - 6.5. Miscellaneous

8. Documentation for DevelopersImportant: Since no separate process is created for these scripts, they may not invoke“exit” as well!Hint: If a script

Seite 265 - 7.1. imon-Server imond

8. Documentation for Developers• configuration variables are stored for later use(opt/etc/rc.d/rc999.template)• stored configuration variables are proce

Seite 266

8. Documentation for Developers2. DNS configuration• etc/resolv.conf• etc/dnsmasq.conf• etc/dnsmasq_dhcp.conf• etc/resolv.dnsmasq3. Hosts-File• etc/hos

Seite 267

8. Documentation for Developersexpand-hostsfilterwin2kconf-file=/etc/dnsmasq_dhcp.conf8.10.3. Hosts FileThis file contains a mapping of host names to I

Seite 268

3. Base configurationNET_DRV_1='wd'NET_DRV_1_OPTION='io=0x270'NET_DRV_2='ne2k'NET_DRV_2_OPTION='io=0x240'You ca

Seite 269

A. Appendix to basepackageA.1. Null Modem CableFor using the otional package PPP (Page 185) a null modem cable is needed.It needs at least three wires

Seite 270 - 7.2. Windows-Client imonc.exe

A. Appendix to basepackageAs a cable to the terminal or PC with terminal emulation a Null Modem Cable (Page 340)is used. Using a standard null modem c

Seite 271 - 7.2.2. Start Parameters

A. Appendix to basepackagecat /proc/interruptsshows the interrupts used by the drivers – not those used by the hardware!More interesting files under /p

Seite 272 - 7.2.3. Overview

A. Appendix to basepackageA.9. CreditsIn this part of the documentation all people are honored that contribute or have contributedto the development o

Seite 273 - 7.2.4. Config-Dialog

A. Appendix to basepackageWeiler, Marcel (Qualitätsmanagement)email: -The fli4l-Test- and Translation-team consists of (in alphabetical order):Bußmann,

Seite 274

A. Appendix to basepackageA.9.3. Developer- and Testteam (inactive)Arndt, Kai-Christian (USB)Behrends, Arno (Support)Bork, Thomas (lpdsrv)Bauer, Jürge

Seite 275

A. Appendix to basepackageBebensee, NorbertBecker, HeikoBehrends, ArnoBöhm, StefanBrederlow, RalfGroot, Vincent deHahn, OlafHogrefe, PaulHolpert, Chri

Seite 276

A. Appendix to basepackageA.10. FeedbackCritics, feedback and cooperation are always welcome.The primary point of contact are the fli4l-Newsgroups. Tho

Seite 277

B. Appendixes to optional packagesB.1. CHRONY - Inform other applications about timewarpsIf chrony notes that the clock is significantly away from the

Seite 278 - 7.2.5. Calls Page

B. Appendixes to optional packages## Expression: outbound and not icmp[0] != 8 and not tcp[13] & 4 != 0#(000) ldb [0](001) jeq #0x0 jt 17 jf 2(002

Seite 279 - 7.2.7. Fax Page

3. Base configurationKernel Bus NET_DRV_x Adapter family3.14v n vnx x x x pci cassini Sun Cassini(+) ethernetx x x x usb catc CATC EL1210A NetMate USBE

Seite 280 - 7.2.9. Admin

B. Appendixes to optional packagesThese variables can be put in curly brackets to be cleary distinguishable from normal text,$ip i.e. becomes ${ip}. I

Seite 281 - 7.3. Unix/Linux-Client imonc

B. Appendixes to optional packagescheck/dyndns.expIn this file the provider name has to be added at the end of the long line starting withDYNPROVIDER =

Seite 282 - BUNDLING is set to ‘yes’

B. Appendixes to optional packagesparameter custom is optional. By using it you can set environment variables needed for thecommand used. If more than

Seite 283

B. Appendixes to optional packages• wrong disk is configured for the installation• Controller is not supported by fli4l. Some controllers may need speci

Seite 284 - 8.2. Compiling Programs

B. Appendixes to optional packagesB.6. HTTPDB.6.1. Additional SettingsThese variables are not present in the configuration and thus have to be added to

Seite 285 - 8.3. Module Concept

B. Appendixes to optional packagesgeneric-pcPC keyboard LEDs:• keyboard::scroll• keyboard::caps• keyboard::numgeneric-acpiPC keyboard LEDs, like gener

Seite 286

B. Appendixes to optional packagespcengines-apu• gpio::252pcengines-wrap• gpio::40soekris-net5501• gpio::25The button is named ’Reset’ on the soekris

Seite 287 - 8.3.4. List of Files to Copy

B. Appendixes to optional packagesHWSUPP_LED_2='wlan'HWSUPP_LED_2_DEVICE='apu::2'HWSUPP_LED_2_WLAN='wlan0'HWSUPP_LED_3=&

Seite 288

B. Appendixes to optional packages1. ...2. ...3. ...4. ...The first sequence is displayed while processing rc002.* to rc250.*(1 * blink - pause),for rc

Seite 289 - Table 8.2.: Options for Files

B. Appendixes to optional packagesmust be entered in HWSUPP_LED_\${i}_PARAM"fifidonefiLED DisplayThe command /usr/bin/hwsupp_setled <LED> &

Seite 290

3. Base configurationKernel Bus NET_DRV_x Adapter family3.14v n vnx x x x pci igb Intel(R) Gigabit Ethernet Networkx x x x pci igbvf Intel(R) Gigabit V

Seite 291

B. Appendixes to optional packagesParameter checkThe parameters which can be entered in HWSUPP_BUTTON_x_PARAM will be checked usingcheck/myopt.ext .Ex

Seite 292

B. Appendixes to optional packagesB.11.2. Tunnel ConfigurationPreparationAt first you have to apply for the tunnel. This happens after registration via

Seite 293

B. Appendixes to optional packagesIn addition the username and password have to be specified in the tunnel configuration invariables IPV6_TUNNEL_1_USERI

Seite 294

B. Appendixes to optional packagesestablished fully by SixXS yet. In the second case you should wait for some time because theconfiguration on the PoPs

Seite 295

B. Appendixes to optional packagesLong story short: The subnet must be made smaller. It has to become a /64 subnet forauto-configuration to work proper

Seite 296

B. Appendixes to optional packagesThe last two settings are not absolutely necessary for a working IPv6 subnet but are veryhelpful. They serve to spre

Seite 297

B. Appendixes to optional packagesThis allows to notice that a packet first reaches fli4l (first line), then the other end of thetunnel (second row) and

Seite 298

B. Appendixes to optional packages• remote IP will be set to 0.0.0.0 if nothing else is specified. Hence the routes configuredby the kernel while initia

Seite 299

B. Appendixes to optional packagesB.12.2. Error Messages Of The ISDN-Subsystem (i4l-Documentation)Following is an excerpt from the Isdn4Linux Document

Seite 300

B. Appendixes to optional packages39 Bearer capability not authorised.3A Bearer capability not presently available.3F Service or option not available,

Seite 301

3. Base configurationKernel Bus NET_DRV_x Adapter family3.14v n vnx x x x usb r8152 Realtek RTL8152/RTL8153 BasedUSB Ethernet Adaptersx x x x pci r8169

Seite 302 - Of course only one at a time!

B. Appendixes to optional packagesGT MAX HSUPA GX0301 yes PCMCIA, USBfor the four Cardbus-adapters set PCMCIA_PCIC='yenta_socket'Icon 225 (G

Seite 303

B. Appendixes to optional packagesyou can activate the modem interface via the command:chat -e -t 1 '' "AT_OIFC=3,1,1,0" OK >/d

Seite 304

B. Appendixes to optional packagesPF_OUTPUT_N (Page 56) INPUT_ACCEPT_PORT_NPF_OUTPUT_POLICY (Page 55) INPUT_ACCEPT_PORT_xPF_OUTPUT_REJ_LIMIT (Page 56)

Seite 305

B. Appendixes to optional packagesYADIFA_USE_DNSMASQ_ZONE_DELEGATION(Page ??)Package DSLNew variables Obsolete variablesFRITZDSL_FILTER_EXPR (Page 107

Seite 306

B. Appendixes to optional packagesNew variables Obsolete variablesIPV6_NET_x_ADVERTISE_PREF_LIFETIME(Page ??)IPV6_NET_x_ADVERTISE_VALID_LIFETIME(Page

Seite 307

B. Appendixes to optional packagesPackage PCMCIANew variables Obsolete variablesPCMCIA_CARDMGR_OPTSPCMCIA_CORE_OPTSPCMCIA_PCIC_EXTERNPackage PROXYNew

Seite 308

B. Appendixes to optional packagesPackage TOOLSNew variables Obsolete variablesFTP_PF_ENABLE_ACTIVE (Page 224) OPT_ARPOPT_ATH_INFO (Page 227) OPT_BCRE

Seite 309

List of Figures3.1. Packet Filter Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433.2. Directory Structure fli4l . . . . .

Seite 310

List of Tables3.1. Overview of additional packages . . . . . . . . . . . . . . . . . . . . . . . . . . 183.2. Automtically generated maximum number of

Seite 311

Indexbase.txt, 18BCRELAY_N, 78BCRELAY_x_IF_N, 78BCRELAY_x_IF_x, 78BEEP, 29BONDING_DEV_N, 79BONDING_DEV_x_ARP_INTERVAL,82BONDING_DEV_x_ARP_IP_-TARGET_N

Seite 312

3. Base configurationKernel Bus NET_DRV_x Adapter family3.14v n vnx x x x pci vxge Neterion’s X3100 Series 10GbEPCIe I/OVirtualized ServerAdapterx x x

Seite 313

IndexDHCP_CLIENT_x_ROUTE, 92DHCP_CLIENT_x_STARTDELAY, 93DHCP_CLIENT_x_USEPEERDNS, 93DHCP_CLIENT_x_WAIT, 93DHCP_DENY_MAC_N, 102DHCP_DENY_MAC_x, 102DHCP

Seite 314 - 8.3.9. Documentation

IndexDNS_ZONE_DELEGATION_x_-NETWORK, 98DNS_ZONE_DELEGATION_x_-UPSTREAM_SERVER_x, 98DNS_ZONE_DELEGATION_x_-UPSTREAM_SERVER_x_IP,98DNS_ZONE_DELEGATION_x

Seite 315

IndexHOST_x_PXE_FILENAME, 102HOST_x_PXE_OPTIONS, 102HOST_x_PXE_SERVERIP, 102HOST_x_PXE_SERVERNAME, 102HOSTNAME, 24HOSTNAME_ALIAS_N, 69HOSTNAME_ALIAS_x

Seite 316 - 8.3.13. Source Code

IndexIPV6_TUNNEL_x_MTU, 138IPV6_TUNNEL_x_PASSWORD, 138IPV6_TUNNEL_x_PREFIX, 137IPV6_TUNNEL_x_REMOTEV4, 137IPV6_TUNNEL_x_REMOTEV6, 138IPV6_TUNNEL_x_TIM

Seite 317 - 8.4.1. Structure

IndexOPENVPN_DEFAULT_FRAGMENT,172OPENVPN_DEFAULT_KEYSIZE, 170OPENVPN_DEFAULT_LINK_MTU,172OPENVPN_DEFAULT_-MANAGEMENT_LOG_-CACHE, 172OPENVPN_DEFAULT_MS

Seite 318

IndexOPENVPN_x_PF_PREROUTING_x,176OPENVPN_x_PING, 174OPENVPN_x_PING_RESTART, 174OPENVPN_x_PROTOCOL, 174OPENVPN_x_REMOTE_HOST, 163OPENVPN_x_REMOTE_HOST

Seite 319 - 8.4.4. Debugging

IndexOPT_SERIAL, 376OPT_SFTPSERVER, 223OPT_SHRED, 228OPT_SIPPROXY, 192OPT_SOCAT, 226OPT_SS5, 191OPT_SSH_CLIENT, 222OPT_SSHD, 219OPT_STRACE, 228OPT_STU

Seite 320 - 8.4.5. Hints

IndexPF_FORWARD_N, 55PF_FORWARD_POLICY, 54PF_FORWARD_REJ_LIMIT, 55PF_FORWARD_UDP_REJ_LIMIT, 55PF_FORWARD_x, 55PF_FORWARD_x_COMMENT, 55PF_INPUT_ACCEPT_

Seite 321 - 8.5. Using The Packet Filter

IndexPPTP_FILTER, 107PPTP_FILTER_EXPR, 107PPTP_HUP_TIMEOUT, 106PPTP_MODEM_TYPE, 111PPTP_NAME, 105PPTP_PASS, 105PPTP_TIMES, 106PPTP_USEPEERDNS, 105PPTP

Seite 322

IndexSYSLOGD_DEST_x, 73SYSLOGD_RECEIVER, 73SYSLOGD_ROTATE, 74SYSLOGD_ROTATE_AT_-SHUTDOWN, 75SYSLOGD_ROTATE_DIR, 74SYSLOGD_ROTATE_MAX, 75TELMOND_CAPI_C

Seite 323 - 8.6.3. Menu Entries

3. Base configurationKernel Bus NET_DRV_x Adapter family3.14 3.16v n vn v n vnx x x x usb mwifiex_usb Marvell WiFi-Ex USB Driver version1.0x x x x pci m

Seite 324

IndexWLAN_x_ENC_x, 235WLAN_x_ESSID, 234WLAN_x_MAC, 234WLAN_x_MAC_OVERRIDE, 234WLAN_x_MODE, 234WLAN_x_NOESSID, 234WLAN_x_PSKFILE, 237WLAN_x_RATE, 235WL

Seite 325

Contents4.9.5. OPT_RECOVER – Emergency Option . . . . . . . . . . . . . . . . . . 1224.9.6. OPT_HDDRV - Additional Drivers For Harddisk Controllers .

Seite 326 - /srv/www/lang/OpenVPN.de

3. Base configurationyou want the router to receive its IP address dynamically via a DHCP-client it is possibleto set this variable to ’dhcp’.The follo

Seite 327

3. Base configurationIP_NET_x_MAC Default Setting: IP_NET_1_MAC=”Optional: MAC address of the network adapter.With this variable you are able to change

Seite 328

3. Base configurationIn this case, network is the network address, /netmaskbits the net mask using theCIDR (Page 40) notation and gateway the address o

Seite 329

3. Base configurationFigure 3.1.: Packet Filter Structure43

Seite 330 - 8.7.1. Boot Concept

3. Base configuration• source (source address, source port or both)• destination (destination address, destination port or both)• protocol• interface o

Seite 331 - 8.7.2. Start And Stop Scripts

3. Base configurationAction chain(s) MeaningDNAT PREROUTING Replace destination address and destinationport of the packet by the address specified as ap

Seite 332

3. Base configurationExpression Meaningport[-port] a port resp. a port rangeIP_NET_x_IPADDR the IP address of the x router’s interfaceIP_NET_x the x ro

Seite 333 - 8.7.3. Helper Functions

3. Base configurationInterface ConstraintsA rule can be restricted concerning the Interface on which a packet was received resp. will betransmitted. Th

Seite 334

3. Base configurationState MeaningINVALID The packet does not belong to a know connection.ESTABLISHED The packet belongs to a connection, where packets

Seite 335 - 8.7.4. ttyI Devices

3. Base configurationFor which services rules are predefined (e.g. templates exist) can be seen in the templatefile at opt/etc/fwrules.tmpl/templates. A

Seite 336 - 8.8. Package “template"’

Contents4.18.2. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2124.19. SSHD - Secure Shell, Secure Copy . . . . . . .

Seite 337 - 8.10. Configuration Files

3. Base configurationTemplate Protocol Port(s)proxmox tcp 5900proxmox tcp 3128rdp tcp 3389rsync tcp 873samba tcp 139samba tcp 445samba udp 137-138sip t

Seite 338 - 8.10.2. DNS Configuration

3. Base configurationInstead of using an IP address we use an entry from the HOST_%_NAME-array. dynamic tells thefli4l to forward all ports from the int

Seite 339 - 8.10.4. imond Configuration

3. Base configurationprot:tcp 22prot:tcp 2553prot:udp 137-138prot:tcp 139prot:tcp 445Every time you use the template vpn_friends rules will be created

Seite 340 - A. Appendix to basepackage

3. Base configurationPF_INPUT_ACCEPT_DEF If this variable is set to ‘yes’ default rules will be generatedneeded for the correct function of the router.

Seite 341 - A.5. Debugging

3. Base configurationPF_INPUT_ICMP_ECHO_REQ_LIMIT Defines how often fli4l should react to a ICMP-Echo-request.The frequency is described as n/time units

Seite 342 - A.8. Warranty and Liability

3. Base configurationPF_FORWARD_LOG Defines if rejected packets should be logged by the kernel. Log outputcan be directed to the syslog deamon by activa

Seite 343 - A.9. Credits

3. Base configurationPF_OUTPUT_LOG Defines if rejected packets should be logged by the kernel. Log outputcan be directed to the syslog deamon by activat

Seite 344

3. Base configurationThe NAT-Chains (Network Address Translation)Packets still can be changed after the routing decision. For example they may get a ne

Seite 345 - A.9.4. Sponsors

3. Base configurationREDIRECT behaves like DNAT, with the exception that the target-IP-address is always set to127.0.0.1 thus delivering the packet loc

Seite 346

3. Base configurationPF_FORWARD_POLICY='REJECT'PF_FORWARD_ACCEPT_DEF='yes'PF_FORWARD_LOG='no'PF_FORWARD_N='2'PF

Seite 347 - A.10. Feedback

Contents6. Connecting PCs in the LAN 2616.1. IP address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2616.2. Host and

Seite 348

3. Base configurationPF_FORWARD_POLICY='REJECT'PF_FORWARD_ACCEPT_DEF='yes'PF_FORWARD_LOG='no'PF_FORWARD_N='2'PF

Seite 349 - B.3. DYNDNS

3. Base configurationBlacklists, WhitelistsBlacklists (a machine in this list is forbidden to do something) and Whitelists (a machine inthis list is al

Seite 350

3. Base configurationPF_FORWARD_POLICY='REJECT'PF_FORWARD_ACCEPT_DEF='yes'PF_FORWARD_LOG='no'PF_FORWARD_N='2'PF

Seite 351 - B.3.3. Licence

3. Base configurationPF_POSTROUTING_N='3'PF_POSTROUTING_1'IP_NET_1 IP_NET_2 ACCEPT BIDIRECTIONAL'PF_POSTROUTING_2='IP_NET_1 MA

Seite 352 - OPT_HDDRV in this case

3. Base configurationPort ForwardingPort forwarding can be accomplished with the PREROUTING-rules like this (TARGET refers to theoriginal target addres

Seite 353

3. Base configurationPF_POSTROUTING_x='any @proxy:3128 SNAT:IP_NET_1_IPADDR'# change all packets to port 3128 in a way as if they came from#

Seite 354 - B.6. HTTPD

3. Base configurationYou may continue here forever. . .3.10.7. DMZ – Demilitarized Zonefli4l may also serve to build a DMZ. As this is only another addi

Seite 355

3. Base configurationBy this rule it is expressed that all FTP connections coming from the DSL interface (pppoe)are associated to the conntrack helper.

Seite 356 - B.8.2. pcengines-apu

3. Base configurationPF_PREROUTING_CT_N PF_PREROUTING_CT_x PF_PREROUTING_CT_x_COMMENTList of rules that describe which incoming packets are associated

Seite 357 - B.9. HWSUPP - Blink Sequences

3. Base configurationare set to ‘yes’, you need to fill this variable with a valid DNS server address as otherwiseno DNS resolution will be possible dir

Seite 358 - B.10.1. LED extensions

Contents8.3.13. Source Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3168.3.14. More Files . . . . . . . . . . . . . . . . .

Seite 359 - B.10.3. Button action

3. Base configurationcontrol whether providing the user password is sufficient to execute the control commandslike Dial, Hangup, Reboot, or Changing the

Seite 360 - B.11.1. Get An Account

3. Base configurationTable 3.10.: Structure of Imond log filesEntry MeaningCircuit the name of the circuit for which the entry has been createdStart tim

Seite 361 - B.11.2. Tunnel Configuration

3. Base configurationDIALMODE fli4l’s default dial mode is ‘auto’, i.e. fli4l dials automatically if an IP packet hasto be routed to an IP address outsid

Seite 362

4. PackagesBesides the BASE installation there are also packages. Each package contains one or more“OPTs”1which can be installed in addition to the ba

Seite 363

4. PackagesIf you have a so-called “log host” in your network you can redirect the Syslog messagesto that host if you supply its IP address.Beispiel:S

Seite 364

4. PackagesSYSLOGD_ROTATE_DIR The optional variable SYSLOGD_ROTATE_DIR lets you specify thedirectory where the archived Syslog files should be stored.

Seite 365

4. PackagesY2K_DAYS – add N days to the system dateBecause the BIOS date differs from the actual one by exactly 2191 days, the settingY2K_DAYS='21

Seite 366 - B.12. ISDN

4. Packages1) – Here, you can choose the I/O „BASE“ address. This address must lie between theminimum and maximum address and conform to the „base ali

Seite 367

4. PackagesVery unusual problems can appear especially using EBTables without perfectly knowing thediverse operational modes of layer 2 and 3. Some fil

Seite 368

4. PackagesOPT_BONDING_DEV Default: OPT_BONDING_DEV=’no’’yes’ activates the bonding package, ’no’ deativates the bonding package completely.BONDING_DE

Seite 369 - B.13. UMTS

ContentsA.9.4. Sponsors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345A.10.Feedback . . . . . . . . . . . . . . . . . . .

Seite 370

4. Packagesbalance-alb Adaptive load balancing: includes both balance-tlb, and inbound load bal-ancing (rlb) for IPV4 traffic and needs no special requi

Seite 371 - Package BASE

4. PackagesThis setting is optional and can also be completely omitted.A bonding device defaults to the MAC address of the first physical device which

Seite 372 - Package DNS_DHCP

4. PackagesBONDING_DEV_x_PRIMARY Default: BONDING_DEV_x_PRIMARY=”This setting is optional and can also be completely omitted.Specify primary output de

Seite 373 - Package IPV6

4. Packagesto work with VLANs should ensure that the respective Linux NIC drivers support VLANscorrectly.OPT_VLAN_DEV Default: OPT_VLAN_DEV=’no’’yes’

Seite 374 - Package OPENVPN

4. PackagesDEV_MTU_N='1'DEV_MTU_1='eth0 1496'4.2.5. BRIDGE - Ethernet Bridging for fli4lThis is a full-fledged ethernet-bridge using

Seite 375 - Package SSHD

4. PackagesBRIDGE_DEV_x_DEVNAME Default: BRIDGE_DEV_x_DEVNAME=”Each bridge device needs a name in the form of ’br number ’. number can be anumber betw

Seite 376 - Package USB

4. PackagesBRIDGE_DEV_x_PRIORITY Default: BRIDGE_DEV_x_PRIORITY=”This setting is optional and can also be completely omitted.Only valid if BRIDGE_DEV_

Seite 377 - List of Figures

4. PackagesBRIDGE_DEV_x_DEV_x_PATHCOST Default: BRIDGE_DEV_x_DEV_x_PATHCOST=’100’This setting is optional and can also be completely omitted.Only vali

Seite 378 - List of Tables

4. Packagesebtables.post in the directory config/ebtables. Ebtables.pre will get executed before and ebta-bles.post after configuring the netfilter. Plea

Seite 379

4. PackagesFurther informations about ethtool can be found here: http://linux.die.net/man/8/ethtool4.2.9. ExampleFor understanding a simple example is

Seite 380

1. Documentation of the base package1.1. Introductionfli4l is a Linux-based router, capable of handling ISDN, DSL, UMTS, and ethernet connections,with

Seite 381

4. PackagesBRIDGE_DEV_2_DEV_1='bond0.22'BRIDGE_DEV_2_DEV_2='eth3'BRIDGE_DEV_3_NAME='_VLAN33_'BRIDGE_DEV_3_DEVNAME='

Seite 382

4. PackagesOnly time servers in the internet which are reachable by the default route (0.0.0.0/0) can beused, because only the default route changes c

Seite 383

4. Packages4.3.2. SupportSupport is only given in the fli4l Newsgroups (Page 92).4.3.3. LiteratureHomepage of chrony: http://chrony.tuxfamily.org/NTP:

Seite 384

4. PackagesDefault Setting: DHCP_CLIENT_x_ROUTE=’default’DHCP_CLIENT_x_USEPEERDNS If this variable is set to ’yes’ and the device has a default-route

Seite 385

4. PackagesIP4 – IP address (ipv4) of the n’th hostIP6 – IP address (ipv6) of the n’th host (optional). If you use “auto”, then the addresswill be com

Seite 386

4. PackagesGeneral DNS-optionsDNS_BIND_INTERFACES If you choose ‘yes’ here, dnsmasq does not listen on all IP-addresses and only binds and listens to

Seite 387

4. PackagesDNS_REDIRECT_N='1'DNS_REDIRECT_1='yourdom.dyndns.org'DNS_REDIRECT_1_IP='192.168.6.200'This redirects a query

Seite 388

4. Packagessimply be switched off, so that the polling software has to deal with hosts not respondinganyway.DNS_SUPPORT_IPV6 (optional)Setting this opt

Seite 389

4. PackagesExample: DNS_AUTHORITATIVE_IPADDR='IP_NET_2_IPADDR'DNS_ZONE_NETWORK_N DNS_ZONE_NETWORK_x Specify the network addresseshere for wh

Seite 390

4. PackagesISDN_CIRC_1_ROUTE='0.0.0.0'ISDN_CIRC_2_ROUTE='0.0.0.0'We set a default route on both circuits and switch the route with

Kommentare zu diesen Handbüchern

Keine Kommentare