树莓派使用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

 

posted @ 2014-05-16 15:17  catmelo  阅读(866)  评论(0编辑  收藏  举报