Ar7.cfg

From Fritz!Box
Jump to: navigation, search

AVM Wiki >> Konfiguration >> ar7.cfg @ whmf   -   IRC-Chat   -   hu nl it English
Community Modelle Zubehör Environment Konfiguration Shell-Befehle Software Freetz Lexikon Tipps+Tricks Bilder

TFFS-Konfig Fest-Konfig Binär Tempfiles Logs Sockets Devices ProcFS Interfaces Daten UI-Module Webinterface Todo

Namens-Kollision
Dieser Artikel behandelt die TFFS-Konfiguration namens ar7.cfg.

Für die gleichnamige Default-Konfiguration im SquashFS siehe ar7.cfg (etc).
Für die gleichnamigen Dateien in der Provider-Datenbank siehe ar7.cfg (ram).


Contents

Konfiguration

Dies ist mit Abstand die größte Konfigurationsdatei im System, sie stammt von Texas Instruments und war ursprünglich die einzige Konfiguration auf AR7-Modellen. Auf der FRITZ!Box wurden weitere Konfigurationsdateien eingeführt und auch solche ausgelagert die sich ursprünglich in der ar7.cfg befanden wie z.B. usb.cfg.

Alle Import-, Export- und Update-Befehle greifen auf diese Datei direkt zu, alle sonstigen Befehle nutzen dazu die API in der Library libar7cfg.so. Zusätzlich existiert das Script-Interface ar7cfgctl mit dem Einzelwerte geprüft oder geschrieben werden konnen.

Das Modul kdsldmod.ko, für das der größte Teil dieser Konfiguration gilt, scheint über einen eigenen Interpreter für die ar7.cfg zu verfügen und bezieht die Datei wohl über dsld. Daher ist kdsldmod.ko in jeder Sektion als Aufrufer eingetragen. Auch libmailbuilder.so liest jede Sektion der ar7.cfg, nutzt dazu jedoch alle API-Funktionen in libar7cfg.so.

Aufgerufen von

Struktur

struct

/*
 * /var/flash/ar7.cfg
 * Sat Apr 16 02:13:45 2011
 */

ar7cfg

ar7cfg {
        mode = dsldmode_bridge;              # Konfiguriert den dsldmode der Box
        active_provider = "other";           # 
        igddenabled = no;                    # Aktiviert den UPnP-Dienst
        igdd_control_enabled = no;           # Verleiht UPnP schreibrechte (z.B. IGD Portfreigaben)
        wan_bridge_with_dhcpc = no;          #
        wan_bridge_gateway = 192.168.192.1;  #
        dhcpc_use_static_dns = yes;          #
        ethmode = ethmode_bridge;            # Konfiguriert den ethmode der Box
        tcom_targetarch = no;                #
        vdsl_resalearch = no;                #
        mtu_cutback_mode = mtumode_auto;     #
        mtu_cutback = 1500;                  #
        StatisticStartOfMonth = 1;           #
        enable_mac_override = yes;           #
        macdsl_override = 00:00:00:00:00:00; # Override zur MAC-Adresse in macdsl
        ipv6mode = ipv6_tunnel;              #
serialcfg
        serialcfg {
                mode = serialmode_off;
                number = "*99#";
                provider = "internet.t-mobile";
                username = "$$$$<langer verschlüsselter string>";
                passwd = "$$$$<langer verschlüsselter string>";
                connect_chatscript = "ABORT BUSY ABORT 'NO CARRIER'", 
                                     "ABORT VOICE ABORT 'NO DAILTONE'", 
                                     "ABORT 'NO ANSWER' ABORT DELAYED", 
                                     "ABORT ERROR", "TIMEOUT 20", 
                                     "'' 'AT+cgdcont=1,\"IP\",\"${provider}\"'", 
                                     "OK 'ATDT${number}'", "CONNECT", 
                                     "WAIT 2";
                stay_always_online = no;
                inactivity_timeout = 1m;
        }
ethinterfaces
        ethinterfaces {
                name = "eth0";
                dhcp = no;
                ipaddr = 192.168.178.1;
                netmask = 255.255.255.0;
                dstipaddr = 0.0.0.0;
                dhcpenabled = yes;
                dhcpstart = 0.0.0.0;
                dhcpend = 0.0.0.0;
        } {
                name = "eth0:0";
                dhcp = no;
                ipaddr = 169.254.1.1;
                netmask = 255.255.0.0;
                dstipaddr = 0.0.0.0;
                dhcpenabled = yes;
                dhcpstart = 0.0.0.0;
                dhcpend = 0.0.0.0;
        } {
                name = "usbrndis";
                dhcp = no;
                ipaddr = 192.168.179.1;
                netmask = 255.255.255.0;
                dstipaddr = 0.0.0.0;
                dhcpenabled = yes;
                dhcpstart = 0.0.0.0;
                dhcpend = 0.0.0.0;
        } {
                name = "wlan";
                dhcp = no;
                ipaddr = 192.168.182.1;
                netmask = 255.255.255.0;
                dstipaddr = 0.0.0.0;
                interfaces = "tiwlan0", "wdsup0", "wdsdw0", "wdsdw1", 
                             "wdsdw2", "wdsdw3";
                dhcpenabled = yes;
                dhcpstart = 0.0.0.0;
                dhcpend = 0.0.0.0;
        }
  • name
    Der Name des Interfaces, so wie es in ifconfig erscheint.
    • eth0
      Das LAN-Interface.
    • eth0:0
      Die Rettungs-IP die man am LAN-Anschluss nutzen kann wenn man die IP vergessen hat.
    • usbrndis
      Das USB LAN Interface für Geräte mit USB-Slave Anschluss.
    • wlan
      WLAN benötigt mehrere Interfaces, hier werden die Namen aus interfaces genommen.
  • dhcp
    Bestimmt ob das Interface seine IP Adresse als DHCP-Client bezieht.
  • ipaddr, netmask
    Ist dhcp = no wird hier die statische IP Adresse und Subnetzmaske eingetragen.
  • dstipaddr
    Gibt dem Tunnelendpunkt an.
  • interfaces
    Eine Liste von Interfaces die zusammen eine Bridge bilden.
  • dhcpenabled
    Bestimmt ob das Interface selbst einen DHCP-Server bereitstellt.
  • dhcpstart, dhcpend
    Bestimmt den Bereich aus dem der DHCP-Server Adressen vergibt.
brinterfaces
        brinterfaces {
                name = "lan";
                dhcp = no;
                ipaddr = 192.168.178.1;
                netmask = 255.255.255.0;
                dstipaddr = 0.0.0.0;
                interfaces = "eth0", "usbrndis", "tiwlan0", "wdsup0", 
                             "wdsdw0", "wdsdw1", "wdsdw2", "wdsdw3";
                dhcpenabled = yes;
                dhcpstart = 0.0.0.0;
                dhcpend = 0.0.0.0;
        } {
                name = "lan:0";
                dhcp = no;
                ipaddr = 169.254.1.1;
                netmask = 255.255.0.0;
                dstipaddr = 0.0.0.0;
                dhcpenabled = yes;
                dhcpstart = 0.0.0.0;
                dhcpend = 0.0.0.0;
        }
  • name
    Der Name des Interfaces, so wie es in ifconfig erscheint.
    • lan
      Das LAN-Interface.
    • lan:0
      Die Rettungs-IP die man am LAN-Anschluss nutzen kann wenn man die IP vergessen hat.
  • dhcp
    Bestimmt ob das Interface seine IP Adresse als DHCP-Client bezieht.
  • ipaddr, netmask
    Ist dhcp = no wird hier die statische IP Adresse und Subnetzmaske eingetragen.
  • dstipaddr
    Gibt dem Tunnelendpunkt an.
  • interfaces
    Eine Liste weiterer Interfaces die mit in die Bridge kommen.
  • dhcpenabled
    Bestimmt ob das Interface selbst einen DHCP-Server bereitstellt.
  • dhcpstart, dhcpend
    Bestimmt den Bereich aus dem der DHCP-Server Adressen vergibt.
dslinterface
        dslinterface {
                name = "dsl";
                dhcp = no;
                ipaddr = 169.254.2.1;
                netmask = 255.255.255.255;
                dstipaddr = 169.254.2.1;
                dhcpenabled = yes;
                dhcpstart = 0.0.0.0;
                dhcpend = 0.0.0.0;
        }
  • name
    Der Name des Interfaces, so wie es in ifconfig erscheint.
  • dhcp
    Bestimmt ob das Interface seine IP Adresse als DHCP-Client bezieht.
  • ipaddr, netmask
    Ist dhcp = no wird hier die statische IP Adresse und Subnetzmaske eingetragen.
  • dstipaddr
    Gibt dem Tunnelendpunkt an.
  • dhcpenabled
    Bestimmt ob das Interface selbst einen DHCP-Server bereitstellt.
  • dhcpstart, dhcpend
    Bestimmt den Bereich aus dem der DHCP-Server Adressen vergibt.
dslinterface_metric
        dslinterface_metric = 2;
  • dslinterface_metric
    Hier wird die metric für das IP Routing eingestellt. Die Dsl-Metric ist kleiner und hat deshalb Vorrang vor den eths (siehe dhcpclient)
routes
        routes {
                enabled = no;
                ipaddr = 192.168.178.255;
                mask = 255.255.255.0;
                gateway = 192.168.178.1;
                metric = 0;
                dev = "";
        }
ipbridge
        ipbridge {
                enabled = no;
        }
pppoefw
        pppoefw {
                interfaces = "lan", "usbrndis", "eth0", "wlan";
                nofirewall = yes;
                ipnetbiosfilter = yes;
                dnsfilter_for_active_directory = yes;
                hostuniq_filter = "";
                dpconfig {
                        security = dpsec_host;
                        lowinput {
                                policy = "reject";
                                accesslist = 
                                             "permit ip any any connection outgoing-related", 
                                             "permit ip any any connection incoming-related", 
                                             "permit icmp any any";
                        }
                        lowoutput {
                                policy = "permit";
                        }
                        highinput {
                                policy = "permit";
                        }
                        highoutput {
                                policy = "permit";
                                accesslist = 
                                             "reject ip any 242.0.0.0 255.0.0.0", 
                                             "deny ip any host 255.255.255.255", 
                                             "reject ip any 169.254.0.0 255.255.0.0";
                        }
                }
        }
budget
        budget {
                Enabled = yes;
                Period = 2;
                VolumeLow = 2755359744;
                VolumeHigh = 11;
                ConnectionTime = 0;
                WarnOnly = yes;
        }
mcupstream
        mcupstream = "internet";
voip_forwardrules
        voip_forwardrules = "udp 0.0.0.0:5060 0.0.0.0:5060", 
                            "tcp 0.0.0.0:5060 0.0.0.0:5060", 
                            "udp 0.0.0.0:7078+32 0.0.0.0:7078";
internet_in_nat_rules_enabled
        internet_in_nat_rules_enabled = yes;
        internet_out_nat_rules_enabled = yes;
dslifaces
        dslifaces {
                enabled = yes;
                name = "internet";
                dsl_encap = dslencap_inherit;
                dslinterfacename = "dsl";
                no_masquerading = no;
                no_firewall = no;
                pppoevlanauto = no;
                pppoevlanauto_startwithvlan = no;
                ppptarget = "internet";
                etherencapcfg {
                        use_dhcp = yes;
                        use_dhcp_if_not_encap_ether = no;
                        ipaddr = 0.0.0.0;
                        netmask = 0.0.0.0;
                        gateway = 0.0.0.0;
                        dns1 = 0.0.0.0;
                        dns2 = 0.0.0.0;
                        mtu = 0;
                }
                is_mcupstream = yes;
                stay_always_online = no;
                disable_ondemand = no;
                only_route_when_connected = no;
                redial_delay_after_auth_failure = 1m;
                redial_limit = 3;
                redial_after_limit_reached = 10m;
                redial_after_limit_reached_variance = 5m;
                redial_delay_after_low_error = 10s;
                redial_delay_after_ppp_timeout = 10s;
                redial_delay_after_ppp_error = 0w;
                routes_only_for_local = no;
                disable_staticroutes_on_dhcproutes = no;
                ripv2receiver_enabled = no;
                dsldpconfig {
                        security = dpsec_firewall;
                        lowinput {
                                policy = "permit";
                                accesslist = 
                                             "deny ip any 242.0.0.0 255.0.0.0", 
                                             "deny ip any host 255.255.255.255";
                        }
                        lowoutput {
                                policy = "permit";
                        }
                        highinput {
                                policy = "permit";
                        }
                        highoutput {
                                policy = "permit";
                                accesslist = 
                                             "reject ip any 242.0.0.0 255.0.0.0", 
                                             "deny ip any host 255.255.255.255", 
                                             "reject ip any 169.254.0.0 255.255.0.0";
                        }
                        forwardrules = "udp 0.0.0.0:5060 0.0.0.0:5060";
                }
        } {
                enabled = yes;
                name = "voip";
                dsl_encap = dslencap_inherit;
                dslinterfacename = "dsl";
                no_masquerading = no;
                no_firewall = no;
                pppoevlanauto = no;
                pppoevlanauto_startwithvlan = no;
                ppptarget = "voip";
                etherencapcfg {
                        use_dhcp = yes;
                        use_dhcp_if_not_encap_ether = no;
                        ipaddr = 0.0.0.0;
                        netmask = 0.0.0.0;
                        gateway = 0.0.0.0;
                        dns1 = 0.0.0.0;
                        dns2 = 0.0.0.0;
                        mtu = 0;
                }
                is_mcupstream = no;
                stay_always_online = yes;
                disable_ondemand = no;
                only_route_when_connected = no;
                redial_delay_after_auth_failure = 1m;
                redial_limit = 3;
                redial_after_limit_reached = 10m;
                redial_after_limit_reached_variance = 5m;
                redial_delay_after_low_error = 10s;
                redial_delay_after_ppp_timeout = 10s;
                redial_delay_after_ppp_error = 0w;
                routes_only_for_local = no;
                tcclassroutes = "sipdns", "sip", "rtp";
                disable_staticroutes_on_dhcproutes = no;
                ripv2receiver_enabled = no;
                dsldpconfig {
                        security = dpsec_firewall;
                        lowinput {
                                policy = "permit";
                                accesslist = "permit udp any any", 
                                             "permit icmp any any", 
                                             "deny ip any host 255.255.255.255", 
                                             "reject ip any any";
                        }
                        lowoutput {
                                policy = "permit";
                        }
                        highinput {
                                policy = "permit";
                        }
                        highoutput {
                                policy = "permit";
                                accesslist = "permit udp any any", 
                                             "reject ip any any";
                        }
                        forwardrules = "udp 0.0.0.0:5060 0.0.0.0:5060";
                }
        }
targets
        targets {
                type = pppcfg_target_internet;
                name = "internet";
                only_crypt_auth = no;
                local {
                        username = "";
                        passwd = "";
                }
                remoteauth = pppcfg_authtype_chap;
                remoteauth_only_on_incoming = yes;
                remote {
                }
                inactivity_timeout = 5m;
                bUseChargeInterval = no;
                nChargeInterval = 1m;
                lcpecho_disconnect_mode = lcpecho_auto;
                logicaldisconnect_with_physical = yes;
                disconnect_timeout = 0w;
                finaldisconnectcall = no;
                ipnetbiosspoofing = no;
                ipnetbiosfilter = yes;
                dnsfilter_for_active_directory = no;
                no_outgoing_calls = no;
                coso = pppcfg_coso_caller;
                callback_delay = 1s;
                icbmode = pppcfg_icbmode_none;
                ocbmode = pppcfg_ocbmode_none;
                mscbprefered = no;
                multilink {
                        extra_static_channels = 0;
                        max_channels = 1;
                        automatic = no;
                        automatic_param {
                                window = 20s;
                                add_percent = 85;
                                drop_percent = 70;
                                sportlich = no;
                        }
                }
                header_compression = yes;
                data_compression = pppcfg_datacomp_auto;
                stac_reset_with_history_number = no;
                encryption = pppcfg_crypt_none;
                inactivity_prevention_interval = 0w;
                new_ipaddr_on_connect = no;
                my_ipaddr = 0.0.0.0;
                his_ipaddr = 0.0.0.0;
                overwrite_dns1 = 192.168.192.1;
                overwrite_dns2 = 192.168.192.1;
                bVolumeRoundUp = no;
                VolumeRoundUpBytes = 0;
                bProviderDisconnectPrevention = yes;
                ProviderDisconnectPreventionInterval = 1d;
                ProviderDisconnectPreventionHour = 4;
                bProviderDisconnectPreventionHourSet = yes;
                passiv_on_outgoing = no;
                mode6 = mode6_off;
        } {
                type = pppcfg_target_internet;
                name = "voip";
                only_crypt_auth = no;
                local {
                        username = "";
                        passwd = "";
                }
                remoteauth = pppcfg_authtype_chap;
                remoteauth_only_on_incoming = yes;
                remote {
                }
                inactivity_timeout = 0w;
                bUseChargeInterval = no;
                nChargeInterval = 1m;
                lcpecho_disconnect_mode = lcpecho_auto;
                logicaldisconnect_with_physical = yes;
                disconnect_timeout = 0w;
                finaldisconnectcall = no;
                ipnetbiosspoofing = no;
                ipnetbiosfilter = yes;
                dnsfilter_for_active_directory = no;
                no_outgoing_calls = no;
                coso = pppcfg_coso_caller;
                callback_delay = 1s;
                icbmode = pppcfg_icbmode_none;
                ocbmode = pppcfg_ocbmode_none;
                mscbprefered = no;
                multilink {
                        extra_static_channels = 0;
                        max_channels = 1;
                        automatic = no;
                        automatic_param {
                                window = 20s;
                                add_percent = 85;
                                drop_percent = 70;
                                sportlich = no;
                        }
                }
                header_compression = yes;
                data_compression = pppcfg_datacomp_auto;
                stac_reset_with_history_number = no;
                encryption = pppcfg_crypt_none;
                inactivity_prevention_interval = 0w;
                new_ipaddr_on_connect = no;
                my_ipaddr = 0.0.0.0;
                his_ipaddr = 0.0.0.0;
                overwrite_dns1 = 0.0.0.0;
                overwrite_dns2 = 0.0.0.0;
                bVolumeRoundUp = no;
                VolumeRoundUpBytes = 0;
                bProviderDisconnectPrevention = yes;
                ProviderDisconnectPreventionInterval = 1d;
                ProviderDisconnectPreventionHour = 4;
                bProviderDisconnectPreventionHourSet = yes;
                passiv_on_outgoing = no;
                mode6 = mode6_off;
        }
dslglobalconfig

Zur besseren Lesbarkeit wurden die PVC-Templates nach unten verschoben

        dslglobalconfig {
                autodetect = yes;
                autodetectparams {
                        nround = 2;
                        timeout = 3s;
                        npacket = 1;
                }
                pppoeiface = "eth0";
                speed_in_netto = 14000;
                speed_out_netto = 800;
                manual_speed = no;
                connect_delay_when_synced = 3s;
                sync_lost_delay = 0w;
                default_tcom_vlan = 7;
                                               # DSL-Störsicherheit:
                MaxDownstreamRate = 0;           # Bitrates
                MaxUpstreamRate = 0;             # Bitrates
                RFI = 0;                         # RFI-Carrier
                DownstreamBlackoutBandStart = 0; # Blackout-Band
                DownstreamBlackoutBandEnd = 0;   # Blackout-Band
                ControlBitfield = 0;             # Interleaving + RFI-Carrier + Diverses
                DownstreamMarginOffset = 0;      # SNR-Margin
                DownstreamPcbOffset = 0;         # Powercutback
                UpstreamPcbOffset = 0;           # Powercutback
                UsNoiseBits = 0;                 # SNR-Margin
                RFI_mode = 0;                    # RFI-Carrier
                DsINP = 0;                       # Impulse-Noise-Protection
                DiagnosticEnabled = no;        # DSL-Diagnose Modus
                DSLMode = 0;   
                IsDSLModeSet = no;
                VinaxConfigBitField = 3;
                DisablePTMCRCCheck = no;
                                               # DSL-Feedback
                sPLZ = "7270";                   # Absender Postleitzahl
                sMailAddr = "ftpuser@fritz.box"; # Absender Email-Adresse
                sDPVersion = "";
                bAutomaticFeedbackMail = no;
                nDays = 7;                        

                templates {
                        VPI = 1;
                        VCI = 32;
                        retries = 7;
                        encap = dslencap_pppoe;
                } {
                        VPI = 8;
                        VCI = 35;
                        retries = 0;
                        encap = dslencap_pppoe;
                } {
                        VPI = 8;
                        VCI = 48;
                        retries = 0;
                        encap = dslencap_pppoe;
                } {
                        VPI = 8;
                        VCI = 48;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 8;
                        VCI = 48;
                        retries = 0;
                        encap = dslencap_pppoa_llc;
                } {
                        VPI = 8;
                        VCI = 67;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 8;
                        VCI = 67;
                        retries = 0;
                        encap = dslencap_pppoa_llc;
                } {
                        VPI = 8;
                        VCI = 64;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 8;
                        VCI = 36;
                        retries = 0;
                        encap = dslencap_pppoe;
                } {
                        VPI = 0;
                        VCI = 35;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 0;
                        VCI = 35;
                        retries = 0;
                        encap = dslencap_pppoa_llc;
                } {
                        VPI = 0;
                        VCI = 35;
                        retries = 0;
                        encap = dslencap_pppoe;
                } {
                        VPI = 9;
                        VCI = 35;
                        retries = 0;
                        encap = dslencap_pppoe;
                } {
                        VPI = 1;
                        VCI = 32;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 1;
                        VCI = 32;
                        retries = 0;
                        encap = dslencap_pppoa_llc;
                } {
                        VPI = 0;
                        VCI = 32;
                        retries = 0;
                        encap = dslencap_pppoe;
                } {
                        VPI = 0;
                        VCI = 32;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 0;
                        VCI = 32;
                        retries = 0;
                        encap = dslencap_pppoa_llc;
                } {
                        VPI = 0;
                        VCI = 34;
                        retries = 0;
                        encap = dslencap_pppoe;
                } {
                        VPI = 0;
                        VCI = 34;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 0;
                        VCI = 34;
                        retries = 0;
                        encap = dslencap_pppoa_llc;
                } {
                        VPI = 0;
                        VCI = 33;
                        retries = 0;
                        encap = dslencap_pppoe;
                } {
                        VPI = 8;
                        VCI = 32;
                        retries = 0;
                        encap = dslencap_pppoe;
                } {
                        VPI = 8;
                        VCI = 32;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 8;
                        VCI = 32;
                        retries = 0;
                        encap = dslencap_pppoa_llc;
                } {
                        VPI = 0;
                        VCI = 38;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 0;
                        VCI = 38;
                        retries = 0;
                        encap = dslencap_pppoa_llc;
                } {
                        VPI = 8;
                        VCI = 35;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 8;
                        VCI = 35;
                        retries = 0;
                        encap = dslencap_pppoa_llc;
                } {
                        VPI = 0;
                        VCI = 81;
                        retries = 0;
                        encap = dslencap_pppoe;
                } {
                        VPI = 0;
                        VCI = 81;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 0;
                        VCI = 81;
                        retries = 0;
                        encap = dslencap_pppoa_llc;
                } {
                        VPI = 8;
                        VCI = 81;
                        retries = 0;
                        encap = dslencap_pppoe;
                } {
                        VPI = 8;
                        VCI = 81;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 8;
                        VCI = 81;
                        retries = 0;
                        encap = dslencap_pppoa_llc;
                } {
                        VPI = 0;
                        VCI = 100;
                        retries = 0;
                        encap = dslencap_pppoe;
                } {
                        VPI = 0;
                        VCI = 100;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 0;
                        VCI = 100;
                        retries = 0;
                        encap = dslencap_pppoa_llc;
                } {
                        VPI = 1;
                        VCI = 50;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 1;
                        VCI = 50;
                        retries = 0;
                        encap = dslencap_pppoe;
                }
       }
        saved_non_ata_ip_config {
                ipaddr = 192.168.178.1;
                netmask = 255.255.255.0;
                dns1 = 192.168.180.1;
                dns2 = 192.168.180.2;
                overwrite_dns1 = 0.0.0.0;
                overwrite_dns2 = 0.0.0.0;
        }
        accesslist_version = 3;
        tr069discover_vlancfg {
                vlanencap = vlanencap_none;
                vlanid = 0;
                vlanprio = 0;
        }
}

pppoeiface: Soll die FBF FON WLAN 7050 als ATA laufen, dann muss man diese Zeile einfügen. Leider dann kein NAT mehr.

servercfg

servercfg {
        hostname = "(none)";           # Optionaler Alias für fritz.box wenn nicht "(none)"

        dns1 = 192.168.178.1;          # 1. DNS-Server, wurd von multid in resolv.conf eingetragen
        dns2 = 192.168.178.1;          # 2. DNS-Server, wurd von multid in resolv.conf eingetragen

        use_user_dns_for_ipv4 = no;    # User-DNS-Server für IPv4 (ab 5.2x)
        user_dns1_for_ipv4 = 0.0.0.0;  #
        user_dns2_for_ipv4 = 0.0.0.0;  #

        use_user_dns_for_ipv6 = no;    # User-DNS-Server für IPv6 (ab 5.2x)
        user_dns1_for_ipv6 = ::;       #
        user_dns2_for_ipv6 = ::;       #
}

websrv

websrv {
        port = "80";
        https_port = "";
        read_timeout = 15m;
        request_timeout = 30s;
        keepalive_timeout = 5m;
        nokeepalive = "*";
        errordir = "/usr/www/html/errors";
        webdir = "/usr/www";
        cgidir = "cgi-bin";
        indexfn = "index.var", "index.htm", "index.html";
        users {
                username = "$$$$<langer verschlüsselter string>";
                passwd = "$$$$<langer verschlüsselter string>";
        }
        users_only_for_https = yes;
}

ipv6

ipv6 {
        ulamode = ulamode_dynamic;
        use_default_ula = yes;
        ula = fd00::;
        use_fixed_mtu = no;
        fixed_mtu = 1280;
        radv {
                MinRtrAdvInterval = 450;
                MaxRtrAdvInterval = 600;
                AdvDefaultLifetime = 1800;
                PreferedLifeTime = 3600;
                ValidLifeTime = 7200;
        }
        sixxs {
                ticserver = "tic.sixxs.net";
        }
        labconfig {
                enable = no;
                radv_GUA_disable = no;
                radv_overwrite_liftimes = no;
                radv_overwrite_prefered_lifetime = 1800;
                radv_overwrite_valid_lifetime = 3600;
                radv_overwrite_flags = no;
                radv_set_mflag = no;
                radv_set_oflag = yes;
                dhcpv6wanmode = dhcpv6wanmode_statefull;
        }
}

dhcpserver

dhcpserver {
        saveinterval = 1h;
        generic {
                default_lease_time = 10d;
                max_lease_time = 13d;
        }
}

dhcpclient

dhcpclient {
        metric = 9;
}

dnsserver

dnsserver {
        cache_maxKB = 16;
        negative_ttl = 5m;
}

ddns

ddns {
        accounts {
                enabled = no;
                domain = "";
                iface = 0;
                username = "";
                passwd = "";
                ddnsprovider = "dyndns.org";
        }
        types {
                type = "dyndns";
                url = "/nic/update?system=dyndns&hostname=<domain>&myip=<ipaddr>&wildcard=NOCHG";
        } {
                type = "dyndns-custom";
                url = "/nic/update?system=custom&hostname=<domain>&myip=<ipaddr>&wildcard=NOCHG";
        } {
                type = "dyndns-statdns";
                url = "/nic/update?system=statdns&hostname=<domain>&myip=<ipaddr>&wildcard=NOCHG";
        } {
                type = "noip";
                url = "/ducupdate.php?update=<b64>username=<username>&pass=<pass>&h[]=<domain>&ip=<ipaddr></b64>";
        } {
                type = "2mydns";
                url = "/dyn.asp?username=<username>&password=<pass>&hostname=<domain>&myip=<ipaddr>";
        } {
                type = "dns4biz";
                url = "/nic/update?hostname=<domain>&myip=<ipaddr>";
        } {
                type = "selfhost";
                url = "/nic/update?myip=<ipaddr>&host=<domain>&textmodi=1&http_status=1";
        } {
                type = "strato";
                url = "/nic/update?hostname=<domain>";
        } {
                type = "userdefined";
                url = "";
        } {
                type = "TZO";
                url = "/webclient/tzoperl.html?TZOName=<domain>&Email=<username>&TZOKey=<pass>&IPAddress=<ipaddr>&system=tzodns&info=1";
        } {
                type = "namemaster";
                url = "/dyn.php?username=<username>&password=<pass>&hostname=<domain>";
        }
        provider {
                name = "dyndns.org";
                type = "dyndns";
                livedelay = 0w;
                touchtime = 30d;
                server = "members.dyndns.org";
                infourl = "http://www.dyndns.org/";
        } {
                name = "dyndns.org-custom";
                type = "dyndns-custom";
                livedelay = 0w;
                touchtime = 30d;
                server = "members.dyndns.org";
                infourl = "http://www.dyndns.org/";
        } {
                name = "dyndns.org-statdns";
                type = "dyndns-statdns";
                livedelay = 0w;
                touchtime = 30d;
                server = "members.dyndns.org";
                infourl = "http://www.dyndns.org/";
        } {
                name = "No-IP.com";
                type = "noip";
                livedelay = 4m;
                touchtime = 0w;
                server = "dynupdate.no-ip.com:8245";
                infourl = "http://www.no-ip.com/";
        } {
                name = "2myDNS";
                type = "2mydns";
                livedelay = 0w;
                touchtime = 0w;
                server = "dyn.2mydns.com";
                infourl = "http://www.2mydns.com/";
        } {
                name = "DNS4BIZ.DE Premium";
                type = "dns4biz";
                livedelay = 0w;
                touchtime = 0w;
                server = "au-eu.dns4biz.net";
                infourl = "http://www.dns4biz.com/services_avm.php3";
        } {
                name = "DNS4BIZ.DE Business";
                type = "dns4biz";
                livedelay = 0w;
                touchtime = 0w;
                server = "au-eu.dns4biz.biz";
                infourl = "http://www.dns4biz.com/services_avm.php3";
        } {
                name = "selfhost.de";
                type = "selfhost";
                livedelay = 0w;
                touchtime = 0w;
                server = "carol.selfhost.de";
                infourl = "http://www.selfhost.de";
        } {
                name = "STRATO AG";
                type = "strato";
                livedelay = 4m;
                touchtime = 0w;
                server = "dyndns.strato.com";
                infourl = "http://www.strato.de/webhosting/index.html";
        } {
                name = "Benutzerdefiniert";
                type = "userdefined";
                livedelay = 4m;
                touchtime = 0w;
                server = "";
                infourl = "http://";
        } {
                name = "TZO.com";
                type = "TZO";
                livedelay = 0w;
                touchtime = 0w;
                server = "rh.tzo.com";
                infourl = "http://www.tzo.com";
        } {
                name = "namemaster.de";
                type = "namemaster";
                livedelay = 0w;
                touchtime = 0w;
                server = "dynup.de";
                infourl = "http://www.namemaster.de";
        }
}

webui

webui {
        username = "";
        password = "$$$$<langer verschlüsselter string>";
        expertmode = yes;
        wizard_completed = no;
        event_filter = 0;
        read_access_without_login = no;
}

fminiframework

fminiframework {
        enabled = no;
        converted = yes;
}
  • converted
    todo

capiovertcp

capiovertcp {
        enabled = no;
        maxctrl = 6;
        port = 5031;
}
  • port
    TCP-Port des Servers, standard 5031.

emailnotify

emailnotify {
        enabled = no;
        interval = daily;
        From = "";
        To = "";
        SMTPServer = "";
        accountname = "";
        passwd = "";
        show_eventlist = yes;
        show_voipstat = yes;
        show_kidsstat = yes;
        show_onlinecntstat = yes;
        show_fonstat = yes;
        starttls = yes;
        dsl_pushmail_mode = 0;
}

night_time_control

night_time_control {
        enabled = yes;
        time_on = "23:59";
        time_off = "00:00";
        ring_blocked = yes;
}

ntpclient

ntpclient {
        server_list = "0.europe.pool.ntp.org";
}

led

led {
        infoled_reason = 13;
}

timezone_manual

timezone_manual {
        enabled = no;
        offset = 0;
        dst_enabled = no;
        TZ_string = "";
        name = "";
}

mrouter

mrouter {
        igmp_version_for_upstream = 3;
        igmp_version_for_other = 3;
        igmp_prio = 48;
}

rip

rip {
}

cpu_schedule

cpu_schedule {
        dsl_token = 5000;
        lan_token = 20000;
}

TR_064

TR_064 {
        enabled = no;
        username = "dslf-config";
        persistent_data = "";
}

landevices

landevices {
        landevices {
                ip = 192.168.178.40;
                name = "host1";
                mac = 00:XX:XX:XX:XX:XX;
                medium = medium_ethernet;
        } {
                ip = 192.168.178.41;
                name = "host2";
                mac = 00:00:00:00:00:00;
                medium = medium_wlan;
        } {
                ...
        }
}

prios

prios {
        profiles {
                name = "profile_http";
                rules = "TCP 80 0 0 0";
        } {
                name = "profile_ftp";
                rules = "TCP 20 21 0 0";
        } {
                name = "profile_emule";
                rules = "TCP 0 0 4662 0", "UDP 0 0 4672 0";
        } {
                name = "profile_torrent";
                rules = "TCP 0 0 6881 6999";
        } {
                name = "profile_rdp";
                rules = "TCP 3389 0 0 0";
        } {
                name = "profile_ssh";
                rules = "TCP 0 0 22 0";
        } {
                name = "profile_telnet";
                rules = "TCP 0 0 23 0";
        }
}

nqos

nqos {
        version = 3;
        macaddr_whitelist_enabled = no;
        bridge_with_switch_separation = yes;
        defaultresult {
                tos = -1;
                vlan_prio = -1;
                queueref = "default";
        }
        appls {
                enabled = yes;
                name = "sip-appl";
                protocol = qos_classifier_appl_sip;
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "hrealtime";
                }
        }
        classifiers {
                enabled = yes;
                name = "clfy_voip";
                type = qos_cfg_internal;
                iface = qos_local;
                rule = "localmark sip";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "hrealtime";
                }
        } {
                enabled = yes;
                name = "clfy_voip";
                type = qos_cfg_internal;
                iface = qos_local;
                rule = "localmark rtp";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "hrealtime";
                }
        } {
                enabled = no;
                name = "tr069";
                type = qos_cfg_hidden;
                iface = qos_local;
                rule = "localmark sipdns,ntpdns,tr069dns,tr069";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "hprio";
                }
        } {
                enabled = yes;
                name = "igmp";
                type = qos_cfg_hidden;
                iface = qos_local;
                rule = "localmark igmp";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "ifacectl";
                }
        } {
                enabled = yes;
                name = "webdav";
                type = qos_cfg_hidden;
                iface = qos_local;
                rule = "localmark webdav";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "low";
                }
        } {
                enabled = yes;
                name = "mstv";
                type = qos_cfg_hidden;
                iface = qos_lan;
                rule = "udp.dport 43962,47806";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "hprio";
                }
        } {
                enabled = yes;
                name = "icmp-v6";
                type = qos_cfg_hidden;
                iface = qos_lan;
                rule = "ip.proto IPv6-ICMP";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "hprio";
                }
        } {
                enabled = yes;
                name = "icmp";
                type = qos_cfg_hidden;
                iface = qos_lan;
                rule = "ip.proto icmp";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "hprio";
                }
        } {
                enabled = yes;
                name = "dns";
                type = qos_cfg_hidden;
                iface = qos_lan;
                rule = "udp.dport 53";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "hprio";
                }
        } {
                enabled = yes;
                name = "clfy_voip";
                type = qos_cfg_internal;
                iface = qos_lan;
                rule = "udp.dport 5060";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "hrealtime";
                        applref = "sip-appl";
                }
        } {
                enabled = yes;
                name = "clfy_fmedia";
                type = qos_cfg_internal;
                iface = qos_lan;
                rule = "dhcpoption 12 FRITZ!Media* mediatab";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "realtime";
                }
        } {
                enabled = yes;
                name = "clfy_fmedia";
                type = qos_cfg_internal;
                iface = qos_lan;
                rule = "ethsrctab mediatab";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "realtime";
                }
        } {
                enabled = no;
                name = "clfy_www";
                type = qos_cfg_system;
                iface = qos_lan;
                rule = "ip.proto == tcp ip.len <= 64";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "none";
                }
        } {
                enabled = no;
                name = "clfy_www";
                type = qos_cfg_system;
                iface = qos_lan;
                rule = "tcp.dest 80,3128,8080 ip.len <= 800";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "none";
                }
        }
        queues {
                enabled = yes;
                with_sfq = no;
                type = qos_cfg_system;
                name = "ifacectl";
                iface = qos_wan;
                queue_type = queue_llq;
                precedence = 0;
                weight = 0;
                shapingrate = 0;
                shapingburst = 0;
                allow_more = yes;
                ceilrate = 0;
        } {
                enabled = yes;
                with_sfq = no;
                type = qos_cfg_system;
                name = "hprio";
                iface = qos_wan;
                queue_type = queue_llq;
                precedence = 10;
                weight = 0;
                shapingrate = 0;
                shapingburst = 0;
                allow_more = yes;
                ceilrate = 0;
        } {
                enabled = yes;
                with_sfq = no;
                type = qos_cfg_system;
                name = "hrealtime";
                iface = qos_wan;
                queue_type = queue_llq;
                precedence = 20;
                weight = 0;
                shapingrate = 0;
                shapingburst = 0;
                allow_more = yes;
                ceilrate = 0;
        } {
                enabled = yes;
                with_sfq = yes;
                type = qos_cfg_system;
                name = "realtime";
                iface = qos_wan;
                queue_type = queue_llq;
                precedence = 30;
                weight = 0;
                shapingrate = 0;
                shapingburst = 0;
                allow_more = yes;
                ceilrate = 0;
        } {
                enabled = yes;
                with_sfq = yes;
                type = qos_cfg_system;
                name = "important";
                iface = qos_wan;
                queue_type = queue_llq;
                precedence = 100;
                weight = 90;
                shapingrate = 0;
                shapingburst = 0;
                allow_more = yes;
                ceilrate = 0;
        } {
                enabled = yes;
                with_sfq = yes;
                type = qos_cfg_system;
                name = "default";
                iface = qos_wan;
                queue_type = queue_llq;
                precedence = 100;
                weight = 10;
                shapingrate = 0;
                shapingburst = 0;
                allow_more = yes;
                ceilrate = 0;
        } {
                enabled = yes;
                with_sfq = yes;
                type = qos_cfg_system;
                name = "low";
                iface = qos_wan;
                queue_type = queue_llq;
                precedence = 200;
                weight = 0;
                shapingrate = 0;
                shapingburst = 0;
                allow_more = yes;
                ceilrate = 0;
        }
}

ethernet_eco

ethernet_eco {
        eth0_mode = 2;      # LAN1: 0=deaktiviert, 1=automatisch 100MBit, 2=immer an, 3=automatisch GBit
        eth1_mode = 2;      # LAN2: 0=deaktiviert, 1=automatisch 100MBit, 2=immer an, 3=automatisch GBit
        eth2_mode = 2;      # LAN3: 0=deaktiviert, 1=automatisch 100MBit, 2=immer an, 3=automatisch GBit
        eth3_mode = 2;      # LAN4: 0=deaktiviert, 1=automatisch 100MBit, 2=immer an, 3=automatisch GBit
}

unattended_update

unattended_update {
        update_found = no;
        running_version = "";
        no_update_found_time = "2010-07-02 06:43:56";
        priority = 1;
        check_intervall = 168;
}

unbefriedigt:

unattended_update {
        update_found = no;
        no_update_found_time = "1970-01-01 01:00:00";
        priority = 1;
        check_intervall = 168;
}

avmlogd

avmlogd {
        enabled = no;
}

speedtest

speedtest {
        enabled = no;
}

provider_default

provider_default {
}

jasonii

jasonii {
        enabled = yes;
        user_email = "$$$$<langer verschlüsselter string>";
        box_id = "";
        box_id_passphrase = "";
        dyn_dns_name = "";
        upstream_sync_pending = no;
}

Siehe auch

Internet: (170)

DSL: (205)