硬件&系统
cubieboard(A20)
TF卡系统
方法1
打开 /etc/network/interfaces/
修改内容如下:
auto lo eth0
iface lo inet loopback
iface eth0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
#wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
wpa-ssid "{YOUR_SSID}"
wpa-psk "{YOUR_WIFI_PASSWORD}"
方法2
1. 添加源 deb http://ftp.de.debian.org/debian wheezy main 并更新
2. aptitude install wpasupplicant
3. 修改 `/etc/network/interfaces` 添加如下内容
auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
4. sudo wpa_passphrase {YOUR_SSID} {YOUR_WIFI_PASSWORD} >> /etc/wpa_supplicant/wpa_supplicant.conf
5. 重启网络服务ifup wlan0