“UbuntuHelp:Router/Madwifi”的版本间的差异
来自Ubuntu中文
小 |
小 |
||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/Router/Madwifi}} | {{From|https://help.ubuntu.com/community/Router/Madwifi}} | ||
{{Languages|UbuntuHelp:Router/Madwifi}} | {{Languages|UbuntuHelp:Router/Madwifi}} | ||
− | ~+''This guide is only applicable for '''server''' installations of Ubuntu. If you are running a '''desktop''' installation of Ubuntu, try [[UbuntuHelp:WifiDocs/Driver/Madwifi]] and the [http://madwifi.org/wiki/ MadWifi wiki] for more information.''+~ | + | ~+''This guide is only applicable for '''server''' installations of Ubuntu. If you are running a '''desktop''' installation of Ubuntu, try [[UbuntuHelp:WifiDocs/Driver/Madwifi|WifiDocs/Driver/Madwifi]] and the [http://madwifi.org/wiki/ MadWifi wiki] for more information.''+~ |
== Checking For Atheros Chipsets == | == Checking For Atheros Chipsets == | ||
First, verify that your wireless network adapter requires the madwifi device drivers. | First, verify that your wireless network adapter requires the madwifi device drivers. | ||
第12行: | 第12行: | ||
00:0e.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01) | 00:0e.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01) | ||
</nowiki></pre> | </nowiki></pre> | ||
− | If there is no output, try looking through | + | If there is no output, try looking through [http://madwifi.org/wiki/Compatibility] to see if your network adapter is supported. |
== Installation == | == Installation == | ||
==== Ubuntu 8.04 ==== | ==== Ubuntu 8.04 ==== | ||
第20行: | 第20行: | ||
</nowiki></pre> | </nowiki></pre> | ||
==== Ubuntu 7.10 ==== | ==== Ubuntu 7.10 ==== | ||
− | Navigate to | + | Navigate to [http://madwifi.org/] and download and extract the latest version of the madwifi drivers (0.9.4 at the time of this writing) |
<pre><nowiki> | <pre><nowiki> | ||
wget http://internap.dl.sourceforge.net/sourceforge/madwifi/madwifi-0.9.4.tar.gz | wget http://internap.dl.sourceforge.net/sourceforge/madwifi/madwifi-0.9.4.tar.gz |
2008年10月20日 (一) 00:31的最新版本
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
~+This guide is only applicable for server installations of Ubuntu. If you are running a desktop installation of Ubuntu, try WifiDocs/Driver/Madwifi and the MadWifi wiki for more information.+~
目录
Checking For Atheros Chipsets
First, verify that your wireless network adapter requires the madwifi device drivers. Issue the following command:
sudo lspci | grep Atheros
If there is any output similar to that below, you should definitely install madwifi.
00:0e.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
If there is no output, try looking through [1] to see if your network adapter is supported.
Installation
Ubuntu 8.04
The drivers are in the restricted modules package; also see the `madwifi-tools` package.
sudo apt-get install linux-restricted-modules madwifi-tools
Ubuntu 7.10
Navigate to [2] and download and extract the latest version of the madwifi drivers (0.9.4 at the time of this writing)
wget http://internap.dl.sourceforge.net/sourceforge/madwifi/madwifi-0.9.4.tar.gz tar -xvzf madwifi-0.9.4.tar.gz cd madwifi-0.9.4
Download the necessary tools, compile and install the module
sudo apt-get install build-essential linux-headers-server make sudo make install
Setting Master Mode
NOTE: If you are plan on using this wireless network adapter in "master" mode (i. e. for the purposes of setting up a wireless router), create the file `/etc/modprobe.d/madwifi` and add the following to it:
options ath_pci autocreate=ap
This will tell madwifi to set your wireless device (ath0) to master mode. Finally, load the module
sudo modprobe ath_pci