hostapd error with external usb wifi key

Discussion in 'Kernels' started by andrea.quintavalle, Sep 22, 2014.

  1. andrea.quintavalle

    andrea.quintavalle New Member

    Joined:
    Sep 22, 2014
    Messages:
    4
    Likes Received:
    0
    Hi, did a working setup of hostapd using internal wifi key, but when i tried to modify it to make it work with an external dlink nwd 2105 (ralink 2800 chipset, ap mode supported) just using wlan1 instead of wlan0, I have a this error:
    hostapd: wlan1: STA 68:17:29:ab:de:ac IEEE 802.11: Could not add STA to kernel driver
    Can someone tell me if there's something to change in kernel config to make it works?
    Thanks
     
  2. mikelangeloz

    mikelangeloz Member

    Joined:
    Jul 9, 2013
    Messages:
    129
    Likes Received:
    1
    Do you have appropriate firmware for your external USB wi-fi dongle?
    Also could you share the steps you made to make internal wi-fi work with AP mode?
    Thanks!
     
  3. andrea.quintavalle

    andrea.quintavalle New Member

    Joined:
    Sep 22, 2014
    Messages:
    4
    Likes Received:
    0
    These are my configuration files:
    /etc/hostapd/hostapd.conf:
    Code:
    interface=wlan0
    driver=nl80211
    ssid=myssid
    hw_mode=g
    channel=9
    macaddr_acl=0
    ignore_broadcast_ssid=0
    auth_algs=1
    wpa=3
    wpa_passphrase=password
    wpa_key_mgmt=WPA-PSK
    wpa_pairwise=TKIP
    rsn_pairwise=CCMP
    
    /etc/default/hostapd
    Code:
    DAEMON_CONF="/etc/hostapd/hostapd.conf"
    RUN_DAEMON="yes"
    
    Skipping DHCP and DNS configuration because it doesn't interfer with AP mode.
    Quite sure that wlan1 (ralink 2800 USB) was showing up correctly without using hostapd but I will check again to confirm there are no firmware problems.
     
  4. andrea.quintavalle

    andrea.quintavalle New Member

    Joined:
    Sep 22, 2014
    Messages:
    4
    Likes Received:
    0
    Sorry for delay in response, but I confirm that firmware for my USB wifi dongle is present:
    Code:
    dmesg:
    
    usb 2-1.1: new high speed USB device number 4 using fsl-ehci
    ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
    Registered led device: rt2800usb-phy1::radio
    Registered led device: rt2800usb-phy1::assoc
    Registered led device: rt2800usb-phy1::quality
    ADDRCONF(NETDEV_UP): wlan1: link is not ready
    and both wlan0 and wlan1 are present.
     

Share This Page