WLAN-Router: Frequenzen vorgeben

  • Entweder ist google zu doof - oder ich. Vermutlich ich.

    /etc/hostapd/hostapd.conf

    channel=??

    Ich schaffe es nicht, einen alphanumerischen zweistelligen Kanal vorzugeben. Also "10" geht nicht. Woran liegt das? Bin ich zu dumm? Oder läuft "cannel=" auf hexadezimal hinaus - also "channel=A" für Kanal 10?

    Noch eine Frage:
    Das 5GHz-Band. Nehmen wir mal an, ich will mein Wlan auf dem Kanal 48 (oder 112) anbieten. Was muss ich dafür in hostapd.conf tun?

    Ich möchte das gern lernen - und bedanke mich für Erläuterungen, Erklärungen.

  • Hi,

    Eigentlich nur die Nr. 10!
    Aber bei einigen Treibern muss man iwconfig bemühen. Hast Du auch die Ländereinstellung beachtet?

    "Channel number (IEEE 802.11)
    # (default: 0, i.e., not set)
    # Please note that some drivers do not use this value from hostapd and the
    # channel will need to be configured separately with iwconfig.
    #
    # If CONFIG_ACS build option is enabled, the channel can be selected
    # automatically at run time by setting channel=acs_survey or channel=0, both of
    # which will enable the ACS survey based algorithm.
    channel=1

    # ACS tuning - Automatic Channel Selection
    # See: http://wireless.kernel.org/en/users/Documentation/acs
    #
    # You can customize the ACS survey algorithm with following variables:
    #
    # acs_num_scans requirement is 1..100 - number of scans to be performed that
    # are used to trigger survey data gathering of an underlying device driver.
    # Scans are passive and typically take a little over 100ms (depending on the
    # driver) on each available channel for given hw_mode. Increasing this value
    # means sacrificing startup time and gathering more data wrt channel
    # interference that may help choosing a better channel. This can also help fine
    # tune the ACS scan time in case a driver has different scan dwell times.
    #
    # acs_chan_bias is a space-separated list of <channel>:<bias> pairs. It can be
    # used to increase (or decrease) the likelihood of a specific channel to be
    # selected by the ACS algorithm. The total interference factor for each channel
    # gets multiplied by the specified bias value before finding the channel with
    # the lowest value. In other words, values between 0.0 and 1.0 can be used to
    # make a channel more likely to be picked while values larger than 1.0 make the
    # specified channel less likely to be picked. This can be used, e.g., to prefer
    # the commonly used 2.4 GHz band channels 1, 6, and 11 (which is the default
    # behavior on 2.4 GHz band if no acs_chan_bias parameter is specified).
    #
    # Defaults:
    #acs_num_scans=5
    #acs_chan_bias=1:0.8 6:0.8 11:0.8

    # Channel list restriction. This option allows hostapd to select one of the
    # provided channels when a channel should be automatically selected.
    # Channel list can be provided as range using hyphen ('-') or individual
    # channels can be specified by space (' ') separated values
    # Default: all channels allowed in selected hw_mode
    #chanlist=100 104 108 112 116
    #chanlist=1 6 11-13"

    Gruß Arnd


    Gesendet von iPhone mit Tapatalk

  • Zitat


    Eigentlich nur die Nr. 10!

    Genau das geht bei mir nicht. Einstellige Kanalnummern gehen, zweistellige gehen nicht - dann startet das WLAN nicht. Leider sind die Logs da nicht aussagekräftig, ich stochere da im Nebel.

    Zitat

    Hast Du auch die Ländereinstellung beachtet?


    # COUNTRY
    country_code=DE
    ieee80211d=1

    Zitat

    Aber bei einigen Treibern muss man iwconfig bemühen.

    Diesen Hinweis habe ich nun überhaupt nicht verstanden. Kannst Du das bitte mit einigen Sätzen erläutern?

    Zudem möchte ich eigentlich in die Kanalgruppe 5 GHz.

Jetzt mitmachen!

Du hast noch kein Benutzerkonto auf unserer Seite? Registriere dich kostenlos und nimm an unserer Community teil!