Hi,<br><br>I am trying to configure BCM4311 to Master mode. I am running Ubuntu 9.10 Server version.<br>I have downloaded and installed hostapd-0.7.3, libnl-1.1.5, compat-wireless-2011-06-01 (for b43 and related drivers), b43-fwcutter-014 &amp; broadcom-wl-5.10.56.27.3.<br>
<br>When I start the hostapd, I get an error as follows:<br><br>manovega@manovega:~$ sudo hostapd /etc/hostapd/hostapd.conf -dd<br>Configuration file: /etc/hostapd/hostapd.conf<br>ctrl_interface_group=0<br>nl80211: Register Action command failed: ret=-114 (Operation already in progress)<br>
nl80211: Register Action match - hexdump(len=1): 06<br>nl80211: Failed to register Action frame processing - ignore for now<br>nl80211: Add own interface ifindex 4<br>nl80211: New interface mon.wlan%d created: ifindex=8<br>
nl80211: Add own interface ifindex 8<br>BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)<br>nl80211: Added 802.11b mode based on 802.11g information<br>Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=20 dBm<br>
Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=20 dBm<br>Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=20 dBm<br>Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=20 dBm<br>Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=20 dBm<br>
Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=20 dBm<br>Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=20 dBm<br>Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=20 dBm<br>Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=20 dBm<br>
Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=20 dBm<br>Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=20 dBm<br>Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=20 dBm<br>Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=20 dBm<br>
Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=20 dBm<br>Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=20 dBm<br>Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=20 dBm<br>Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=20 dBm<br>
Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=20 dBm<br>Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=20 dBm<br>Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=20 dBm<br>Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=20 dBm<br>
Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=20 dBm<br>RATE[0] rate=10 flags=0x1<br>RATE[1] rate=20 flags=0x1<br>RATE[2] rate=55 flags=0x1<br>RATE[3] rate=110 flags=0x1<br>RATE[4] rate=60 flags=0x0<br>RATE[5] rate=90 flags=0x0<br>
RATE[6] rate=120 flags=0x0<br>RATE[7] rate=180 flags=0x0<br>RATE[8] rate=240 flags=0x0<br>RATE[9] rate=360 flags=0x0<br>RATE[10] rate=480 flags=0x0<br>RATE[11] rate=540 flags=0x0<br>Scan for neighboring BSSes prior to enabling 40 MHz channel<br>
Scan requested (ret=0) - scan timeout 10 seconds<br>Interface initialization will be completed in a callback<br>nl80211: Event message available<br>nl80211: Scan trigger<br>RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()<br>
RTM_NEWLINK, IFLA_IFNAME: Interface &#39;mon.wlan%d&#39; added<br>Unknown event 5<br>RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()<br>RTM_NEWLINK, IFLA_IFNAME: Interface &#39;mon.wlan%d&#39; added<br>Unknown event 5<br>RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])<br>
RTM_NEWLINK, IFLA_IFNAME: Interface &#39;mon.wlan%d&#39; added<br>Unknown event 5<br>RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()<br>RTM_NEWLINK, IFLA_IFNAME: Interface &#39;wlan%d&#39; added<br>Unknown event 5<br>RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])<br>
RTM_NEWLINK, IFLA_IFNAME: Interface &#39;wlan%d&#39; added<br>Unknown event 5<br>nl80211: Event message available<br>nl80211: New scan results available<br>Received scan results (0 BSSes)<br>40 MHz affected channel range: [2402,2452] MHz<br>
Completing interface initialization<br>Mode: IEEE 802.11g  Channel: 6  Frequency: 2437 MHz<br>nl80211: Failed to set channel (freq=2437): -22 (Invalid argument)<br>Could not set channel for kernel driver<br>RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])<br>
RTM_NEWLINK, IFLA_IFNAME: Interface &#39;wlan%d&#39; added<br>Unknown event 5<br>^CSignal 2 received - terminating<br>Flushing old station entries<br>Deauthenticate all stations<br>rmdir[ctrl_interface]: No such file or directory<br>
nl80211: Remove interface ifindex=8<br>netlink: Operstate: linkmode=0, operstate=6<br><br><br>I see that the error is, <br>&quot;<b>nl80211: Failed to set channel (freq=2437): -22 (Invalid argument)<br>
Could not set channel for kernel driver<br></b>
&quot;<br><br>The b43 and related drivers loaded are:<br><i>b43                   312040  0 <br>mac80211              265776  1 b43<br>cfg80211              167168  2 b43,mac80211<br>compat_firmware_class     8220  1 b43<br>
ssb                    50564  1 b43<br>pcmcia                 36808  2 b43,ssb<br>compat                 25472  4 b43,mac80211,cfg80211,ssb<br>led_class               4096  2 b43,compat<br></i><br>Am I missing any thing here?<br>
Can some one help me with this?<br><br>Thanks,<br>Uday.<br>