CubieTruck翻坑实录

 1、选好img
暂时发现ct-lubuntu-nand-v2.0这个版本最稳定,是安装在板载的nand里面的
地址:http://dl.cubieboard.org/software/a20-cubietruck/lubuntu/ct-lubuntu-nand-v2.0/server/
2、更改显示输出为VGA
系统默认输出是HDMI,如需更改为VGA,参考以下步骤
(1)挂载nanda 
#mount /dev/nanda /mnt 
(2)将script.bin文件转换为fex

# cd /mnt 

# bin2fex script.bin script.fex  
#vi script.fex 
(3)更改显示输出,保存文件
将screen0_output_type = 3改成4(4就是VGA)
(4)保存重启
#fex2bin script.fex script.bin

#sync //把内存中的修改写入磁盘中 

#reboot
3、无线网卡问题
在修改/etc/modules文件,在新一行中加入bcmdhd(即增加无线网卡的开机加载)
4、拔掉网线导致无线网卡无法使用
将/etc/network/interfaces文件里无线和有线配置的位置交换,让无线的配置放在前面
以下是文件内容 

auto wlan0
iface wlan0 inet dhcp
pre-up ip link set wlan0 up
pre-up iwconfig wlan0 essid your-ssid
wpa-ssid your-ssid
wpa-psk your-psk

auto lo eth0
iface lo inet loopback
iface eth0 inet dhcp 
原文地址:https://www.cnblogs.com/lingcoln/p/4523913.html