LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux (CentOS) and Atheros Wireless Driver (https://www.linuxquestions.org/questions/linux-newbie-8/linux-centos-and-atheros-wireless-driver-475530/)

nentendo 08-20-2006 12:55 AM

Linux (CentOS) and Atheros Wireless Driver
 
HI all friend


i am really new in this feild but i already install the CentOS and now the matter of installing Atheros Wireless Drive but really i dont have any clue at all how to install. where to get this drive but some satying about if you install .rpm you dont have to do any thing so i really dont know any thing. Is ther any way any of my friend tell me the command and trick and procedure and if they have any software whcih help me to install that driver that would be really really great.

thanks in Advance

dangerboy 08-20-2006 02:20 AM

For the best results, I recommend getting MadWifi and installing the latest version of the Atheros drivers.

Go here and download the appropriate RPM for your distribution.
http://madwifi.org/wiki/UserDocs/GettingMadwifi

The command should be something like:
Code:

rpm -i name-of-package.rpm

_UnPrEdictAbLe_ 08-20-2006 02:23 AM

Hi,

Atheros chipset is supported by madwifi driver. You can get the drivers for "FEDORA CORE" at www.atrpms.net. I guess the RPM for Fedora wont work on your OS. You can anyway download the tarball and compile.

Anyways, just to recheck,
Code:

[anurag@localhost ~]$ /sbin/lspci -vv
01:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
        Subsystem: Global Sun Technology Inc Trust Speedshare Turbo Pro Wireless PCI Adapter
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 168 (2500ns min, 7000ns max), Cache Line Size 10
        Interrupt: pin A routed to IRQ 185
        Region 0: Memory at ff900000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>

The madwifi driver works perfectly for my device. Do come back if you have doubts.

nentendo 08-27-2006 02:10 AM

hi friend

i tried to install from dangerboy link but seem like didnt work becuae it ask me so many Kernel packages missing. i really need step by step guide from one of my friend

i really appriciate about this link it should work but seem like i am either missing somethign or doing somethign wrong.


please advice.


thanks

dangerboy 08-27-2006 02:15 AM

Can you post the exact error you are getting when you try to install?

nentendo 08-27-2006 11:11 AM

ok

when i am trying to use this madwifi-0.9.2-27.el4.at.i386.rpm
it saying that youa re missing madwifi-kmdl-1:0.9.2-27.el4.at

than i cant find this one and then trying to install lower version of this file it saying you are missing some lib files.


please advice.

thanks

btmiller 08-27-2006 11:33 AM

I suggest you use yum to solve the dependencies for you. There are isntructions for adding the yum repository with the MadWifi drivers at the MadWifi site. If you want to download directly from ATRPMs all of the packages for CentOS 4 are available on this page. If you are unable to get these installed please post the exact error messages you see.

nentendo 08-27-2006 12:45 PM

hi there

this error i am getting when i am tring to install madwifi-0.9.2-27.el4.at.i386.rpm

on windows it saying that

unlocatable package Required by
madwifi-kmdl-1:0.9.2-27.el4.at ('madwifi','0.9.2','27.el4.at'

that do i have to do.

thanks

btmiller 08-27-2006 12:48 PM

Get the correct madwifi-kmdl package from the site I gave you the link to above. Then install it with the madwifi package, e.g.

rpm -ivh madwifi*.rpm

nentendo 08-27-2006 01:03 PM

now when i am trying to install

madwifi-hal-kmdl-2.6.9-42.ELhugemem-0.9.2-27.el4.at.i686.rpm

from your link i am getting theses error
/boot/vmlinuz-2.6.9-42.ELsmp
madwifi-hal-kmdl-2.6.9-42.ELsmp

Unlocatable packeges

dangerboy 08-27-2006 02:28 PM

I'm not quite sure about your output there. Did you copy and paste the output from your console into your web browser?

You can try quoting the package name:

Code:

rpm -i "/path/of/package/madwifi-hal-kmdl-2.6.9-42.ELhugemem-0.9.2-27.el4.at.i686.rpm"
Make sure you specify what directory the package is located in (/path/of/package could be /home/nentendo/Desktop for example).

If you continue to get errors copy and paste the error (including the command) and reply to this post. Good luck.

nentendo 08-27-2006 03:29 PM

ok this time when i run this line on my terminal windows i am getting this message make sure i am login in as a root

warning: /root/Desktop/madwifi-hal-kmdl-2.6.9-42.ELhugemem-0.9.2-27.el4.at.i686. rpm: V3 DSA signature: NOKEY, key ID 66534c2b
error: Failed dependencies:
/boot/vmlinuz-2.6.9-42.ELhugemem is needed by madwifi-hal-kmdl-2.6.9-42. ELhugemem-0.9.2-27.el4.at.i686
madwifi-kmdl-2.6.9-42.ELhugemem = 1:0.9.2-27.el4.at is needed by madwifi -hal-kmdl-2.6.9-42.ELhugemem-0.9.2-27.el4.at.i686

dangerboy 08-27-2006 03:57 PM

Okie dokie, that helps immensely.

That package appears to be compiled against the 2.6.9-42 kernel with hal support.

Since CentOS, AFAIK, is based on Redhat, I would recommend installing a Fedora Core 3 package instead.

Go here:
http://atrpms.net/dist/fc3/madwifi/

And get this package:
madwifi-0.9.2-27.fc3.at.i386.rpm

Try installing that and see what kind of results you get. I recommend Fedora Core 3 packages because you might not have the latest glibc libraries that FC5 apparently has builtin. But that's another topic. Let me know how this works. :)

This is pretty much what unpredictable suggested.

nentendo 08-27-2006 04:12 PM

this time when i used madwifi-0.9.2-27.fc3.at.i386.rpm


i got this
rpm -i "/root/Desktop/madwifi-0.9.2-27.fc3.at.i386.rpm"
warning: /root/Desktop/madwifi-0.9.2-27.fc3.at.i386.rpm: V3 DSA signature: NOKEY , key ID 66534c2b
error: Failed dependencies:
madwifi-kmdl-1:0.9.2-27.fc3.at is needed by madwifi-0.9.2-27.fc3.at.i386

any suggestion

dangerboy 08-27-2006 04:14 PM

Ok. What's your kernel version?

Use

'uname -r'

without quotes.

dangerboy 08-27-2006 04:46 PM

Sorry to put you through so many steps, but try this.

I recommend compiling from source since all of the Redhat and FC packages are all compiled against different kernel versions.

This way, we will know for sure that you are getting a setup that is made specifically for your setup.

Go here:
http://sourceforge.net/project/showf...ckage_id=85233

Get:
madwifi-0.9.2.tar.gz

Unpack the tar.gz
Code:

tar -xvvzf madwifi-0.9.2.tar.gz
Change directory into the new madwifi folder and run:
Code:

./configure
make
make install


nentendo 08-27-2006 04:50 PM

Kernel version is

2.6.9-42.0.2.ELsmp


any idea

dangerboy 08-27-2006 04:55 PM

Ignore the previous reply then.

This what we are going to do.

Go to:
http://atrpms.net/dist/el4/madwifi/

Get:
madwifi-kmdl-2.6.9-42.0.2.ELsmp-0.9.2-27.el4.at.i686.rpm
madwifi-0.9.2-27.el4.at.i386.rpm

And install them in the order listed above.

nentendo 08-27-2006 04:58 PM

when i am trying to run your
./configure command


i am getting this

[root@shoaibahmed madwifi-0.9.2]# make install
/bin/sh: cc: command not found
sh scripts/find-madwifi-modules.sh
Purpose:
Locate all madwifi-related kernel modules for a given kernel
(including all its subdirectories).

Usage:
scripts/find-madwifi-modules.sh <kernelrelease> [destdir]

<kernelrelease>: the kernel release that madwifi has been compiled for
[destdir]: destination directory for the compiled madwifi modules (optional)

make: *** [install-modules] Error 1

any idea

dangerboy 08-27-2006 05:01 PM

Don't worry about compiling for now. I sincerely apologize for the confusion. Try the last suggestion.

nentendo 08-27-2006 05:03 PM

ok when i am running your first file
madwifi-kmdl-2.6.9-42.0.2.ELsmp-0.9.2-27.el4.at.i686.rpm


getting this

warning: /root/Desktop/madwifi-kmdl-2.6.9-42.0.2.ELsmp-0.9.2-27.el4.at.i686.rpm: V3 DSA signature: NOKEY, key ID 66534c2b
error: Failed dependencies:
madwifi-hal-kmdl-2.6.9-42.0.2.ELsmp = 1:0.9.2-27.el4.at is needed by madwifi-kmdl-2.6.9-42.0.2.ELsmp-0.9.2-27.el4.at.i686

nentendo 08-27-2006 05:04 PM

and if i am trying this
madwifi-0.9.2-27.el4.at.i386.rpm


getting this

rpm -i "/root/Desktop/madwifi-0.9.2-27.el4.at.i386.rpm"
warning: /root/Desktop/madwifi-0.9.2-27.el4.at.i386.rpm: V3 DSA signature: NOKEY , key ID 66534c2b
error: Failed dependencies:
madwifi-kmdl-1:0.9.2-27.el4.at is needed by madwifi-0.9.2-27.el4.at.i386

dangerboy 08-27-2006 05:14 PM

Ok... get:
madwifi-hal-kmdl-2.6.9-42.0.2.ELsmp-0.9.2-27.el4.at.i686.rpm

From:
http://atrpms.net/dist/el4/madwifi/

Basically each package relies on what is installed before it, so the rpm command is telling you that it needs: madwifi-hal-kmdl-2.6.9-42.0.2.ELsmp which is contained in the above rpm name. Keep getting the necessary dependencies until you get no errors.

nentendo 08-27-2006 05:20 PM

so now when i run that it shows

[root@shoaibahmed madwifi-0.9.2]# rpm -i "/root/Desktop/madwifi-hal-kmdl-2.6.9-42.ELhugemem-0.9.2-27.el4.at.i686 .rpm"
warning: /root/Desktop/madwifi-hal-kmdl-2.6.9-42.ELhugemem-0.9.2-27.el4.at.i686.rpm: V3 DSA signature: NOKEY, ke y ID 66534c2b
error: Failed dependencies:
/boot/vmlinuz-2.6.9-42.ELhugemem is needed by madwifi-hal-kmdl-2.6.9-42.ELhugemem-0.9.2-27.el4.at.i686
madwifi-kmdl-2.6.9-42.ELhugemem = 1:0.9.2-27.el4.at is needed by madwifi-hal-kmdl-2.6.9-42.ELhugemem-0.9 .2-27.el4.at.i686

any suggestion

dangerboy 08-27-2006 05:25 PM

Don't use the hugemem package.... you do not have that kernel.

You want this one.
http://dl.atrpms.net/all/madwifi-kmd...l4.at.i686.rpm

nentendo 08-27-2006 06:09 PM

after runnig


i got this

[root@shoaibahmed madwifi-0.9.2]# rpm -i "/root/Desktop/madwifi-hal-kmdl-2.4.21-47.ELsmp-0.9.1-25.el3.at.i686.rpm"
warning: /root/Desktop/madwifi-hal-kmdl-2.4.21-47.ELsmp-0.9.1-25.el3.at.i686.rpm: V3 DSA signature: NOKEY, key ID 66534c2 b
error: Failed dependencies:
/boot/vmlinuz-2.4.21-47.ELsmp is needed by madwifi-hal-kmdl-2.4.21-47.ELsmp-0.9.1-25.el3.at.i686
madwifi-kmdl-2.4.21-47.ELsmp = 1:0.9.1-25.el3.at is needed by madwifi-hal-kmdl-2.4.21-47.ELsmp-0.9.1-25.el3.at.i6 86


i check root folder i have this vmlinuz-2.4.21-47.ELsmp

i really dont know that to do next. any time i try to run any rpm file than got another rpm missing

please advice

dangerboy 08-27-2006 06:14 PM

Ok. Go through and install each of these files using the command:

Code:

rpm -i --nodeps name-of-package.rpm
This will force the packages to be installed, as long as you have all three installed, you should be ok to install the modules and run configuration.

nentendo 08-27-2006 06:34 PM

hi friend

finally when i run this command i got different message this time

[root@shoaibahmed ~]# rpm -i --nodeps "/root/Desktop/madwifi-0.9.2-27.el4.at.i38 6.rpm"
warning: /root/Desktop/madwifi-0.9.2-27.el4.at.i386.rpm: V3 DSA signature: NOKEY , key ID 66534c2b
file /usr/bin/80211debug from install of madwifi-0.9.2-27.el4.at conflic ts with file from package madwifi-0.9.0-1.2
file /usr/bin/80211stats from install of madwifi-0.9.2-27.el4.at conflic ts with file from package madwifi-0.9.0-1.2
file /usr/bin/athchans from install of madwifi-0.9.2-27.el4.at conflicts with file from package madwifi-0.9.0-1.2
file /usr/bin/athctrl from install of madwifi-0.9.2-27.el4.at conflicts with file from package madwifi-0.9.0-1.2
file /usr/bin/athdebug from install of madwifi-0.9.2-27.el4.at conflicts with file from package madwifi-0.9.0-1.2
file /usr/bin/athkey from install of madwifi-0.9.2-27.el4.at conflicts w ith file from package madwifi-0.9.0-1.2
file /usr/bin/athstats from install of madwifi-0.9.2-27.el4.at conflicts with file from package madwifi-0.9.0-1.2
file /usr/bin/wlanconfig from install of madwifi-0.9.2-27.el4.at conflic ts with file from package madwifi-0.9.0-1.2
file /usr/share/man/man8/80211debug.8.gz from install of madwifi-0.9.2-2 7.el4.at conflicts with file from package madwifi-0.9.0-1.2
file /usr/share/man/man8/athdebug.8.gz from install of madwifi-0.9.2-27. el4.at conflicts with file from package madwifi-0.9.0-1.2

any idea

dangerboy 08-27-2006 06:43 PM

That means you have an old version of madwifi already installed, version 0.9.0-1.2... you can try to configure the old version but if not, you will need to uninstall the old version before installing 0.9.2-27.

Code:

man rpm
Check the rpm manual entry for usage on how to uninstall if you decide to do that. If you want to try to configure the old version first, check the documentation at http://www.madwifi.org/.

nentendo 08-27-2006 11:38 PM

is there any terminal command to see what latest rmp for madwifi installed



thanks

dangerboy 08-27-2006 11:50 PM

Check in the rpm manual, there should be a query function.

nentendo 08-28-2006 12:08 AM

after strugle i success to install madwifi-0.9.2-27.el4.at.i386.rpm and just to confirm i tried again and got this message

[root@shoaibahmed madwifi-0.9.2]# rpm -i "/root/Desktop/madwifi-0.9.2-27.el4.at.i386.rpm"
warning: /root/Desktop/madwifi-0.9.2-27.el4.at.i386.rpm: V3 DSA signature: NOKEY, key ID 66534c2b
package madwifi-0.9.2-27.el4.at is already installed

but now when i am trying to see drive i still cant see the drive in network setting.do i have to do anythign else too
please advice

thanks
'

dangerboy 08-28-2006 12:12 AM

Well installation is complete... at least it appears to be.

Check the madwifi documentation. They have an in-depth "how to" that will take you step by step through setup.

Here it is:
http://madwifi.org/wiki/UserDocs/FirstTimeHowTo

nentendo 08-28-2006 12:43 AM

it seem like it flying over my head

i read one more time to see i under stand

get back to your friendly guys

thqanks


All times are GMT -5. The time now is 12:28 AM.