OpenWrt Forum Archive

Topic: Wireless interface won't start (Barrier Breaker)

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

Device: RT-N16
OpenWRT version: 14.07 r42625
https://downloads.openwrt.org/barrier_b … uashfs.trx

Packages:
1. kmod-brcm-wl_3.10.49+5.10.56.27.3-7
https://downloads.openwrt.org/barrier_b … cm47xx.ipk

2. wireless-tools_29-5
https://downloads.openwrt.org/barrier_b … cm47xx.ipk

3. wl_5.10.56.27.3-7
https://downloads.openwrt.org/barrier_b … cm47xx.ipk

4. nas_5.10.56.27.3-7
https://downloads.openwrt.org/barrier_b … cm47xx.ipk


My installation way:
sysupgrade -n openwrt-brcm47xx-generic-squashfs.trx
opkg remove kmod-b43
opkg install wireless-tools_29-5_brcm47xx.ipk
opkg install kmod-brcm-wl_3.10.49%2b5.10.56.27.3-7_brcm47xx.ipk
opkg install wl_5.10.56.27.3-7_brcm47xx.ipk
opkg install nas_5.10.56.27.3-7_brcm47xx.ipk
rm /etc/config/wireless
reboot

My wireless config (/etc/config/wireless):

config wifi-device 'wl0'
    option type 'mac80211'
    option channel '4'
    option txpower '24'
    option hwmode '11g'
    option txantenna '3'
    option rxantenna '3'
    option htmode 'HT40'

config wifi-iface
    option device 'wl0'
    option network 'lan'
    option mode 'ap'
    option ssid 'qqq'
    option encryption 'psk2+ccmp'
    option key '12345678'

My problem: Wireless interface (wl0) won't start + wifi detect > bla-bla-bla create empty config. What's my problem?

Thx)

(Last edited by 1amer on 21 Oct 2014, 17:49)

WiFi won't start. Have any idea what's my problem?

I tried to get broadcom-wl driver working on RT-N16, too.
I installed wlc utility however, not wl. You can install both just in case.
Check loaded modules with lsmod. Verify that b43 is unloaded and broadcom-wl is present.
wifi detect should work (it worked for me).

Also, about this line:
option type 'mac80211'
should be type 'broadcom', I think

I still couldn"t bring WLAN up, broadcom.sh also threw some error about leddc at me. This compatibility layer script might be broken.

By the way, "wifi detect" will not work until you delete or rename the old /etc/config/wireless, I think.

Some offtopic: did you try drivers b43 and brcmsmac? They work for me, but there are some problems with packet loss/congestion with some mobile devices. That's why I wanted to try broadcom-wl, too (given that it ran smooth on DD-WRT before)

(Last edited by rapis on 22 Oct 2014, 08:50)

rapis wrote:

I tried to get broadcom-wl driver working on RT-N16, too.
I installed wlc utility however, not wl. You can install both just in case.
Check loaded modules with lsmod. Verify that b43 is unloaded and broadcom-wl is present.
wifi detect should work (it worked for me).

Also, about this line:
option type 'mac80211'
should be type 'broadcom', I think

I still couldn"t bring WLAN up, broadcom.sh also threw some error about leddc at me. This compatibility layer script might be broken.

I don't use wl or wlc utility. I changed the configuration (/etc/config/wireless) by hands. I tried use 'broadcom' in config. Not work for me((( What's this a broadcom.sh?

rapis wrote:

Some offtopic: did you try drivers b43 and brcmsmac?

b43 work for me, brcmsmac not work.

You may not use wlc directly but it's used by OpenWRT's tools itself.

See the wiki at http://wiki.openwrt.org/doc/hardware/so … fi.drivers

"Note that broadcom-wl doesn't use a standard cfg80211 API, so it can't be configured using standard nl80211 tools. This is why OpenWrt has an extra package providing wlc (user space tool that uses Broadcom's proprietary API) and broadcom.sh (that translates UCI config into wlc calls). You can also install wl binary that is closed source version of wlc written by Broadcom that may be helpful for some debugging. Remember that broadcom.sh may not handle all UCI options, please see the UCI wireless configuration page for the details. Some advanced functionality can by configured with the wl utility only. Beware that running wifi (to activate your UCI WiFi configuration file) will however restart the driver and you will lose your settings made by the utility. "

Install wlc, then run "wifi down ; wifi".

If you see an error from broadcom.sh, "2.4 GHz" LED lights up and "wifi status" outputs nothing, you can scan for your SSID but cannot connect to it then you reached the point where I gave up smile

(Last edited by rapis on 22 Oct 2014, 15:48)

I unfortunately have nothing helpful to add, only came here to say that I'm experiencing this same problem trying to use kmod-brcm-wl with an old Asus WL-500gP V2. My devices can see the SSID but can't connect. I feel better knowing it isn't only me smile

The discussion might have continued from here.