hostapd starten

  • Hallo, ich habe folgendes Problem, ich möchte gerne auf meinem Rechner ein w-lan einrichten mit dem es möglich ist, dass andere Geräte ins netzwerkeingebunden sind und internet haben. Der Rechner ist als router konfiguriert und läuft kabeklgebunden auch 1a :
    etho:----> modem
    eth1-----> switch
    wlan0: nicht konfiguriert, aber ist lauffähig... findet netzwerke in der umgebung (Atheros AR 9285)
    habe mir nun hostapd runtergeladen.
    /etc/hostapd.conf :
    interface=wlan0
    #bridge=br0
    driver=nl80211
    logger_syslog=-1
    logger_syslog_level=2
    logger_stdout=-1
    logger_stdout_level=2
    dump_file=/tmp/hostapd.dump
    ctrl_interface=/var/run/hostapd
    ctrl_interface_group=0
    ssid= test123
    ieee80211n=1
    ht_capab=[HT40+][SHORT-GI-40][DSSS_CCK-40][MAX-AMSDU-3839]
    hw_mode=g
    channel=1
    beacon_int=100
    dtim_period=2
    max_num_sta=255
    rts_threshold=2347
    fragm_threshold=2346


    auth_algs=1
    ignore_broadcast_ssid=0
    wpa=2
    wpa_passphrase=<<<password>>
    wpa_key_mgmt=WPA-PSK
    wpa_pairwise=TKIP CCMP
    Bekomme beim ausführen aber dan die Fehlermeldung:
    hostapd -dd -K -t /etc/hostapd.conf
    1329842022.435555: Configuration file: /etc/hostapd.conf
    1329842022.438687: ctrl_interface_group=0
    1329842022.438913: ctrl_interface_group=0
    1329842022.441033: nl80211: Add own interface ifindex 4
    1329842022.479508: nl80211: New interface mon.wlan0 created: ifindex=7
    1329842022.479560: nl80211: Add own interface ifindex 7
    1329842022.511379: BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
    1329842022.511557: nl80211: Added 802.11b mode based on 802.11g information
    1329842022.511567: Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=14 dBm
    1329842022.511576: Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=14 dBm
    1329842022.511582: Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=14 dBm
    1329842022.511588: Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=14 dBm
    1329842022.511594: Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=14 dBm
    1329842022.511599: Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=14 dBm
    1329842022.511605: Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=14 dBm
    1329842022.511610: Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=14 dBm
    1329842022.511615: Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=14 dBm
    1329842022.511621: Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=14 dBm
    1329842022.511626: Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=14 dBm
    1329842022.511631: Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=14 dBm
    1329842022.511637: Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=14 dBm
    1329842022.511642: Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=14 dBm
    1329842022.511648: Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=14 dBm
    1329842022.511653: Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=14 dBm
    1329842022.511658: Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=14 dBm
    1329842022.511664: Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=14 dBm
    1329842022.511669: Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=14 dBm
    1329842022.511674: Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=14 dBm
    1329842022.511679: Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=14 dBm
    1329842022.511685: Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=14 dBm
    1329842022.511690: Hardware does not support configured mode
    1329842022.511710: wlan0: IEEE 802.11 Hardware does not support configured mode (2)
    1329842022.511929: Could not select hw_mode and channel. (-1)
    1329842022.511939: wlan0: Unable to setup interface.
    1329842022.511947: Flushing old station entries
    1329842022.511998: Deauthenticate all stations
    rmdir[ctrl_interface]: No such file or directory
    1329842022.512148: nl80211: Remove interface ifindex=7
    1329842022.789336: netlink: Operstate: linkmode=0, operstate=6
    ------------
    Was mache ich falsch ? vielleicht kennt sich ja jemand damit aus, ich bin etwas mit meinem latein am ende :S

    Für den Inhalt des Beitrages 39452 haftet ausdrücklich der jeweilige Autor: urs-us87