Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PCI / wireless problem

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
gaz_dc



Joined: Wed May 04, 2005 10:43 pm
Posts: 5

PostPosted: Sat May 14, 2005 9:48 pm    Post subject: PCI / wireless problem Reply with quote

I am having trouble getting my wireless card to work with a new Gentoo installation. It is a Netgear WG311 using the Atheros chip set. After scouring the Internet, I found the following;

ACCEPT_KEYWORDS="~x86" emerge madwifi-driver
emerge wireless-tools
cp /etc/init.d/net.eth0 /etc/init.d/net.ath0
modprobe ath_hal
modprobe ath_pci
modprobe wlan
echo "ath_hal" >> /etc/modules.autoload.d/kernel-2.6
echo "ath_pci" >> /etc/modules.autoload.d/kernel-2.6
echo "wlan" >> /etc/modules.autoload.d/kernel-2.6

After typing this in, I have got the wireless tools installed. However, when typing iwconfig, I get the following;

lo no wireless extensions.
dummy0 no wireless extensions.

I then tried iwconfig ath0, but obviously got the reply “No such device”. Also, when I type in modprobe ath_pci from the above instructions, I get the following error;

FATAL: Error inserting ath_pci (/lib/modules/2.6.11-gentoo-r8/net/ath_pci.ko): Unknown symbol in module, or unknown parameter (see dmesg)

At the bottom of the output from dmesg is the following;

ath_pci: Unknown symbol ieee80211_ioctl
ath_pci: Unknown symbol ieee80211_ioctl

Also, I have tried lspci, but got back a command not found message.

Have I missed something from my kernel?

Thanks

Gaz
Back to top
View user's profile Send private message
Rhakios
Moderator


Joined: Thu Apr 07, 2005 12:18 am
Posts: 7619
Location: Midlands, UK

PostPosted: Sat May 14, 2005 11:56 pm    Post subject: RE: PCI / wireless problem Reply with quote

rhakios@pythia:~> whereis lspci
lspci: /sbin/lspci /usr/share/man/man8/lspci.8.gz

rhakios@pythia:~> rpm -q --whatprovides /sbin/lspci
pciutils-2.1.11-201

Check your path and that pciutils is installed.
_________________
Bye, Rhakios
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8439
Location: Warrington, UK

PostPosted: Sun May 15, 2005 12:41 am    Post subject: RE: PCI / wireless problem Reply with quote

Firstly, don't use ACCEPT_KEYWORDS on the command line, use /etc/portage/package.keywords.

emerge pciutils to get lspci

Have you configured the network interface in /etc/conf.d/net and the wireless settings in /etc/conf.d/wireless?
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
gaz_dc



Joined: Wed May 04, 2005 10:43 pm
Posts: 5

PostPosted: Sun May 15, 2005 2:42 pm    Post subject: RE: PCI / wireless problem Reply with quote

Okay, thanks for that. I thought lspci was an internal command Embarassed

Now that I have pciutils installed, the output from lspci shows the following;

0000:01:0a.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev01)

So it looks like my card is being seen. What is next?

Thanks for your help so far
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8439
Location: Warrington, UK

PostPosted: Sun May 15, 2005 5:57 pm    Post subject: RE: PCI / wireless problem Reply with quote

Configure /etc/conf.d/net and /etc/conf.d/wireless as per the included examples.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast