个人工具

UbuntuHelp:WifiDocs/Driver/Atheros

来自Ubuntu中文

Wikibot讨论 | 贡献2009年5月12日 (二) 19:40的版本

跳转至: 导航, 搜索

Built-in drivers/modules, tested only on Intrepid

Look for the ath5k module, located in the package linux-backports-modules-intrepid. Install the package using either Synaptic or apt-get, and make sure it is activated on System/Administration/Hardware Drivers. Follow the steps below only if ath5k module did not work. This may be the result of a conflict with either ath_hal or ath_pci, or ath5k might be blacklisted somewhere. So: 1) Hit "alt+f2" to run a command and type:

gksudo gedit /etc/modprobe.d/blacklist

And add the following lines to the bottom of the file:

blacklist ath_hal
blacklist ath_pci

Reboot. If it's still not working than it is very likely you have ath5k being blacklisted somewhere. Blacklisting may have occurred if you are coming from a Hardy upgrade and/or did not uninstall the madwifi driver before doing this. So try the following, but Be Extremely Careful - this next command opens nautilus with root privileges, which can change and/or damage any file on the system. 2) Hit "alt+f2" to run a command and type:

gksudo nautilus

And navigate to

/etc/modprobe.d

Now check each and every file for a line that looks like:

blacklist ath5k

And just add a "#" character at the beginning of the line, thus commenting it. You might probably find this case on a file named "madwifi". 2.1) Alternatively, to quickly find where ath5k is being blacklisted, you can open a terminal (Applications/Accessories/Terminal) and type:

grep -r "ath5k" /etc/modprobe.d/

Just remember you need to just comment lines that have "blacklist ath5k". This solution is based on this thread on the forums: http://ubuntuforums.org/showthread.php?p=6089169

If after all the above you see a network but cannot connect

You might want to try changing the WPA Supplicant on your network manager to wext. On wicd it's the first option when you go into Preferences.

If after everything you don't see your network

Remember that you might be trying to connect to an access point that is not broadcasting its name (hidden SSID), which is a separate issue and can be checked by enabling SSID broadcast on the access point.

Manually installed drivers

sudo lshw -C network I found the following things helpful: 1) https://bugs.launchpad.net/bugs/182489

(Synopsis: Add the following line:
blacklist ath_pci
to the /etc/modprobe.d/blacklist file and reboot. If you are running an up-to-date Hardy, this should enable the free/libre ath5k driver.)

2) http://madwifi-project.org/ticket/1192

(Synopsis:
0. Connect to wired network and install build-essential (sudo apt-get install build-essential)
1. wget http://snapshots.madwifi.org/madwifi-hal-0.10.5.6-current.tar.gz
2. tar -zxvf madwifi-hal-0.10.5.6-current.tar.gz
3. cd madwifi-hal-0.10.5.6-r*
4. sudo make
5. sudo make install
6. System -> Administration -> Hardware Drivers -> Uncheck both hal and Atheros support
7. sudo vi /etc/modprobe.d/blacklist -> blacklist ndiswrapper (Do this if you had tried ndiswrapper)

This will download and install a non-free, binary-only driver for the atheros chipset. You need to rebuild and reinstall the driver every time you update your kernel.

3) The wireless LED on my laptop does not work in linux. I may have pressed the wireless button while troubleshooting and turned off wireless without knowing it. So while fiddling around, I may have installed the right driver but not known it. __