特殊:Badtitle/NS100:WifiDocs/Driver/Atheros:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
(未显示2个用户的2个中间版本) | |||
第2行: | 第2行: | ||
{{Languages|UbuntuHelp:WifiDocs/Driver/Atheros}} | {{Languages|UbuntuHelp:WifiDocs/Driver/Atheros}} | ||
== Built-in drivers/modules, tested only on Intrepid == | == Built-in drivers/modules, tested only on Intrepid == | ||
Also works on Karmic - see below | |||
Follow | If the method described in this section doesn't work for you, try [[UbuntuHelp:[KurianAlternative|the alternate method using ''madwifi'' and ''ath_pci'']]] described below. | ||
Look for the ath5k module, located in the package '''[[UbuntuHelp:UbuntuBackports|linux-backports-modules-intrepid]]'''. Install the package using either Synaptic or apt-get, and make sure it is activated on System/Administration/Hardware Drivers. | |||
Note: For 9.10 substitute linux-backports-modules-karmic, | |||
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: | 1) Hit "alt+f2" to run a command and type: | ||
<pre><nowiki> | <pre><nowiki> | ||
gksudo gedit /etc/modprobe.d/blacklist | gksudo gedit /etc/modprobe.d/blacklist | ||
</nowiki></pre> | </nowiki></pre> | ||
And add to the bottom of the file | And add the following lines to the bottom of the file: | ||
<pre><nowiki> | <pre><nowiki> | ||
blacklist ath_hal | blacklist ath_hal | ||
blacklist ath_pci | blacklist ath_pci | ||
</nowiki></pre> | </nowiki></pre> | ||
Reboot. If it's still not working you | 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: | |||
<pre><nowiki> | <pre><nowiki> | ||
gksudo nautilus | gksudo nautilus | ||
第22行: | 第25行: | ||
/etc/modprobe.d | /etc/modprobe.d | ||
</nowiki></pre> | </nowiki></pre> | ||
Now check each and every file for a line that looks like: | |||
<pre><nowiki> | <pre><nowiki> | ||
blacklist ath5k | blacklist ath5k | ||
</nowiki></pre> | </nowiki></pre> | ||
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". | 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: | 2.1) Alternatively, to quickly find where ath5k is being blacklisted, you can open a terminal | ||
(Applications/Accessories/Terminal) and type: | |||
<pre><nowiki> | <pre><nowiki> | ||
grep -r "ath5k" /etc/modprobe.d/ | grep -r "ath5k" /etc/modprobe.d/ | ||
第33行: | 第37行: | ||
Just remember you need to just comment lines that have "blacklist ath5k". | 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 | This solution is based on this thread on the forums: http://ubuntuforums.org/showthread.php?p=6089169 | ||
==== If after | ==== 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. | 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 ==== | ==== 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), | 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 == | == Manually installed drivers == | ||
sudo lshw -C network | sudo lshw -C network | ||
I found | I found the following things helpful: | ||
1) | 1) | ||
https://bugs.launchpad.net/bugs/182489 | https://bugs.launchpad.net/bugs/182489 | ||
第48行: | 第52行: | ||
</nowiki></pre> | </nowiki></pre> | ||
2) | 2) | ||
http://madwifi.org/ticket/1192 | http://madwifi-project.org/ticket/1192 | ||
<pre><nowiki> | <pre><nowiki> | ||
(Synopsis: | (Synopsis: | ||
0. Connect to wired network and install build-essential (sudo apt-get install build-essential) | 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 | 1. wget http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6-current.tar.gz | ||
2. tar -zxvf madwifi-hal-0.10.5.6- | 2. tar -zxvf madwifi-hal-0.10.5.6-current.tar.gz | ||
3. cd madwifi-hal-0.10.5.6- | 3. cd madwifi-hal-0.10.5.6-r* | ||
4. sudo make | 4. sudo make | ||
5. sudo make install | 5. sudo make install | ||
第60行: | 第64行: | ||
7. sudo vi /etc/modprobe.d/blacklist -> blacklist ndiswrapper (Do this if you had tried ndiswrapper) | 7. sudo vi /etc/modprobe.d/blacklist -> blacklist ndiswrapper (Do this if you had tried ndiswrapper) | ||
This | 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. | ||
</nowiki></pre> | </nowiki></pre> | ||
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. | 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. | ||
< | <<Anchor(KurianAlternative)>> | ||
== Method Using madwifi and ath_pci == | |||
The following method was described in the Ubuntu Forum thread [http://ubuntuforums.org/showthread.php?t=1309072]. Sections of this thread are quoted below. If you run into trouble, looking at the details of that thread may be helpful. | |||
Dr. P.J. Kurian posted the following information (slightly edited here): | |||
Hi guys! In this thread you will find the instructions for installing the ''madwifi'' drivers for Atheros wireless cards. Please follow the instructions exactly. | |||
Open the Konsole terminal by navigating through Applications-->Accessories--> Terminal. | |||
Now type the following commands in the terminal window: | |||
<pre><nowiki> | |||
sudo nano /etc/apt/sources.list | |||
</nowiki></pre> | |||
Now uncomment anything in that file that starts with '''deb''' by changing it from '''#deb''' to '''deb''' or something along those lines. To exit and save your changes, hit ''CTRL+X''. Then answer "YES" to "Do you want to save?" and hit ''ENTER''. | |||
Now type the following commands: | |||
<pre><nowiki> | |||
sudo -i | |||
apt-get update && sudo apt-get upgrade | |||
apt-get install build-essential libssl-dev | |||
apt-get install linux-headers-`uname -r` | |||
apt-get install subversion | |||
svn checkout http://svn.madwifi-project.org/madwifi/trunk/ madwifi-ng | |||
echo "" >> /etc/modprobe.d/blacklist | |||
echo "#Remove To Install MadWIFI Drivers" >> /etc/modprobe.d/blacklist | |||
echo "blacklist ath9k" >> /etc/modprobe.d/blacklist | |||
echo "blacklist ath5k" >> /etc/modprobe.d/blacklist | |||
cd madwifi-ng | |||
make && make install | |||
echo ath_hal >> /etc/modules | |||
echo ath_pci >> /etc/modules | |||
</nowiki></pre> | |||
Restart your machine. Your wireless connection should work now. | |||
I use '''wicd''' to connect to the wireless modem. | |||
To install '''wicd''' type the following commands in a terminal window: | |||
<pre><nowiki> | |||
sudo apt-get update | |||
sudo apt-get install wicd | |||
</nowiki></pre> | |||
=== Warning about kernel updates === | |||
Kernel updates of your system will kill your driver, so you'll need to recompile it. | |||
Type the command <code><nowiki>sudo -i</nowiki></code> into a terminal window | |||
and just repeat the last three steps. Your '''madwifi''' will come back to life. | |||
=== Additional step for kernel 2.6.32.22 and later === | |||
Kernel 2.6.32.22 changed the default for the '''rfkill''' parameter of '''ath_pci''' from '''0''' to '''1''', which had the effect of killing the methods described above. You'll need to make sure that it's set back to '''0''' on system startup. To do that, edit (or create) the file '''/etc/modprobe.d/options''' to include the line | |||
<pre><nowiki> | |||
options ath_pci rfkill=0 | |||
</nowiki></pre> | |||
Your wireless should work after you reboot. | |||
(Edited 2010-05-15 to remove advertising spam links) | |||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2010年5月20日 (四) 00:55的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/WifiDocs/Driver/Atheros }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/af | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|Afrikaans| [[::WifiDocs/Driver/Atheros/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/ar | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|العربية| [[::WifiDocs/Driver/Atheros/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/az | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|azərbaycanca| [[::WifiDocs/Driver/Atheros/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/bcc | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|جهلسری بلوچی| [[::WifiDocs/Driver/Atheros/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/bg | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|български| [[::WifiDocs/Driver/Atheros/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/br | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|brezhoneg| [[::WifiDocs/Driver/Atheros/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/ca | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|català| [[::WifiDocs/Driver/Atheros/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/cs | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|čeština| [[::WifiDocs/Driver/Atheros/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/de | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|Deutsch| [[::WifiDocs/Driver/Atheros/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/el | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|Ελληνικά| [[::WifiDocs/Driver/Atheros/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/es | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|español| [[::WifiDocs/Driver/Atheros/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/fa | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|فارسی| [[::WifiDocs/Driver/Atheros/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/fi | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|suomi| [[::WifiDocs/Driver/Atheros/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/fr | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|français| [[::WifiDocs/Driver/Atheros/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/gu | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|ગુજરાતી| [[::WifiDocs/Driver/Atheros/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/he | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|עברית| [[::WifiDocs/Driver/Atheros/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/hu | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|magyar| [[::WifiDocs/Driver/Atheros/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/id | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|Bahasa Indonesia| [[::WifiDocs/Driver/Atheros/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/it | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|italiano| [[::WifiDocs/Driver/Atheros/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/ja | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|日本語| [[::WifiDocs/Driver/Atheros/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/ko | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|한국어| [[::WifiDocs/Driver/Atheros/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/ksh | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|Ripoarisch| [[::WifiDocs/Driver/Atheros/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/mr | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|मराठी| [[::WifiDocs/Driver/Atheros/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/ms | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|Bahasa Melayu| [[::WifiDocs/Driver/Atheros/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/nl | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|Nederlands| [[::WifiDocs/Driver/Atheros/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/no | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|norsk| [[::WifiDocs/Driver/Atheros/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/oc | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|occitan| [[::WifiDocs/Driver/Atheros/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/pl | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|polski| [[::WifiDocs/Driver/Atheros/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/pt | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|português| [[::WifiDocs/Driver/Atheros/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/ro | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|română| [[::WifiDocs/Driver/Atheros/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/ru | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|русский| [[::WifiDocs/Driver/Atheros/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/si | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|සිංහල| [[::WifiDocs/Driver/Atheros/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/sq | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|shqip| [[::WifiDocs/Driver/Atheros/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/sr | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|српски / srpski| [[::WifiDocs/Driver/Atheros/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/sv | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|svenska| [[::WifiDocs/Driver/Atheros/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/th | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|ไทย| [[::WifiDocs/Driver/Atheros/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/tr | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|Türkçe| [[::WifiDocs/Driver/Atheros/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/vi | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|Tiếng Việt| [[::WifiDocs/Driver/Atheros/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/yue | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|粵語| [[::WifiDocs/Driver/Atheros/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/zh | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|中文| [[::WifiDocs/Driver/Atheros/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/zh-hans | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|中文(简体)| [[::WifiDocs/Driver/Atheros/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/Driver/Atheros | UbuntuHelp:WifiDocs/Driver/Atheros | {{#if: | :}}WifiDocs/Driver/Atheros}}/zh-hant | • {{#if: UbuntuHelp:WifiDocs/Driver/Atheros|中文(繁體)| [[::WifiDocs/Driver/Atheros/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:WifiDocs/Driver/Atheros|:WifiDocs/Driver/Atheros|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :WifiDocs/Driver/Atheros/zh | | {{#ifexist: WifiDocs/Driver/Atheros/zh | | {{#ifeq: {{#titleparts:WifiDocs/Driver/Atheros|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:WifiDocs/Driver/Atheros|1|-1|}} | zh | | }}
Built-in drivers/modules, tested only on Intrepid
Also works on Karmic - see below If the method described in this section doesn't work for you, try [[UbuntuHelp:[KurianAlternative|the alternate method using madwifi and ath_pci]]] described below. 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. Note: For 9.10 substitute linux-backports-modules-karmic, 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-project.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. <<Anchor(KurianAlternative)>>
Method Using madwifi and ath_pci
The following method was described in the Ubuntu Forum thread [1]. Sections of this thread are quoted below. If you run into trouble, looking at the details of that thread may be helpful. Dr. P.J. Kurian posted the following information (slightly edited here): Hi guys! In this thread you will find the instructions for installing the madwifi drivers for Atheros wireless cards. Please follow the instructions exactly. Open the Konsole terminal by navigating through Applications-->Accessories--> Terminal. Now type the following commands in the terminal window:
sudo nano /etc/apt/sources.list
Now uncomment anything in that file that starts with deb by changing it from #deb to deb or something along those lines. To exit and save your changes, hit CTRL+X. Then answer "YES" to "Do you want to save?" and hit ENTER. Now type the following commands:
sudo -i apt-get update && sudo apt-get upgrade apt-get install build-essential libssl-dev apt-get install linux-headers-`uname -r` apt-get install subversion svn checkout http://svn.madwifi-project.org/madwifi/trunk/ madwifi-ng echo "" >> /etc/modprobe.d/blacklist echo "#Remove To Install MadWIFI Drivers" >> /etc/modprobe.d/blacklist echo "blacklist ath9k" >> /etc/modprobe.d/blacklist echo "blacklist ath5k" >> /etc/modprobe.d/blacklist cd madwifi-ng make && make install echo ath_hal >> /etc/modules echo ath_pci >> /etc/modules
Restart your machine. Your wireless connection should work now. I use wicd to connect to the wireless modem. To install wicd type the following commands in a terminal window:
sudo apt-get update sudo apt-get install wicd
Warning about kernel updates
Kernel updates of your system will kill your driver, so you'll need to recompile it.
Type the command sudo -i
into a terminal window
and just repeat the last three steps. Your madwifi will come back to life.
Additional step for kernel 2.6.32.22 and later
Kernel 2.6.32.22 changed the default for the rfkill parameter of ath_pci from 0 to 1, which had the effect of killing the methods described above. You'll need to make sure that it's set back to 0 on system startup. To do that, edit (or create) the file /etc/modprobe.d/options to include the line
options ath_pci rfkill=0
Your wireless should work after you reboot. (Edited 2010-05-15 to remove advertising spam links)