Jump to content

Wifi not working on Cubietruck


stepman

Recommended Posts

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!

Link to comment
Share on other sites

Well i see that the Armbian on Cubietruck have some bugs:

 

Bugs or limitations

 

 

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
Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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

 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines