stepman Posted January 14, 2016 Posted January 14, 2016 Hi, I am trying to used Wifi on my Cubietruck, but I cannot get it running. Running Armbian Jessie 4.2.3 (Armbian_4.5_Cubietruck_Debian_jessie_4.2.3 - freshly installed), I changed /etc/network/interfaces according to the comments. # Wired adapter #1 auto eth0 iface eth0 inet dhcp # hwaddress ether # if you want to set MAC manually # pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838 # # Wired adapter #2 #auto eth1 # iface eth1 inet dhcp # hwaddress ether # if you want to set MAC manually # pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838 # # Wireless adapter #1 auto wlan0 iface wlan0 inet dhcp wpa-ssid MyNetwork wpa-psk 1234123123123123a324312241234a1234215342352352 # to generate proper encrypted key: wpa_passphrase yourSSID yourpassword # # Local loopback auto lo iface lo inet loopback When trying "ifup wlan0" afterwards, I get: wpa_supplicant: /sbin/wpa_supplicant daemon failed to start run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1 Failed to bring up wlan0. Doing "service networking restart" reconnects eth0, but again I get an error for wifi: root@cubietruck:~# service networking restart [warn] Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces ... (warning). [....] Reconfiguring network interfaces...Killed old client process Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/02:49:00:00:00:00 Sending on LPF/eth0/02:49:00:00:00:00 Sending on Socket/fallback DHCPRELEASE on eth0 to 192.168.220.2 port 67 Stopping NTP server: ntpd. Starting NTP server: ntpd. Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/02:49:00:00:00:00 Sending on LPF/eth0/02:49:00:00:00:00 Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPOFFER from 192.168.220.2 DHCPACK from 192.168.220.2 Stopping NTP server: ntpd. Starting NTP server: ntpd. bound to 192.168.221.236 -- renewal in 1549 seconds. wpa_supplicant: /sbin/wpa_supplicant daemon failed to start run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1 Failed to bring up wlan0. done. What am I doing wrong? Thanks for your help!
bl4ckc00k1e Posted January 14, 2016 Posted January 14, 2016 Well i see that the Armbian on Cubietruck have some bugs: Bugs or limitations Due to bad PCB placement, there is some crosstalk between Wifi and VGA in certain videomodes (Cubietruck) Wifi module unloading fails. This is usually not a problem, except in Jessie where shutdown takes a bit longer Try to check this link Anyway i haven't got this board, so not sure if u are trying with your internal wireless, but you can try: root@cubietruck:~# modprobe bcmdhd If u do lsmod u would have something similar like this: root@cubietruck:~# lsmod Module Size Used by bcmdhd 497543 0 mali 110767 0 ump 51819 1 mali lcd 3778 0 sunxi_gmac 30667 0 pwm_sunxi 9251 0
stepman Posted January 15, 2016 Author Posted January 15, 2016 I got it. I had the new version of armbian on my sd-card, but the installation onto the hdd did not work properly. Therefore I booted an old version (kernel 3.4) from the hdd. With the new kernel wifi works well. Thanks for your help! 2
Alvaro Ramos Posted March 22, 2016 Posted March 22, 2016 Hello!This work for me:apt-get install firmware-brcm80211wget -O /lib/firmware/brcm/brcmfmac43362-sdio.txt http://dl.cubieboard.org/public/Cubieboard/benn/firmware/ap6210/nvram_ap6210.txt in kernel: linux cubietruck 4.4.1-sunxi
ebuxbaum Posted May 31, 2016 Posted May 31, 2016 Hi, still having problems under Armbian_5.10 on Cubietruck. "modprobe bcmdhd" gives "modprobe: FATAL: Module bcmdhd not found." "lsmod" output does not contain bcmdhd, but brcmfac and brcmutil, the latter used by 1. The package firmware-brcm80211 cannot be located by apt-get, but the wget of firmware worked. Didn't change anything, though. wicd can establish a connection and obtain an IP address, but then reproducibly disconnects without comment. What should I do? Sincerely Engelbert
Recommended Posts