Finally after a very long time, I now can work with OpenWrt kamikaz with a 2.6 linux kernel. Problem was that there was only a binary driver for kernel 2.4 available for the specific Broadcom wireless chipset in the Asus WL-500g Deluxe. The driver module was called wlc.0. For some time now the new b43 driver OpenSource alternative is available, but is/was in early development state. Read some more on this subject here on OpenWrt.

On the b43 driver site the author there writes:

“working

  • Station mode
  • Mesh networking mode
  • Access Point mode (not quite yet, blocked by proper support in mac80211 and hostapd)
  • …”

Even though this rather disappointing message, I decided to give it a try on my Asus WL-500gd router. And instead of installing the new kamikaze 8.09 RC1 kernel 2.4 for broadcom chipsets I installed brcm47xx for 2.6 kernels. After flashing and booting the b43 driver recoginzed the wirless broadcom chipset BCM4306.  iwconfig showed a wlan0 interface.  Immediately I tried to change the mode with:

iwconfig wlan0 mode ap

but that didn’t work. It seems that the earlier mentioned hostapd daemon was needed. Hostapd can be installed using the new opkg (like ipkg) interface (update, install). Here is the hostapd-wlan0.conf file (not sure is the correct driver id is selected, but it works):

driver=nl80211
interface=wlan0
bridge=br-lan
ssid=OpenWRT
hw_mode=g
channel=5
wpa=0

Launch hostapd with:

/usr/sbin/hostapd -B /etc/hostapd-wlan0.conf

Output of iwconfig wlan0:

wlan0     IEEE 802.11bg  ESSID:"jewel"
          Mode:Master  Frequency:2.432 GHz  Tx-Power=27 dBm
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
 
mon.wlan0  IEEE 802.11bg  Mode:Monitor  Frequency:2.432 GHz  Tx-Power=27 dBm
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Comments are closed.