Wifi atheros card on linux

Last update on May 4, 2009 11:38 AM by netty5
Published by netty5

Wifi atheros card on linux








Most of laptops have the atheros wifi network adapter, but when you install some versions of linux like debian, the driver is not sometimes installed automatically.

These steps will help you for installing the wifi atheros driver:

The deposits


First of all you will have open the root command in admin mode
In a first step is to add the repositories in
:

/etc/apt/source.list


nano /etc/apt/sources.list



For Debian 4.0 Etch

Deb http://security.debian.org/ etch/updates main contrib.
deb-src http://security.debian.org/ etch/updates main contrib

deb ftp://ftp.fr.debian.org/debian/ etch main non-free contrib
deb-src ftp://ftp.fr.debian.org/debian/ etch main non-free contrib


deb ftp://debian.marlow.dk/ sid madwifi
deb-src ftp://debian.marlow.dk/ sid madwifi



For Debian 5.0 Lenny

deb http://ftp.fr.debian.org/debian/ lenny main
deb-src http://ftp.fr.debian.org/debian/ lenny main

deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main
deb http://ftp.fr.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ lenny main contrib non-free



Then recharge:

aptitude update

Linux headers


Installing the linux headers, to know the your version type: uname –r

This is an example:

debian:~# uname -r
2.6.18-5-686
debian:~# aptitude install linux-headers-2.6.18-5-686

Madwifi tools


Then you have to install madwifi:

aptitude install madwifi-tools madwifi-source


Extract the downloaded files in /usr/src

cd /usr/src
tar xvjf madwifi.tar.bz2


or

tar xzvf madwifi.tar.gz


You can delete this archive:

rm -vfR madwifi.tar.bz2


or

rm -vfR madwifi.tar.gz


To install madwifi:
/usr/src/local/madwifi


cd /usr/src/modules/madwifi


make 
make install

Observation


By default, debian do not have the gcc pack. To install it type:

aptitude install gcc



Loading the Modules


You just have to load these modules:

update-modules
modprobe ath_pci

Verification


To verify if the wifi card is properly installed type:

Iwconfig



Then you will notice:

debian:~# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

sit0      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:""
          Mode:Managed  Frequency:2.457 GHz  Access Point: Not-Associated
          Bit Rate:0 kb/s   Tx-Power:9 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/94  Signal level=-95 dBm  Noise level=-95 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


All you have to do now is to configure your internet connection.
Best answers for « Wifi atheros card on linux » in :
Configure your tv card on linux Show Configure your tv card on linux Step1: Card Installation Step 2: Tvtime Installation Step 3: Remote control configuration Lirc Installation First Test Configure Lirc Configure the behavior of buttons Example Autorun This faq...
Installing a network adapter Show Purpose The purpose of this article is to set up a network to enable data exchanges between computers, resource sharing and network games. Is it therefore necessary to install a network card in each computer that may be part of the local area...
(Wi-Fi) Wireless Configuration for your laptop Show(WiFi) Wireless Configuration for your laptop What is SSID? Wireless Channel Selection WEP How to set up your wireless connection For Acer users For Asus users For DELL users For Compaq users For Fujitsu Siemens For Gericom...
3D Graphics Software Show3D Graphics Software Art of Illusion Blender Pov Ray Calimax Modeller DAZ 3D Genesis 3D Editor GLC Player ZModeler Professional 3D computer-generated imagery created by studios like Warner Bros or Pixar are generated by 3D...
Unable to connect to a WiFi network encrypted in WPA ShowUnable to connect to a WiFi network encrypted in WPA Symptoms My configuration Solution Explanation Symptoms You are unable to connect to WiFi network encrypted in WPA, even though it is listed, and with a very good signal (3 or 4...
Download Broadcom Ethernet NIC NetLink Driver pour Linux ShowDrivers Broadcom NetLink BCM57xx / NetXtreme BCM57xx WHQL work with the following chipsets: BCM 5781, BCM 5786, BCM 5787, BCM 5788, BCM 5789
Download Broadcom Ethernet NIC NetLink Driver for Linux ShowThese drivers from Broadcom( BCM57xx/NetXtreme Broadcom NetLink BCM57xx WHQL) are compatible with the following chipsets: BCM 5781 BCM 5786 BCM 5787 BCM 5788 BCM 5789 These drivers work on Linux (tg3) ,if your are searching for the same...
Network cards ShowWhat is a network card? A network card (also called a Network Adapter or Network Interface Card, or NIC for short) acts as the interface between a computer and a network cable. The purpose of the network card is to prepare, send, and control data...
Creating an ad hoc WiFi network ShowPresentation of the ad hoc WiFi network If you have two or more computers equipped with wireless adapters (WiFi cards), it is possible to easily connect them in a network by setting up a so-called "ad hoc" network, that is, a computer-to-computer...
Wi-Fi wireless network security (802.11 or WiFi) ShowAdapted infrastructure The first thing to do when a wireless network is installed is to place the access points in reasonable locations depending on the desired area of coverage. However, it is not uncommon to find that the covered area ends up...