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 …