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