[SOLVED] BCM4313 WiFi AP Problems

Kernels & Hardware, configuring network, installing services

[SOLVED] BCM4313 WiFi AP Problems

Postby Sirius » 2013-01-11 09:27

Hi,

I'm trying to set up a wireless AP on my laptop with a BCM4313 with the instructions over here: http://agentoss.wordpress.com/2011/10/31/creating-a-wireless-access-point-with-debian-linux/:
Code: Select all
$ lspci | grep 4313
03:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)


When I try to start the hostapd, I run into these errors:
Code: Select all
# hostapd -dd /etc/hostapd/hostapd.conf
random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/hostapd.conf
nl80211: interface wlan0 in phy phy0
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
rfkill: initial event: idx=1 type=2 op=0 soft=0 hard=0
nl80211: Using driver-based off-channel TX
nl80211: Add own interface ifindex 4
nl80211: Add own interface ifindex 3
nl80211: Set mode ifindex 3 iftype 3 (AP)
nl80211: Failed to set interface 3 to mode 3: -95 (Operation not supported)
nl80211: Interface already in requested mode - ignore error
nl80211: Create interface iftype 6 (MONITOR)
nl80211: New interface mon.wlan0 created: ifindex=7
nl80211: Add own interface ifindex 7
nl80211: Adding interface wlan0 into bridge br0
Could not add interface wlan0 into bridge br0: Operation not supported
nl80211: Failed to add interface wlan0 into bridge br0: Operation not supported
nl80211: Remove interface ifindex=7
netlink: Operstate: linkmode=0, operstate=6
nl80211: Set mode ifindex 3 iftype 2 (STATION)
nl80211 driver initialization failed.


This is my /etc/hostapd/hostapd.conf:
Code: Select all
# cat /etc/hostapd/hostapd.conf
interface=wlan0
driver=nl80211

# YOUR BRIDGE NAME
bridge=br0

# YOUR COUNTRY HERE
country_code=IN
ieee80211d=1

# MODIFY YOUR SSID HERE
ssid=Markab

# CHANGE MODE HERE IF NEEDED
hw_mode=g

# CHANGE CHANNEL EVENTUALLY
channel=6

wme_enabled=0
macaddr_acl=0
auth_algs=1

# WE USE WPA2
wpa=2

# MODIFY YOUR PASSPHRASE HERE
wpa_passphrase=********

wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP


Also, here's the output of iw list:
Code: Select all
# iw list
Wiphy phy0
   Band 1:
      Capabilities: 0x4070
         HT20
         Static SM Power Save
         RX Greenfield
         RX HT20 SGI
         RX HT40 SGI
         No RX STBC
         Max AMSDU length: 3839 bytes
         No DSSS/CCK HT40
         40 MHz Intolerant
      Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
      Minimum RX AMPDU time spacing: 8 usec (0x06)
      HT TX/RX MCS rate indexes supported: 0-7
      Frequencies:
         * 2412 MHz [1] (19.0 dBm)
         * 2417 MHz [2] (19.0 dBm)
         * 2422 MHz [3] (19.0 dBm)
         * 2427 MHz [4] (19.0 dBm)
         * 2432 MHz [5] (19.0 dBm)
         * 2437 MHz [6] (19.0 dBm)
         * 2442 MHz [7] (19.0 dBm)
         * 2447 MHz [8] (19.0 dBm)
         * 2452 MHz [9] (19.0 dBm)
         * 2457 MHz [10] (19.0 dBm)
         * 2462 MHz [11] (19.0 dBm)
         * 2467 MHz [12] (disabled)
         * 2472 MHz [13] (disabled)
         * 2484 MHz [14] (disabled)
      Bitrates (non-HT):
         * 1.0 Mbps
         * 2.0 Mbps (short preamble supported)
         * 5.5 Mbps (short preamble supported)
         * 11.0 Mbps (short preamble supported)
         * 6.0 Mbps
         * 9.0 Mbps
         * 12.0 Mbps
         * 18.0 Mbps
         * 24.0 Mbps
         * 36.0 Mbps
         * 48.0 Mbps
         * 54.0 Mbps
   max # scan SSIDs: 4
   max scan IEs length: 2257 bytes
   Coverage class: 0 (up to 0m)
   Supported Ciphers:
      * WEP40 (00-0f-ac:1)
      * WEP104 (00-0f-ac:5)
      * TKIP (00-0f-ac:2)
      * CCMP (00-0f-ac:4)
   Available Antennas: TX 0 RX 0
   Supported interface modes:
       * managed
       * monitor
   software interface modes (can always be added):
       * monitor
   interface combinations are not supported
   Supported commands:
       * new_interface
       * set_interface
       * new_key
       * new_beacon
       * new_station
       * new_mpath
       * set_mesh_params
       * set_bss
       * authenticate
       * associate
       * deauthenticate
       * disassociate
       * join_ibss
       * join_mesh
       * remain_on_channel
       * set_tx_bitrate_mask
       * action
       * frame_wait_cancel
       * set_wiphy_netns
       * set_channel
       * set_wds_peer
       * connect
       * disconnect
   Supported TX frame types:
       * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
       * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
       * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
       * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
       * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
       * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
       * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
   Supported RX frame types:
       * IBSS: 0xd0
       * managed: 0x40 0xd0
       * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
       * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
       * mesh point: 0xb0 0xc0 0xd0
       * P2P-client: 0x40 0xd0
       * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
   Device supports RSN-IBSS.


Thanks in advance!
Last edited by Sirius on 2013-01-12 09:25, edited 1 time in total.
Sirius
 
Posts: 3
Joined: 2011-03-25 07:14

Re: [SOLVED] BCM4313 WiFi AP Problems

Postby Sirius » 2013-01-12 09:25

After some reading up, it is clear that the BCM4313 with the brcm80211 driver cannot handle the AP mode, as the support has not been implemented in the brcm80211 driver.
The output of iw list makes this clear:
Code: Select all
 Supported interface modes:
       * managed
       * monitor
Sirius
 
Posts: 3
Joined: 2011-03-25 07:14


Return to System configuration

Who is online

Users browsing this forum: No registered users and 13 guests

fashionable