1 / 10

在 Linux 安裝 U SB 無線網卡

在 Linux 安裝 U SB 無線網卡. 動機. 有一張號稱支援 Linux 的 USB 無線網卡 雖然有附驅動程式但總是不能成功編譯 網路上有搜尋到幾種修改 driver 的方法但有待驗證. USB 無線網卡. PLANEX GW-US54GZL IEEE802.11g USB2.0 攜帶型無線網路卡 http://www.planex.com.tw/product/soho/wireless/gw-us54gzl.htm 使用 ZD1211 晶片 http://www.zydas.com.tw/product/ZD1211.asp

dane-porter
Download Presentation

在 Linux 安裝 U SB 無線網卡

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 在Linux安裝USB無線網卡

  2. 動機 • 有一張號稱支援Linux的USB無線網卡 • 雖然有附驅動程式但總是不能成功編譯 • 網路上有搜尋到幾種修改driver的方法但有待驗證

  3. USB無線網卡 • PLANEX GW-US54GZL IEEE802.11g USB2.0 攜帶型無線網路卡 • http://www.planex.com.tw/product/soho/wireless/gw-us54gzl.htm • 使用ZD1211晶片 • http://www.zydas.com.tw/product/ZD1211.asp • 支援kernel 2.4.x與2.6.x

  4. ZD1211晶片Block Diagram

  5. 選用哪個driver好呢? • 驅動程式來源 • From Planex (http://www.planex.com.tw) • http://www.planex.com.tw/download/wireless/gw-us54gzl.htm • Driver version : 2.4.0.0 • From ZyDas (http://www.zydas.com.tw) • http://www.zydas.com.tw/downloads/download-1211.asp • Driver version : 2.8.0.0 • 由於ZyDas公司提供的driver比較新,所以就選用它了

  6. 沒有kernel source 真囧 • http://rpmfind.net/linux/RPM/ • 安裝kernel devel使得/usr/src/底下有kernel source即可

  7. ZyDas的driver • 第一步:當然是把它的tarball給解開啦 • 第二步:必須要修改它的Makefile,將kernel source的位址寫上去 • 第三步:make 與 make install !! • 它含有兩個晶片的driver:zd1211與zd1211b。使用make ZD1211REV_B=0就只會編譯zd1211 • 但是在hotplug時似乎不會自動載入,必須手動modprobe

  8. ZD1211的driver載入 • > modprobe –v zd1211 • > lsmod • Module Size Used by • zd1211 263504 0 • > tail /var/log/messages

  9. Debug工具 • 附有兩個debug工具 • apdbg • menudbg • 安裝方法 • > make debug

  10. 目標 • 將USB無線網卡在Linux上成功安裝運作 • hotplug • 了解USB無線網卡在Linux的driver架構 • src/zdusb.c

More Related