Note: Please see the new version of this post
For some reason the WLAN of the [amazon &title=CubieTruck&text=CubieTruck] didn’t work out of the box. So to save you the day I spent to get it working I wrote this little step by step tutorial:
1. load the wlan driver by typing
modprobe bcmdhd
in case you don’t want to do that everytime the [amazon &title=CubieTruck&text=CubieTruck] needs wifi consider adding a new line with ‘bcmdhd’ (no quotes) to /etc/modules
2. install linux-firmware
sudo apt-get install linux-firmware -y
and reboot
sudo reboot
3. bring the wlan0 device up and scan if your wlan is available
sudo -i #get root ifconfig wlan0 up iwlist wlan0 scan
4. add this wlan to your connection configuration file (replace yourSSID and yourPasswd accordingly)
sudo -i #get or stay root wpa_passphrase yourSSID yourPasswd >> /etc/wpa_supplicant.conf
5. add following lines to /etc/network/interfaces
auto wlan0 iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant.conf
6. add DNS Information to /etc/resolv.conf (attention, we’ll use google in that example)
nameserver 8.8.8.8
7. restart networking to get changes to action
sudo service networking restart
If everything went well, your wlan0 device should have an IP when checking it with
ifconfig wlan0