| View previous topic :: View next topic |
| Author |
Message |
gaz_dc
Joined: Wed May 04, 2005 10:43 pm Posts: 5
|
Posted: Sat May 14, 2005 9:48 pm Post subject: PCI / wireless problem |
|
|
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 |
|
 |
Rhakios Moderator

Joined: Thu Apr 07, 2005 12:18 am Posts: 7484 Location: Midlands, UK
|
Posted: Sat May 14, 2005 11:56 pm Post subject: RE: PCI / wireless problem |
|
|
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 |
|
 |
nelz Moderator

Joined: Mon Apr 04, 2005 12:52 pm Posts: 8036 Location: Warrington, UK
|
Posted: Sun May 15, 2005 12:41 am Post subject: RE: PCI / wireless problem |
|
|
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 |
|
 |
gaz_dc
Joined: Wed May 04, 2005 10:43 pm Posts: 5
|
Posted: Sun May 15, 2005 2:42 pm Post subject: RE: PCI / wireless problem |
|
|
Okay, thanks for that. I thought lspci was an internal command
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 |
|
 |
nelz Moderator

Joined: Mon Apr 04, 2005 12:52 pm Posts: 8036 Location: Warrington, UK
|
Posted: Sun May 15, 2005 5:57 pm Post subject: RE: PCI / wireless problem |
|
|
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 previous topic :: View next topic |
|