当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 5 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [问题]Atheros Communications Inc. AR242x
帖子发表于 : 2008-08-07 16:35 

注册: 2008-02-12 19:09
帖子: 134
送出感谢: 0 次
接收感谢: 0 次
这个无线网卡驱动怎么装?
网上找到FEDORA安装的方法,对吗?UBUNTU能用马?
Last week I helped a friend configure wireless driver on his brand new HP Compaq Notebook PC. Fedora 9 X86_64 did not detect the wireless device automatically.

The first thing I did was list all PCI devices on the laptop PC.
lspci

At the end of the output I noticed
03:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)

MadWifi provides Linux kernel drivers for wireless LAN devices with Atheros chipsets. Therefore my next task was to install MadWifi on the notebook PC. Before installing the kernel drivers it is recommended to update all the packages on the computer, especially the kernel. I updated all the packages.

rpm.livna.org repository for Fedora contains the MadWifi rpm. I enabled the rpm.livna.org repository on the laptop and installed the MadWifi rpm using
yum install kmod-madwifi

and restarted the computer. The wireless device was not detected. I also tried aliasing wifi0 and ath0 to ath_pci. Nothing solved the problem. I uninstalled kmod-madwifi and recompiled madwifi. At this point system-config-network detected the hardware device as "other wireless device". But I could not connect to the Wifi network.

After researching for a while on the Internet, I noticed many people had difficulty obtaining the proper driver for Atheros AR242x wireless chipset on 64 bit Linux. My next best available option was to use Fedora 9 i386 on the laptop PC. I tried the rpm.livna.org MadWifi rpm again. It failed once again. I removed kmod-madwifi and rpm.livna.org and recompied madwifi.

These are the steps that actually worked. I launched the terminal and switched to super user mode using su -. The remaining steps are documented below.

Step 1. Download the latest madwifi snapshot from madwifi.org.
wget http://snapshots.madwifi.org/special/ma ... 007.tar.gz

Step 2: Extract the tarball and change directory
tar -zxvf madwifi-ng-r3366+ar5007.tar.gz

Step 3: Change directory
cd madwifi-ng-r3366+ar5007

Step 4: Install the necessary tools to compile madwifi.
yum install gcc kernel-devel kernel-headers make

Step 5: make

Step 6: make install

Step 7: Restart the computer

Step 8: Configure the network using either system-config-network or NetworkManager

I could see the ath5k and ath_pci modules in the Linux Kernel using lsmod.

$lsmod | grep ath

dm_multipath 18056 0
dm_mod 49236 2 dm_mirror,dm_multipath
ath5k 110344 0
mac80211 181992 1 ath5k
cfg80211 25096 2 ath5k,mac80211
ath_rate_sample 15104 1
ath_pci 162092 0
wlan 206008 5 wlan_wep,wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal 281184 3 ath_rate_sample,ath_pci

If you follow the same steps and do not see the ath_pci kernel module, try
modprobe ath_pci

and restart the computer.

You may also try
modprobe ath5k

and restart the computer.


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2008-08-08 9:15 

注册: 2008-02-12 19:09
帖子: 134
送出感谢: 0 次
接收感谢: 0 次
之前下载madwifi驱动一直不行,后来下载madwifi-hal编译安装就可以了,具体过程如下:
First go to System> Administration-> Hardware Drivers and make sure the following option is ticked (enabled)

Atheros Hardware Access Layer (Hal)


sudo apt-get install build-essential

wget http://snapshots.madwifi.org/madwifi-ha ... 716.tar.gz

tar xvfz madwifi-hal-0.10.5.6-r3772-20080716.tar.gz

cd madwifi-hal-0.10.5.6-r3772-20080716

sudo make && sudo make install
sudo modprobe ath_pci

然后重新启动就可以了
根据上面的方法安装后,网卡设置那里多了无线网卡的设置,可是如论怎么设置,无线网卡的灯都是不亮的!
我已经把有线的给拔了,还是不亮灯!


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2008-08-10 19:01 

注册: 2006-01-11 10:52
帖子: 11
送出感谢: 0 次
接收感谢: 0 次
楼上的请参考这篇文章http://madwifi.org/wiki/UserDocs/EnableLEDs
我是将以下两行写到
代码:
dev.wifi0.ledpin = 3
dev.wifi0.softled = 1

/etc/sysctl.conf文件中成功解决无线网卡灯的问题的,祝你好运


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2008-08-14 18:48 

注册: 2008-02-12 19:09
帖子: 134
送出感谢: 0 次
接收感谢: 0 次
xxjhappy 写道:
楼上的请参考这篇文章http://madwifi.org/wiki/UserDocs/EnableLEDs
我是将以下两行写到
代码:
dev.wifi0.ledpin = 3
dev.wifi0.softled = 1

/etc/sysctl.conf文件中成功解决无线网卡灯的问题的,祝你好运

解决灯问题后,能上网吗?


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2008-08-17 11:18 

注册: 2006-01-11 10:52
帖子: 11
送出感谢: 0 次
接收感谢: 0 次
hj_545 写道:
xxjhappy 写道:
楼上的请参考这篇文章http://madwifi.org/wiki/UserDocs/EnableLEDs
我是将以下两行写到
代码:
dev.wifi0.ledpin = 3
dev.wifi0.softled = 1

/etc/sysctl.conf文件中成功解决无线网卡灯的问题的,祝你好运

解决灯问题后,能上网吗?

当然可以,不能上网,亮个灯有什么用


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 5 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译