OpenWrt Forum Archive

Topic: Is my WRT54GL wifi being incorrectly detected?

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

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

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

Trying to get wifi setup, but I don't currently have a device to test it.  One thing I did notice was that 'type' was mac80211.  According to OpenWrtDocs/Hardware/Linksys/WRT54GL the wireless is "Broadcom BCM43xx 802.11b/g (integrated)".

Should I manually change type to "broadcom"?

Hi,

I have the same router and mine configuration was :

config 'wifi-device' 'wl0'
    option 'type' 'broadcom'
    option 'disabled' '0'
    option 'channel' '9'
    option 'frameburst' '1'

config 'wifi-iface'
    option 'device' 'wl0'
    option 'network' 'lan'
    option 'mode' 'ap'
    option 'ssid' 'Martian'
    option 'key' 'commcFgkiS_934683'
    option 'encryption' 'psk+psk2'

Aether, Martin: for kernel 2.6 and b43 interface called wlan0 (and type mac80211), for kernel 2.4 - wl0 (broadcom).      Depends on kernel version and driver.

I do use 2.6, but, I recently added a wifi toggle I got from one of the docs and when I run the script I get this error:

Configuration file: /var/run/hostapd-wlan0.conf
Failed to update rate sets in kernel module
Mode: IEEE 802.11g  Channel: 9  Frequency: 2452 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:23:96:b5:f2:58 and ssid 'Home'
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

Does that mean it's not working?

The discussion might have continued from here.