树莓派使用8188eu无线网卡
#已经集成了8188eu驱动的镜像
http://cassidy.pi3g.com/rpi_images/raspbian-wifi-fix130523.7z
#需要修改的信息
sudo nano /etc/network/interfaces
#DHCP版
auto lo iface lo inet loopback iface eth0 inet dhcp auto wlan0 allow-hotplug wlan0 iface wlan0 inet dhcp wpa-ssid "wifi ssid" wpa-psk "password" #wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf #iface default inet dhcp
#静态版
auto lo iface lo inet loopback iface eth0 inet dhcp auto wlan0 allow-hotplug wlan0 iface wlan0 inet static wpa-ssid "wifi ssid" wpa-psk "password" address 192.168.23.100 netmask 255.255.255.0 gateway 192.168.23.1 #wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf #iface default inet dhcp
#使配置生效
sudo /etc/init.d/networking restart
作者:catmelo
本文版权归作者所有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文链接,否则保留追究法律责任的权利。