LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-13-2005, 12:21 AM   #1
linkith
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Rep: Reputation: 0
atheros driver build issue


I have Fedora Core 4 installed on my Presario 2100 running the Athlon CPU. The Presario is running an Atheros AR5001X+ 802.11a/b/g mini-PCI card. I have been reading almost everything pertaining to this subject and have been to mad-wifi many times.

Being new to Linux I am a little overwhelmed at downloading source from CVS, building the app, and installing it. I have done the following:

1. installed lincvs with yum.
2. have been to mad-wifi and viewed the CVS repository with the web viewer. Looks like everything is there.

I would appreciate getting pointed in the right direction do to the following.

1. How do I configure lincvg so I can download the atheros driver source from mad-wifi?
2. Is there a cookbook direction on how to build the atheros driver (or any app)?
3. How do I install and test the driver after it is built?

I would appreciate a point in the right direction. I enjoy the learning but there is so much information out there I get lost. I appreciate this community.
 
Old 11-13-2005, 12:50 AM   #2
johndoe0028
Member
 
Registered: Jun 2005
Location: CA, USA
Distribution: Gentoo
Posts: 165

Rep: Reputation: 30
I do not know anything about lincvg.

This is from my experience. I assume you want the madwifi driver.

You can download the snapshot here http://madwifi.otaku42.de/ The file name is madwifi-cvs-current.tar.gz (Or .bz2).

Un-tar it: tar -xvf [full-path-of-package] for .TAR.GZ
tar -xjf [full-path-of-package] for .TAR.BZ2

Make sure you have modprobe and depmod linked to /usr/bin, else the install will fail.

you can test test by entering "modprobe" or "depmod" into the command-line. If you get an error, then they are not linked. To link, you need to be ROOT.

To link do: ln -s /sbin/modprobe /usr/bin/modprobe for modprobe
and ln -s /sbin/depmod /usr/bin/depmod for depmod

Also, you want to make sure that there is a link to the kernel sources in /lib/modules/"uname -r"/build. Installing the development package from add/remove applications will install the sources and link them.

Before building the driver, you need to have the package called "sharutils" installed. Since you have YUM, you can just do a "yum install sharutils".

After linking, move into the directory where you extracted the drivers.

cd [path-to-driver-directory]

Then, log in as root and do a "make" then "make install"

To test the driver, do a "/sbin/iwconfig". If you see an "ath0", then the drivers work.

Set the network ID "/sbin/iwconfig ath0 [ssid]"
Set the signal mode "/sbin/iwconfig ath0 mode [signal mode]"

I do not know how to do WEP encryption, I do not need it.

I connect to my router with "dhclient ath0"


For me, the drivers are loaded at boot time, but if they're not, you can load them manually. Log in as ROOT, and do a "modprobe ath_pci" and "modprobe ath_hal".

Then follow steps for configuring and connecting above.

Hope this helps

Last edited by johndoe0028; 11-13-2005 at 04:06 AM.
 
Old 11-14-2005, 12:09 PM   #3
linkith
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Original Poster
Rep: Reputation: 0
I appreciate the detailed instructions.

When I execute the "make" command I get the following warning. I have checke in the .../madwifi/ath_hal directory and there is no .hal.o.cmd file or directory. Is there a step I should do before the "make" command?

Warning: could not find .../madwifi/ath_hal/.hal.o.cmd for .../madwifi/ath_hal/hal.o
 
Old 11-14-2005, 08:21 PM   #4
linkith
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Original Poster
Rep: Reputation: 0
johndoe028 is a Linux STUD!

I kept working at it and I finally went to the network system setting under the desktop, configured the Atheros card and Voila! Everything works.

Geez, I didn't realize I could be so happy getting a wireless card to work. Thanks again.
 
Old 11-15-2005, 09:39 PM   #5
johndoe0028
Member
 
Registered: Jun 2005
Location: CA, USA
Distribution: Gentoo
Posts: 165

Rep: Reputation: 30
Quote:
Originally posted by linkith
johndoe028 is a Linux STUD!
Heh...not really. Appreciate the complement, though .

Glad I could help out.
 
  


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
Multiple VLAN issue with Atheros Wireless steve_f60 Linux - Wireless Networking 0 11-30-2005 02:50 PM
FC3 and Atheros G wifi driver linuxdork Fedora 2 04-19-2005 02:14 AM
Atheros RoamAbout Kernel issue mlp68 Linux - Wireless Networking 2 11-21-2004 11:29 PM
Planet 8310 wireless card driver? (atheros) nvidiausr Linux - Wireless Networking 4 11-01-2004 10:44 AM
where to get atheros driver? xaptux Linux - Networking 1 05-01-2004 03:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:56 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