Coder Profile - Show off your skills, get a coder profile.
 
 
 
Installing the Madwifi drivers for Ubuntu
Operating Systems
WARNING: This is a very dry and dull article, reading this could cause bordom to the point of coma, read at your own risk!!

Ok, well after I got Ubuntu up and running I had a little problem, Ubuntu didn't recognize my wireless card! So what was a guy to do? Of course I got on another computer and googled it, I came across many different tutorials and other documents on installing the drivers but they were so confusing, I wound up spending all day and night trying to get it working, then I finnaly figured it out (no thanks to the readme), so to try and save you all the hassle I decided to write this little "tutorial".

Here we go...

Ok, first thing's first, you have to download the drivers and make sure you have all the build essentials to install them. The drivers that I managed to get working, and the drivers this tutorial is based on are the madwifi drivers for Atheros cards.

Open up a console and type in the following:
CODE: Copy / Restore  ::  Remove Scroll Bars
  1. sudo apt-get build-essentials
It should ask for your root password, and then it'll start installing them, while this is going on go here to download the drivers:

http://sourceforge.net/project/showfiles.php?group_id=82936&package_id=8523...

Ok, now that you have them downloaded, or perhaps you just decided to read ahead while waiting for them to download, simply open up the tarball via the Archive Manager, and drop the folder on your desktop. Once you've done this open up a terminal and "cd" into that directory.

Once in there type in the following commands:
CODE: Copy / Restore  ::  Remove Scroll Bars
  1. make clean
  2. make
  3. make install
Alrighty then, now that they are installed, let's get it working, with the console still open use this command:
CODE: Copy / Restore  ::  Remove Scroll Bars
  1. modprobe ath-pci
After you've done this we need to see if everything is working right type in:
CODE: Copy / Restore  ::  Remove Scroll Bars
  1. ifconfig
Your output should be simular to the following:
QUOTE:  Remove Scroll Bars
ath0 Link encap:Ethernet HWaddr 00:22:69:01:6f:a2
inet addr:192.168.2.11 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: 2002:ad11:a989:1234:222:69ff:fe01:6fa2/64 Scope:Global
inet6 addr: fe80::222:69ff:fe01:6fa2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9878 errors:0 dropped:0 overruns:0 frame:0
TX packets:3569 errors:11 dropped:11 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11874182 (11.8 MB) TX bytes:408979 (408.9 KB)

eth0 Link encap:Ethernet HWaddr 00:1e:68:b2:93:dc
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:220 Base address:0xe000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:246 errors:0 dropped:0 overruns:0 frame:0
TX packets:246 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15408 (15.4 KB) TX bytes:15408 (15.4 KB)

wifi0 Link encap:UNSPEC HWaddr 00-22-69-01-6F-A2-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:87064 errors:0 dropped:0 overruns:0 frame:6583
TX packets:4321 errors:3 dropped:11 overruns:0 carrier:0
collisions:0 txqueuelen:280
RX bytes:21939999 (21.9 MB) TX bytes:599343 (599.3 KB)
Interrupt:19
If you are missing ath0 and wifi0 then you probably need to restart you computer, after you restart try again and see if it works, it did for me! Also if you have any problems with it let me know and I'll help you out with what I can.


Posted By Darkvengance
Please login to rate coding articles.

Click here to register a free account with us.
Comments
Please login to post comments.
Page 1 of 1
More Articles By This Author
Installing the Madwifi drivers for Ubuntu
Various methods for Disabling UAC on Vista
Recently Posted "Operating Systems" Articles
Installing the Madwifi drivers for Ubuntu
Windows XP Start Up Button Tweak
Command Line and Batch Files: The Basics
Another way to disable the UAC in Windows Vista
Various methods for Disabling UAC on Vista
Recently Rated "Operating Systems" Articles
Windows XP Start Up Button Tweak
Command Line and Batch Files: The Basics
Another way to disable the UAC in Windows Vista
Various methods for Disabling UAC on Vista
Installing the Madwifi drivers for Ubuntu
source codes Categories articles
Browse All
Business & E-Commerce (1)
Databases (1)
Design & Creativity (2)
Hardware (1)
Internet & Web Sites (3)
Life In General (2)
Networking (1)
Operating Systems (5)
Other (2)
Programming (47)
Security (10)
Software Development (5)
Web Development (14)
search Search Inside
Operating Systems
 
 
Latest News About Coder Profile
Coder Profile Poll
Why do you get bored with programming?

Not enough time to do something productive
I run out of ideas
Too hard to show people my creations
Everything i do has too many errors, and it's too hard
I don't get bored!!!


please login to cast your vote
and see the results of this poll
Latest Coder Profile Changes
Coder Profile was last updated
1.67 Year Ago
Official Blog :: Make A Donation :: Credits :: Contact Me
Terms & Conditions :: Privacy Policy :: Documents :: Wallpapers
Version 1.46.00
Copyright © 2007 - 2010, Scott Thompson, All Rights Reserved