R61在linux/debian下安装madwifi无线驱动
2010年4月6日
Comments
本文记录Thinkpad R61i在debian lenny下安装madwifi驱动程序,替代ath5k,实现无线上网。
主要参考:http://forum.ubuntu.org.cn/viewtopic.php?f=116&t=169205。
仅作为tp安装linux的备忘,欢迎评论。
1. 下载
Download the latest madwifi snapshot. // Google it
2. 解压
$ tar zxvf madwifi-hal-0.10.5.6-current.tar.gz
3. 编译安装madwifi // 首先通过apt安装编译环境
$ sudo aptitude install build-essential linux-headers-$(uname -r)
$ make
$ sudo make install
4. 安装module
$ sudo modprobe ath_pci
5. 使网卡每次开机时都加载, make it load every time you boot
$ sudo vi /etc/modules
添加一行,如下
ath_pci
6. 重新启动机器
$ sudo reboot
注释 && 备忘
1. 为保证生效,重启前确认已屏蔽ath5k(默认驱动程序有可能是这个)
检查是否已安装ath5k
$ lsmod |grep ath5k
有,则添加到blacklist
$ cat /etc/modprobe.d/blacklist.conf
blacklist ath5k
2. 确认安装驱动是否成功
$ lsmod | grep ath_pci
ath_pci 201176 0
wlan 193392 5 wlan_wep,wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal 300768 3 ath_rate_sample,ath_pci
3. 硬件型号查看
$ lspci |grep Ethernet
00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network Connection (rev 03)
03:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
4. ath5k是madwifi替代品,除非ath5k下无法连接无线,不建议使用madwifi
最新评论