Ref: ndiswrapper in sid http://www.lusten.org/blog/2005/09/10/63-configuration-dune-carte-wifi-bcm4306-80211bg-sous-debian 因為Compaq presario M2000太新了,sarge中的kernel 2.6.8太舊,無法啟動HD DMA,所以 1. /etc/apt/sources.list中加上etch, deb http://free.nchc.org.tw/debian/ etch main contrib 然後 apt-get install linux-image-2.6.12-1-k7 linux-headers-2.6.12-1-k7 2. apt-get install ndiswrapper-utils ndiswrapper-source wireless-tools gcc-4.0 (因為etch中的kernel是用gcc-4.0 compile的,所以compile ndiswrapper時要指定gcc-4.0,要不然會無法載入kernel module,會出現format不對) 3. cd /usr/src tar jxf ndiswrapper-source.tar.bz2 cd modules/ndiswrapper export KVERS=2.6.12-1-1-k7 export KSRC=/usr/src/linux-headers-2.6.12-1-k7 export CC=gcc-4.0 debian/rules binary-modules dpkg -i ../ndiswrapper-modules-2.6.12-1-686-smp_1.2+1.3rc1-1_i386.deb 4. 下載 http://h50178.www5.hp.com/support/PY850PA/more_info_local_20057.html 到M$ windows下解開,複製bcmwl5.inf與bcmwl5.sys到工作目錄 5. ndiswrapper -i bcmwl5.inf ndiswrapper -l Installed ndis drivers: bcmwl5 driver present, hardware present ndiswrapper -m modprobe ndiswrapper 6. 測試看看 iwconfig iwlist wlan0 scan 7. 網路設定檔可以這樣寫: /etc/network/interfaces auto wlan0 iface wlan0 inet static pre-up modprobe ndiswrapper post-down rmmod ndiswrapper address 192.168.1.6 netmask 255.255.255.0 gateway 192.168.1.1 broadcast 192.168.1.255 network 192.168.1.0 wireless_essid MyNetwork wireless_channel 1 wireless_rate auto wireless_key xxxxMyKeyxxxxx restricted # other ref: http://www.mepislovers.org/modules/newbb/viewtopic.php?topic_id=9689&forum=9&post_id=68789#forumpost68789 http://www.gossamer-threads.com/lists/linux/kernel/568816 for my V2311US with Broadcom 4318 these drivers worked with ndiswrapper: ftp://ftp.support.acer-euro.com/notebook/ferrari_4000/driver/winxp64bit/80211g.zip while these did not: http://www.broadcom.com/products/Wireless-LAN/802.11-Wireless-LAN-Solutions/BCM94318 PCIID: 14e4:4318 # ps. 如果使用Ubuntu 6.06,他的2.6.15的kernel中有一個bcm43xx的module(就是bcm43xx,不是bcm4318),不能順利啟用這張無線網卡,要用ndiswrapper。但是他會站著茅坑不拉屎,會和這個ndiswrapper相衝,要把bcm43xx列在/etc/modprobe.d/blacklist ref: http://ubuntuforums.org/showthread.php?t=190177 Steven Shiau 2005/9/30