Raspberry Pi無線網卡設定(rtl8188eu)

無線網卡 : FAST FW150US
晶片 : rtl8188eu

引用國外的文章Fars Robotics Website,文章內有編譯好的module可供raspberryPi直接安裝掛載使用。




簡略說明使用方式:

  1. 首先,如果要安裝rtl8188eu晶片的無線網卡,必須先對應手邊raspberryPi的kernel版本,輸入 "uname -a" 會得到類似以下的資訊:

pi@raspberrypi ~ $ uname -a
Linux raspberrypi 3.10.24+ #614 PREEMPT Thu Dec 19 20:38:42 GMT 2013 armv6l GNU/Linux
pi@raspberrypi ~ $

  2. 重點部分為 " 3.10.24+ #614 " 這個資訊,以這個版本號來對應必須下載的晶片驅動版本。

  3. 對應表:

rtl8188eu drivers for 3.6.11+ 
3.6.11+ #371 up to #520 inclusive    - 8188eu-20130209.tar.gz 3.6.11+ #524, #528, #532             - 8188eu-20130815.tar.gz 3.6.11+ #538, #541, #545, #551, #557 - 8188eu-20130830.tar.gz
rtl8188eu drivers for 3.10.xx+
3.10.18+ #577       - 8188eu-20131105.tar.gz 3.10.18+ #579, #585 - 8188eu-20131106.tar.gz 3.10.18+ #587       - 8188eu-20131110.tar.gz 3.10.18+ #590, #592 - 8188eu-20131111.tar.gz 3.10.18+ #594, #596 - 8188eu-20131113.tar.gz
3.10.19+ #600       - 8188eu-20131113.tar.gz
3.10.21+ #602, #604 - 8188eu-20131113.tar.gz
3.10.22+ #606       - 8188eu-20131206.tar.gz
3.10.23+ #608       - 8188eu-20131209.tar.gz
3.10.24+ #610       - 8188eu-20131209.tar.gz 3.10.24+ #614       - 8188eu-20131219.tar.gz
3.10.25+ #616, #618 - 8188eu-20131219.tar.gz 3.10.25+ #622, #624 - 8188eu-20131219.tar.gz
3.10.26+ #628       - 8188eu-20140110.tar.gz
3.10.27+ #630       - 8188eu-20140117.tar.gz
3.10.28+ #632, #634 - 8188eu-20140117.tar.gz
3.10.29+ #636, #638 - 8188eu-20140117.tar.gz
3.10.30+ #640, #642 - 8188eu-20140117.tar.gz 3.10.32+ #646, #648 - 8188eu-20140117.tar.gz 3.10.33+ #654, #656 - 8188eu-20140117.tar.gz 3.10.33+ #658       - 8188eu-20140117.tar.gz 3.10.34+ #660, #661 - 8188eu-20140117.tar.gz
3.10.36+ #662, #664 - 8188eu-20140117.tar.gz 3.10.36+ #665, #666 - 8188eu-20140117.tar.gz
3.10.37+ #667, #669 - 8188eu-20140117.tar.gz
3.10.38+ #675       - 8188eu-20140117.tar.gz
rtl8188eu drivers for 3.12.xx+  3.12.18+ #673, #677 - 8188eu-20140425.tar.gz 3.12.18+ #679, #680 - 8188eu-20140501.tar.gz
3.12.19+ #681, #682 - 8188eu-20140509.tar.gz 3.12.19+ #684       - 8188eu-20140509.tar.gz
3.12.20+ #685, #686 - 8188eu-20140509.tar.gz 3.12.20+ #687       - 8188eu-20140509.tar.gz
3.12.21+ #688, #689 - 8188eu-20140509.tar.gz


  4. 下載方式: 在raspberryPi中輸入
wget https://dl.dropboxusercontent.com/u/80256631/8188eu-201xyyzz.tar.gz
xyyzz就是對應的檔案名稱數字

  5. 所以要做的步驟有:
wget https://dl.dropboxusercontent.com/u/80256631/8188eu-201xyyzz.tar.gz 
tar -zxvf 8188eu-201xyyzz.tar.gz                                         
sudo install -p -m 644 8188eu.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
sudo insmod /lib/modules/$(uname -r)/kernel/drivers/net/wireless/8188eu.ko
sudo depmod -a

  6. 如過程中沒發生錯誤的話,此時就可以做wireless的IP設定,進入respberryPi環境中設定 /etc/network/interfaces 檔案:

Networks using WPA/WPA2 security

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid "Your-Network-Name"
wpa-psk "Your-Network-Password"

Networks using WEP security

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet dhcp
wireless-essid Your-Network-Name
wireless-key Your-Network-Password

Networks using no security

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet dhcp
wireless-essid Your-Network-Name

  7. 設定好後重新開啟raspberryPi或者 /etc/init.d/networking restart試試看是否有成功掛上wlan0。

引用Fars Robotics Website文章,如有冒犯請告知。

Share this:

0 意見:

張貼留言