Wlan product.cfg

From Fritz!Box
Jump to: navigation, search

AVM Wiki >> Konfiguration >> wlan_product.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

Contents

Konfiguration

Aufgerufen von

Struktur

3370 5.06, avm-Branding:

Kommentar

# Valid station types:
#   - AP    : Access Point
#   - STA   : (Client)Station
#   - WDS_M : WDS Master
#   - WDS_R : WDS Repeater
#
# Valid operation modes:
#   - AP    (AP   ): Access Point
#   - STA   (STA  ): (Client)Station
#   - WDS_M (WDS_M): WDS Master
#   - WDS_R (WDS_R): WDS Repeater
#   - GUEST (AP   ): Guest Access Point
#
# Valid scenarios:
#   - SIMPLE           : No special dependencies between the interfaces
#   - TWO_CHIP_REPEATER: Speedbridge, with station and AP on different chips
#   - ONE_CHIP_REPEATER: NLR, with station and AP on the same chip

Hardware

# --- Hardware definition sections --------------------------------------------
hardware_1
hardware_1 {
    id          = 1;
    description = "Atheors Merlin";

    hw_specific {
    #   ?????
    }
}

Roles

# --- Role definition sections ------------------------------------------------
role_1
role_1 {
    id             = 1;
    description    = "Access Point";
    station_type   = AP;
    operation_mode = AP;

    master {
        ssid       = "FRITZ!Box 7270v3";
    }
    slave { 
        ssid       = "FRITZ!Box 7270v3";
    }
}
role_2
role_2 {
    id             = 2;
    description    = "Guest Access Point";
    station_type   = AP;
    operation_mode = GUEST;

    master { }
    slave { }
}
role_3
role_3 {
    id             = 3;
    description    = "WDS Master";
    station_type   = WDS_M;
    operation_mode = WDS_M;

    master { }
    slave { }
}
role_4
role_4 {
    id             = 4;
    description    = "WDS Repeater";
    station_type   = WDS_R;
    operation_mode = WDS_R;

    master { }
    slave { }
}

Configuration

# --- Configuration definition sections ---------------------------------------
configuration_1
configuration_1 {
    id          = 1;
    description = "AP-only mode";
    role_def_1 {
        hw_id           = 1;
        role            = 1;
        enabled         = 1;
    }
}
configuration_2
configuration_2 {
    id          = 2;
    description = "AP+Guest AP";
    role_def_1 {
        role            = 1;
        enabled         = 1;
        hw_id           = 1;
    }
    role_def_2 {
        role            = 2;
        enabled         = 1;
        slave_from_role = 1;
    }
}
configuration_3
configuration_3 {
    id           = 3;
    description  = "AP+WDS_M";
    role_def_1 {
        role            = 1;
        enabled         = 1;
        hw_id           = 1;
    }
    role_def_2 {
        role            = 3;
        enabled         = 1;
        slave_from_role = 1;
    }
}
configuration_4
configuration_4 {
    id           = 4;
    description  = "AP+WDS_R";
    role_def_1 {
        hw_id           = 1;
        role            = 1;
        enabled         = 1;
    }
    role_def_2 {
        role            = 4;
        enabled         = 1;
        slave_from_role = 1;
    }
}
configuration_5
configuration_5 {
    id           = 5;
    description  = "AP+Guest+WDS_M";
    role_def_1 {
        role            = 1;
        enabled         = 1;
        hw_id           = 1;
    }
    role_def_2 {
        role            = 2;
        enabled         = 1;
        slave_from_role = 1;
    }
    role_def_3 {
        role            = 3;
        enabled         = 1;
        slave_from_role = 1;
    }
}
configuration_6
configuration_6 {
    id           = 6;
    description  = "AP+Guest+WDS_R";
    role_def_1 {
        role            = 1;
        enabled         = 1;
        hw_id           = 1;
    }
    role_def_2 {
        role            = 2;
        enabled         = 1;
        slave_from_role = 1;
    }
    role_def_3 {
        role            = 4;
        enabled         = 1;
        slave_from_role = 1;
    }
}

Scenarios

# --- Scenario definition sections --------------------------------------------
scenario_1
scenario_1 {
    id                 = 1;
    version            = "0.0.0.1";
    description        = "Simple";
    scenario           = SIMPLE;        # Use SIMPLE state machine
    scenario_params    = 1,2,3,4;       # Scenario comprises role 1-4
    scenario_initial   = INIT;
    configuration_init = 1;             # Initial config
    configuration_list = 1,2,3,4,5,6;   # Scenario comprises configuration 1-6
}

General

# --- General definition sections ---------------------------------------------
general
general {
    product        = "FRITZ!Box 7270";
    description    = "";
    version        = "0.0.0.1";

    features {
        WPS {
            enabled = 1;
            version = "0.0.0.1";
        }
        WDS {
            enabled = 1;
            version = "0.0.0.1";
        }
        TIME_CONTROL {
            enabled = 1;
            version = "0.0.0.1";
        }
        NIGHT_TIME {
            enabled = 0;
            version = "0.0.0.1";
        }
        FMINI  {
            enabled = 1;
            version = "0.0.0.1";
        }
        STICK_AND_SURF {
            enabled = 1;
            version = "0.0.0.1";
        }
    }
}

Siehe auch

WLAN: (170)