LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 06-01-2009, 05:53 AM   #1
Janhouse
LQ Newbie
 
Registered: May 2009
Posts: 4

Rep: Reputation: 0
Question Hostapd problem with b43 (nl80211)


Couple days ago I decided to make wireless access point on my home server.
I have Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02).

After some googl'ing I found out that it is possible to use this card to make access point using hostapd.

(I am using Debian)

First I had to upgrade BCM4318 firmware using http://linuxwireless.org/en/users/Drivers/b43

So I did
Code:
sudo apt-get install b43-fwcutter
Upgraded kernel to 2.6.29.4.

Then I had to install all sorts of things.

libnl
iw
hostapd
compat-wireless
wireless-regdb
crda

Installed libnl, compat-wireless, wireless-regdb, crda, iw, hostapd.
Some of them had debian packages, some of them I had to install from source.

The problem is that after installing everything I still can't use it in AP mode.

Code:
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=0
Opening raw packet socket for ifindex 212
BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
nl80211: Added 802.11b mode based on 802.11g information
Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=27 dBm
Hardware does not support configured mode
wlan0: IEEE 802.11 Hardware does not support configured mode (2)
Could not select hw_mode and channel. (-1)
wlan0: Unable to setup interface.
Code:
 lsmod | grep b43
b43legacy             100748  0 
b43                   109076  0 
ssb                    37640  2 b43legacy,b43
rng_core                3644  2 b43legacy,b43
led_class               3604  6 b43legacy,b43,ath5k,rt2x00lib,iwl3945,iwlcore
mac80211              146148  16 b43legacy,b43,ath5k,rt2x00usb,rt2x00pci,rt2x00lib,iwlagn,iwl3945,iwlcore,rtl8187,rtl8180,zd1211rw,adm8211,p54usb,p54pci,p54common
cfg80211               57028  13 b43legacy,b43,ath5k,rt2x00lib,iwlagn,iwl3945,iwlcore,rtl8187,rtl8180,zd1211rw,adm8211,p54common,mac80211
pcmcia                 29928  3 b43,ssb,libertas_cs
rfkill                  9500  5 b43legacy,b43,iwlcore,rfkill_input,toshiba_acpi
input_polldev           3392  4 b43legacy,b43,rt2x00lib,toshiba_acpi
pcmcia_core            30384  6 b43,ssb,libertas_cs,pcmcia,yenta_socket,rsrc_nonstatic
Hostapd should use nl80211.
Code:
driver=nl80211
interface=wlan0
Can someone please point me in the right direction?
 
  


Reply

Tags
b43, bcm4318, bcm43xx, hostapd


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
hostapd problem with wpa mousi Linux - Wireless Networking 1 05-12-2010 11:56 AM
Start wpa_supplicant before hostapd daghenningsorbo Linux - Networking 1 03-13-2009 07:49 PM
ebtables interaction hostapd boeboe2005 Linux - Networking 0 11-17-2008 05:02 AM
problem with b43-fwcutter on Hardy Heron! maiden2 Ubuntu 3 04-29-2008 05:10 PM
hostapd and madwifi not working freelancer42 Linux - Wireless Networking 0 09-08-2006 10:09 AM


All times are GMT -5. The time now is 01:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration