Also acta

Debian Squeeze with OpenBox

Debian GNU/Linux - Squeeze with OpenBox
If you can walk and chew gum at the same time, you can run GNU/Linux

debian tutorials
debiantutorials.org is built on and runs on Debian.

 

Creative Commons License
Wireless network card install (Atheros) Conceptronic etc Print E-mail
Written by RichBarna   
Sunday, 09 September 2007 13:06
It seems a few "New-To-Linux" users have had a few problems trying to get cheaper wireless network cards working in Debian.

Which card am I using?

This guide is based on a Conceptronic C54i wireless network card with an Atheros AR5212* 802.11abg chipset. (*Very common)

It is up and running thanks to the MadWifi drivers which are in the Debian repos.

Check out which cards use Atheros:
http://customerproducts.atheros.com/customerproducts/ResultsPageBasic.asp
http://www.atheros.com/partners/partnering.html

OK, prerequisites:

1. Sorry, but you need to have a wired internet connection up and running as we are going to install some stuff from the repos via apt.
2. Make sure you have the latest kernel and headers, and that your system is up-to-date.

OK, let's go

Open up your terminal change to root:$ su
Then enter your password.

# apt-get update then # apt-get upgrade

Now let's get everything installed that we will need:

You need to make sure you have the "contrib non-free" repos enabled on your sources list, so.....

# nano /etc/apt/sources.list

When it opens, scroll down to the bottom and copy and paste this to it:-

deb ftp://ftp.es.debian.org/debian stable main contrib non-free
deb-src ftp://ftp.es.debian.org/debian stable main contrib non-free

I have got es on mine to use the Spanish repos, just put uk or us etc for wherever is closest to you (see here for more "top right")

Then to save it: Ctrl+x, a Y for yes and Enter to close.

# apt-get update

And get installin'

Linux Header files
In the terminal type "uname -r" to see your current kernel If you have an up to date standard Etch install it will be 2.6.18-5, or 2.6.18-4 if you haven't upgraded the kernel. Any way see what you've got and add it to the install list below.

#apt-get install linux-headers-2.6.18-5 module-assistant build-essential madwifi-source madwifi-tools kwifimanager wireless-tools

Just let apt do it's it thing and get everything installed, then we go for the config:

m-a prepare
m-a a-i madwifi
modprobe ath_pci

Most up-to-date systems will load this module automatically at boot time via the hotplug mechanism, if not you can make sure it is loaded by adding it to the /etc/modules list:-

#echo ath_pci >> /etc/modules

OK, all installed and found (should be anyway). At this stage I unplug my network cable and reboot.

Once you have logged in, go to Desktop > Administration > Networking and disable your eth0 (wired nic) and enable the ath0 (wifi nic) and configure it with your usual settings, either DHCP or static, the same as you would for your wired nic to the router.

Once that is done, open up kwifimanager find your router essid and choose connect, I have 128bit WEP enabled and login with a 13 character password. Now you should be up and running with your new wireless connection. If for some reason yours doesn't work, post here or here and we'll try to get you up and running.

RichBarna

9 Sept 2007

Last Updated on Saturday, 14 June 2008 16:43