PCI / wireless problem

The place to post if you need help or advice

Moderators: ChrisThornett, LXF moderators

PCI / wireless problem

Postby gaz_dc » Sat May 14, 2005 8:48 pm

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
gaz_dc
 
Posts: 5
Joined: Wed May 04, 2005 9:43 pm

RE: PCI / wireless problem

Postby Rhakios » Sat May 14, 2005 10:56 pm

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
User avatar
Rhakios
Moderator
 
Posts: 7634
Joined: Wed Apr 06, 2005 11:18 pm
Location: Midlands, UK

RE: PCI / wireless problem

Postby nelz » Sat May 14, 2005 11:41 pm

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)
User avatar
nelz
Site admin
 
Posts: 8577
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

RE: PCI / wireless problem

Postby gaz_dc » Sun May 15, 2005 1:42 pm

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

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
gaz_dc
 
Posts: 5
Joined: Wed May 04, 2005 9:43 pm

RE: PCI / wireless problem

Postby nelz » Sun May 15, 2005 4:57 pm

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)
User avatar
nelz
Site admin
 
Posts: 8577
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK


Return to Help!

Who is online

Users browsing this forum: Exabot [Bot] and 0 guests