OpenWrt Forum Archive

Topic: wlan0(mac80211): Interface type not supported

The content of this topic has been archived on 17 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

HI all,

I've done some search and nothing gives me an idea.  My WRTSL54GS had 8.09 and wireless works fine with psk2.  I upgraded to 8.09.1 and I lost wireless.  After some work, I decided to wipe it and start from the beginning. 

I can't seem to get it going.  the wireless LED on the router does not light up anymore. Any suggestions?  Thanks in advance.

# /sbin/wifi up
wlan0(mac80211): Interface type not supported
wlan0(mac80211): Interface type not supported

# opkg list_installed|grep apd
hostapd-mini - 0.6.6-1.1 -
hostapd-utils - 0.6.6-1.1 -

# opkg list_installed|grep wpa
wpa-supplicant - 0.6.3-1.1 -

cat /etc/config/network

config 'switch' 'eth0'
    option 'vlan0' '0 1 2 3 4 5u'

config 'interface' 'loopback'
    option 'ifname' 'lo'
    option 'proto' 'static'
    option 'ipaddr' '127.0.0.1'
    option 'netmask' '255.0.0.0'

config 'interface' 'lan'
    option 'type' 'bridge'
    option 'ifname' 'eth0'
    option 'macaddr' '00:14:BF:E5:35:95'
    option 'proto' 'static'
    option 'ipaddr' '192.168.11.129'
    option 'netmask' '255.255.255.224'

config 'interface' 'wan'
    option 'ifname' 'eth1'
    option 'macaddr' '00:14:bf:e5:35:96'
    option 'proto' 'dhcp'

# cat /etc/config/wireless

config 'wifi-device' 'wlan0'
    option 'type' 'mac80211'
    option 'channel' '4'
    option 'disabled' '0'

config 'wifi-iface'
    option 'device' 'wlan0'
    option 'ssid' 'test123'
    option 'network' 'lan'
    option 'mode' 'ap'
    option 'encryption' 'psk2'
    option 'key' 'abcdefghijklmnopq'

Read on the main page:
http://openwrt.org/

This is an update of the 8.09 release, with the following notable changes:
* broken mac80211 drivers removed, updated versions will be available in next release

If you need 2.6, try current trunk. The b43 driver should work without problems, as long as you have a 4306-based card.

thanks for the pointers.  I put 8.09 back instead of 8.09.1.  I'm still having problem.  I know I'm missing something. Please hit me.


# wifi up
Configuration file: /var/run/hostapd-wlan0.conf
Failed to update rate sets in kernel module
Mode: IEEE 802.11g  Channel: 4  Frequency: 2427 MHz
Failed to set CTS protect in kernel driver
Failed to set Short Slot Time option in kernel driver
Could not set preamble for kernel driver
Using interface wlan0 with hwaddr 00:10:18:90:20:db and ssid 'test123'
Failed to set CTS protect in kernel driver
Failed to set Short Slot Time option in kernel driver
Could not set preamble for kernel driver


from dmesg
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0 debug: Chip initialized
b43-phy0 debug: 32-bit DMA initialized
Registered led device: b43-phy0::radio
b43-phy0 debug: Wireless interface started
b43-phy0 debug: Adding Interface type 2
device wlan0 entered promiscuous mode
b43-phy0 debug: Removing Interface type 2
b43-phy0 debug: Wireless interface stopped
b43-phy0 debug: DMA-32 rx_ring: Used slots 2/64, Failed frames 0/0 = 0.0%, Average tries 0.00
b43-phy0 debug: DMA-32 tx_ring_AC_BK: Used slots 0/128, Failed frames 0/0 = 0.0%, Average tries 0.00
b43-phy0 debug: DMA-32 tx_ring_AC_BE: Used slots 0/128, Failed frames 0/0 = 0.0%, Average tries 0.00
b43-phy0 debug: DMA-32 tx_ring_AC_VI: Used slots 0/128, Failed frames 0/0 = 0.0%, Average tries 0.00
b43-phy0 debug: DMA-32 tx_ring_AC_VO: Used slots 2/128, Failed frames 0/5 = 0.0%, Average tries 1.00
b43-phy0 debug: DMA-32 tx_ring_mcast: Used slots 0/128, Failed frames 0/0 = 0.0%, Average tries 0.00
br-lan: port 2(wlan0) entering disabled state

I tried both 8.09 and 8.09.1.

root@OpenWrt:~# /sbin/wifi
wl0(broadcom): Interface type not supported
wl0(broadcom): Interface type not supported

Is White Russian the only release thast supports the WRT-SL54GS?

Try brcm47xx (2.6) TRUNK. Build latest TRUNK by yourself. Broadcom wireless (b43) in 8.09 or 8.09.1 will not work.

(Last edited by Dogge on 22 Aug 2009, 10:48)

Odd that the last 2 release versions of OpenWRT won't work on a real WRT.

The discussion might have continued from here.