LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-29-2008, 06:00 PM   #1
CoastalP47
LQ Newbie
 
Registered: Oct 2008
Posts: 2

Rep: Reputation: 0
wifi help


I have a Toshiba A205 and need help getting my wifi card working. I have an atheros card and googled all the tutorials on how to install it onto ubuntu 8.04.1 but nothing ever helps. Is there a video that I can go to, because I swear this is the most frustrating thing ever. I do all the terminal stuff step by step but when it comes time for me to do the whole sudo make and sudo install I just get "failed" and "stop" errors. What the hell?

Yes, I do the whole essential build line after getting the correct snapshot, but I still get error messages.
 
Old 10-29-2008, 07:12 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Quote:
I have a Toshiba A205 and need help getting my wifi card working. I have an [Atheros] card and [Googled] all the tutorials on how to install it [into] [Ubuntu] 8.04.1 but nothing ever helps. Is there a video that I can go to, because I swear this is the most frustrating thing ever. I do all the terminal stuff step by step but when it comes time for me to do the whole sudo make and sudo install I just get "failed" and "stop" errors. What the hell?

Yes, I do the whole essential build line after getting the correct snapshot, but I still get error messages.
OK, first you really need to read the forum guidelines on "How to ask a question".

Your post leaves us wondering about several things that I've highlighted in the quote.

Specifically:

1) Which Atheros card do you have? (i.e., it's model number)
2) What "terminal stuff" did you do? Which tutorial's "step by step" instructions did you follow?
3) Which "snapshot" are you using? Why?
4) What, specific, error messages did you get? Do you have the correct development tools and kernel header files installed? (Ubuntu does not, normally, install the development tools, although they are easily available from the repositories.)
5) What is the "essential build line?"

We also need to know if you are using the 64-bit Ubuntu release or the 32-bit version. It would also help if you included your hardware specifications. A Toshiba A205 may mean something to you, but for those of us who don't closely follow the hardware market, the information is just you telling us to Google the machine specifications because you can't be bothered.

Last edited by PTrenholme; 10-29-2008 at 07:14 PM.
 
Old 10-29-2008, 07:20 PM   #3
CoastalP47
LQ Newbie
 
Registered: Oct 2008
Posts: 2

Original Poster
Rep: Reputation: 0
I have an Atheros ar242x card, or so the Ubuntu terminal tells me. Here are the exact instructions I'm following:
First go to System–>Administration–>Hardware Drivers” and disable by un-ticking the following option

Atheros Hardware Access Layer (Hal)

Then Reboot your system.

Preparing your system

sudo apt-get install build-essential

apt-get install linux-headers-`uname -r`


Then open the terminal from Applications–>Accessories–>Terminal and copy the following command

wget http://snapshots.madwifi.org/special...+ar5007.tar.gz

tar xfz madwifi-ng-r2756+ar5007.tar.gz

cd madwifi-ng-r2756+ar5007

sudo make
(No target to "install". STOP)

sudo make install

sudo modprobe ath_pci

iwconfig (to check for ath0 response)

sudo reboot

The only commands that follow through are the wget and the sudo reboot, all of the other ones say there is no target to install/make. This is a completely clean install, the most of done before this was open openoffice and play with the themes.

Last edited by CoastalP47; 10-29-2008 at 07:23 PM.
 
Old 10-30-2008, 01:15 PM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
O.K., that's useful. I'm have the same Atheros device in my laptop, and have to re-compile the driver every time the Ubuntu (or anyone else's) kernel changes.

<edit>
I just noticed that I'm using a more current snapshot than you: madwifi-ng-r3366+ar5007
Perhaps you should download that one.
</edit>

So: Can you do a ls madwifi-ng-r2756+ar500 to verify that you've got everything. Here's what you should see:
Code:
$ sudo ls /Ubuntu/usr/src/ath
ath            COPYRIGHT        Makefile         patch-kernel  scripts
ath_hal        hal              Makefile.inc     README        SNAPSHOT
ath_rate       include          Makefile.kernel  README.dfs    svnversion.h
BuildCaps.inc  INSTALL          Module.symvers   regression    THANKS
contrib        kernelversion.c  net80211         release.h     tools
(I keep my madwifi source files in /usr/src/ath, so my argument to the ls command is different, but the directory contents should be the same.)

If your directory doesn't look like mine, try using the archive extraction tool from the application menu to re-extract the archive contents. (I've forgotten what the GNOME tool is called. It's ark in Kubuntu.)

By the way, remember that Linux system usually implement "tab completion," so all you need to type in the terminal window would be ls mad<tab>. If nothing happens after one <tab>, a second <tab> will usually show you all the possible "completions" and redisplay your input so you can add more characters and push <tab> again. It's sometimes amusing to see how many commands you could use if you wanted to by pressing a couple of <tab>s at the prompt:
Code:
$
Display all 3189 possibilities? (y or n)

Last edited by PTrenholme; 10-30-2008 at 02:36 PM. Reason: Version info added
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Forwarding wifi connectivity from one router through a single-card Wifi computer CJ Chitwood Linux - Networking 3 11-01-2008 09:56 PM
LXer: ASRock P43R1600Twins-WiFi & P45R2000-WiFi LXer Syndicated Linux News 0 09-21-2008 02:50 PM
WiFi Connectivity (Configure WiFi in Fedora) saidul Linux - Newbie 1 07-23-2008 08:48 AM
WiFi Only Connects Using Shell, GUI Fails on Fiesty 7.04 / Dell 1350 WiFi Card pr0gr4mm3r Linux - Wireless Networking 1 07-10-2007 09:43 PM
Best WiFi PCI (or else) card in general for Linux and WiFi network experimentation? ICEMANII Linux - Wireless Networking 2 09-21-2006 05:50 PM


All times are GMT -5. The time now is 08:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration