[SOLVED] wifi usb dongle WLU6331 not working with volumio 2

wifi usb dongle WLU6331 (chipset Broadcom BCM43143) is not recognized in volumio 2 (interface wlan0 does not exist).

tested with hardware:

  • raspberry pi 2 Model B V1.1
  • raspberry pi Model B+ V1.2
  • wifi usb dongle WLU6331 (it’s the original wifi usb dongle from raspberry: example)
    command lsusb gives:
ID 0a5c:bd1e Broadcom Corp.

tested with software:

  • system image Beta3 (2016-23-02)
  • system image Beta2 (2016-20-02)

on both devices (pi 2B and pi B+) the WLU6331 dongle works perfectly with the standard raspbian distro, but doesn’t work at all with volumio 2 (tested with both Beta3 and Beta2).

command iwlist on wlan0 fails with error:

root@volumio:/home/volumio# iwlist wlan0 scan wlan0 Interface doesn't support scanning.

so it’s not possible to follow standard installation as in: raspberrypi.org/documentati … ess-cli.md

seems like a missing driver, according to dmesg:

root@volumio:/home/volumio# dmesg ... [ 50.746724] usbcore: registered new interface driver brcmfmac [ 50.758381] usb 1-1.3: Direct firmware load for brcm/brcmfmac43143.bin failed with error -2 ...

and checking the firmware folder confirm that the usb firmware is missing:

root@volumio:/home/volumio# ls -la /lib/firmware/brcm ls: cannot access /lib/firmware/brcm: No such file or directory

someone faced the same problem and has some solution?

after some further investigations I managed to install drivers for this dongle, and setup a wifi connection, but connection it’s not working yet.

to install on volumio 2 the drivers for the official raspberry pi wifi dongle WLU6331 (chip Broadcom BCM43143) I did:

cd sudo su git clone --depth 1 git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git cd linux-firmware cp -R * /lib/firmware reboot

to configure wifi connection (a WPA2 in my case):

nano /etc/wpa_supplicant/wpa_supplicant.conf network={ ssid="YOURWIFINAME" key_mgmt=WPA-PSK proto=RSN psk="YOURWIFIPASSWORD" }

and

[code]nano /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
allow-hotplug eth0
iface eth0 inet dhcp

auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
	wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf[/code]

with these settings I get an IP for eth0 and wlan0 from dhcp, and both interfaces show up correctly in ifconfig, but ONLY eth0 actually works:

[code]root@volumio:/home/volumio# ifconfig
eth0 Link encap:Ethernet HWaddr XXXXXXXX
inet addr:192.168.1.26 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1564 errors:0 dropped:0 overruns:0 frame:0
TX packets:952 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:125657 (122.7 KiB) TX bytes:176837 (172.6 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1048 errors:0 dropped:0 overruns:0 frame:0
TX packets:1048 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:97745 (95.4 KiB) TX bytes:97745 (95.4 KiB)

wlan0 Link encap:Ethernet HWaddr XXXXXXXX
inet addr:192.168.1.55 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:896 errors:0 dropped:5 overruns:0 frame:0
TX packets:86 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:327134 (319.4 KiB) TX bytes:15818 (15.4 KiB)[/code]

with wlan0 I can correctly scan wifi networks:

root@volumio:/home/volumio# iwlist wlan0 scan wlan0 Scan completed : Cell 01 - Address: XXXXXX Channel:1 Frequency:2.412 GHz (Channel 1) Quality=70/70 Signal level=-34 dBm Encryption key:on ESSID:"YOURWIFINAME" Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s 24 Mb/s; 36 Mb/s; 54 Mb/s Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s Mode:Master Extra:tsf=0000000000000000 Extra: Last beacon: 80ms ago ... IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : TKIP Pairwise Ciphers (1) : CCMP Authentication Suites (1) : PSK ... IE: WPA Version 1 Group Cipher : TKIP Pairwise Ciphers (1) : TKIP Authentication Suites (1) : PSK ... Cell 02 - Address: XXXXXX Channel:11 Frequency:2.462 GHz (Channel 11) Quality=19/70 Signal level=-91 dBm Encryption key:on ESSID:"ANOTHERWIFINAME" Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s 24 Mb/s; 36 Mb/s; 54 Mb/s Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s Mode:Master Extra:tsf=0000000000000000 Extra: Last beacon: 80ms ago ... IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : TKIP Pairwise Ciphers (1) : CCMP Authentication Suites (1) : PSK ... IE: WPA Version 1 Group Cipher : TKIP Pairwise Ciphers (1) : TKIP Authentication Suites (1) : PSK ...

BUT:

wifi connection is not able to actually receive packets (in ifconfig wlan0 has dropped packets), so it’s totally unusable.

in fact dmesg shows repeated errors:

... [ 16.032603] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr 3 2014 04:43:32 version 6.10.198.66 (r467479) FWID 01-32bd010e [ 16.087433] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code ... [ 31.712567] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists [ 31.723236] brcmfmac: brcmf_add_if: ignore IF event ... [ 55.913308] brcmfmac: brcmf_cfg80211_del_key: invalid key index (4) [ 55.919774] brcmfmac: brcmf_cfg80211_del_key: invalid key index (5) [ 55.943944] cfg80211: Calling CRDA to update world regulatory domain [ 56.041165] brcmfmac: brcmf_cfg80211_escan: Connecting: status (3) [ 56.048045] brcmfmac: brcmf_cfg80211_scan: scan error (-11) [ 56.054285] brcmfmac: brcmf_cfg80211_escan: Connecting: status (3) [ 56.061116] brcmfmac: brcmf_cfg80211_scan: scan error (-11) ...

I investigated on google each one of these errors, but found no suitable solution to the problem.
Also tested the same hardware with raspbian jessie lite, and wifi works fine. so it’s only a volumio 2 related problem?
I’m stuck on this problem, hope someone could help, otherwise I’ll have to buy a different wifi dongle to use volumio :frowning:

Finally I discovered… that it simply was a power supply problem!!! :laughing: :laughing:
I solved all wifi problems by simply changing my Raspberry pi power supply with a more powerful one.
Now I use a 5V - 2100mA adapter, and had no more issues with the wifi dongle.

Hi Federico,
I am experiencing similar problems with my wipi … (it has to do with wifi connection which falls down: this did not occur with the “old” version of the wipi. It occurs with the NEW version.
Have you experienced this type of differences/malfunctioning in the old and new wipi’s?
may you helP?
Antonio