linux atheros 驱动程序,又是一个难题 Atheros 5007 无线网卡 LINUX 下的驱动

Drcede 于 2008-10-19 13:13:54发表:

转,参考

AR242x 802.11abg Wireless PCI Express Adapter (WPA)无线上网

笔记本:TOSHIBA SatelliteL40,系统ubuntu hardy

之前无线上网借助ndiswrapper用的windows的下面的驱动,WPA-PSK加密,信号很好,但是连接不是每次都能成功,偶尔能连接上,(只要连接上后不会掉线)但是下次重启机器后,很难连接上,所以不太稳定。每次连接非常痛苦,觉定试试Linux下的Madwifi 无线驱动。

下面以我的笔记本为例,大家可以作为参考。

1、首先查看网卡驱动模块

代码:

lspci | grep Atheros

出现下面信息:

02:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)

确定Atheros Chipsets 的型号,http://madwifi.org/wiki/Chipsets,确定选择AR5007EG芯片组。

2、然后检查安装编译环境和重新更新内核

代码:

sudo apt-get install --reinstall build-essential linux-headers-`uname -r`

3、由于Ubuntu hardy内核模块已经集成有Madwifi驱动,此处选择编译安装,移除系统里面的madwifi-tools。

代码:

sudo apt-get remove --purge madwifi-tools

4、检查系统是否残留有ndiswrapper的驱动,进行删除。

代码:

sudo rmmod -f ndiswrapper

sudo rm -r /etc/ndiswrapper/*

sudo apt-get --purge remove ndiswrapper-common ndiswrapper-utils-1.9

sudo rm -r /etc/modprobe.d/ndiswrapper

sudo rm -rf /lib/modules/`uname -r`/ubuntu/misc/ndiswrapper

5、下载AR5007EG驱动程序,并解压后进入目录。

代码:

wget http://snapshots.madwifi.org/special/madwifi-nr-r3366+ar5007.tar.gz

tar zxf madwifi-nr-r3366+ar5007.tar.gz

cd madwifi-ng-r3366+ar5007

6、检查编译环境,开始编译安装。

代码:

make

sudo make install

7、重启电脑,然后检查驱动模块。

代码:

lsmod | grep ath

出现列表大致如下:

ath_rate_sample 16128 1

ath_pci 193324 0

wlan 252272 5 wlan_tkip,wlan_scan_sta,ath_rate_sample,ath_pci

ath_hal 280416 3 ath_rate_sample,ath_pci

如果没有出现ath_pci,请运行如下命令:

代码:

sudo modprobe ath_pci

8、驱动安装到此结束,推荐安装Wicd无线管理软件,添加源,更新,安装wicd:

代码:

sudo vi /etc/apt/sources.list

加入deb http://apt.wicd.net hardy extras到源列表,保存退出。

更新源列表: 代码:

sudo aptitude update

开始安装wicd: 代码:

sudo apt-get install wicd

系统会删除Gnome默认的网络管理工具。

9、关闭有线网络,启动Wicd。(我用的WPA-PSK协议,其他的类似)

在管理界面中选择要连接的路由器SSID,配置WPA密钥,wicd配置选项里面,WPA驱动选择wext,然后连接,到此大功告成。

PS:与先前WINDOWS驱动对比连接时间非常快,而且可以支持DHCP(先前的选此选项连接不上),连接情况相当稳定。

以上是自己实现的过程,希望大家参考。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Atheros AR8131 网卡驱动下载地址:(包括windows 驱动Linux驱动) http://partner.atheros.com/Drivers.aspx Atheros AR9285无线网卡驱动,由开源项目MadWifi支持 在sourceforge搜索MadWifi可以找到: http://sourceforge.net/projects/madwifi/ 最新的Atheros无线网卡驱动主页: http://madwifi-project.org/ 对于新版本linux kernel 2.6.25之后(现在都是这个以上的内核),要用新的current版本。 http://snapshots.madwifi-project.org/madwifi-0.9.4-current.tar.gz In case you use kernel 2.6.25 or newer, you need to get this snapshot of the madwifi-0.9.4 branch instead of the v0.9.4 release! That snapshot is basically v0.9.4 plus compilation fixes for recent kernels. Atheros无线网卡驱动介绍: http://wireless.kernel.org/en/users/Drivers/Atheros AR9285无线网卡驱动 http://wireless.kernel.org/en/users/Drivers/ath9k Any distribution shipping a kernel >= 2.6.27 will have ath9k present but the ath9k driver on 2.6.32 is the oldest one recommended, anything older than that is completely unsupported. Below is a list of the minimal distribution requirements to either use ath9k from 2.6.27 or from compat-wireless, which lets you install newer drivers on older kernels. Ubuntu Intrepid (8.10) Fedora Core 10 openSUSE 11.1 Mandriva Linux 2009.0 (formally known as Mandrake Linux) ARCH Linux Gentoo Linux Red Flag Linux 7.0 (based on Fedora 10) RHEL5 2.6.18 kernel being tested When it went in ath9k was announced to have been merged into Linux-2.6.27-rc3 by Linus on Tue, 12 Aug 2008 19:33:16 -0700 (PDT), and consisted of 58.8% of the entire rc3 patch. Early distributions which picked it up OpenWrt became the first distribution to pick up ath9k and contribute to it.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值