Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This is Ubuntu Feisty Fawn 7.04. I believe the madwifi drivers are pre-installed.I've added the 'restricted' module, but no luck. The card isn't finding the drivers or vice versa.
mark@Lexington:~$ uname -r
2.6.20-16-386
mark@Lexington:~$ lspci
01:0b.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
mark@Lexington:~$ lshw
*-network UNCLAIMED
description: Ethernet controller
product: AR5212 802.11abg NIC
vendor: Atheros Communications, Inc.
physical id: b
bus info: pci@01:0b.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: latency=64 maxlatency=28 mingnt=10
resources: iomemory:ff8f0000-ff8fffff irq:3
mark@Lexington:~$ iwconfig
lo no wireless extensions.
mark@Lexington:~$ ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:600 (600.0 b) TX bytes:600 (600.0 b)
mark@Lexington:~$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet dhcp
auto eth2
iface eth2 inet dhcp
auto ath0
iface ath0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
iface ppp0 inet ppp
provider ppp0
mark@Lexington:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
mark@Lexington:~$ iwlist scan
lo Interface doesn't support scanning.
mark@Lexington:~$ cat /etc/modprobe.d/ndiswrapper
alias wlan0 ndiswrapper
mark@Lexington:~$ cat etc/resolv.conf
cat: etc/resolv.conf: No such file or directory
sumark@Lexington:~$ sudo apt-cache search madwifi
Password:
linux-restricted-modules-2.6.20-15-386 - Non-free Linux 2.6.20 modules on 386
linux-restricted-modules-2.6.20-15-generic - Non-free Linux 2.6.20 modules on x86/x86_64
hostapd - user space IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator
madwifi-tools - tools for the Multiband Atheros Driver for WiFi
linux-restricted-modules-2.6.20-15-lowlatency - Non-free Linux 2.6.20 modules on x86/x86_64
xen-restricted-modules-2.6.17-6-generic-xen0 - Non-free Linux 2.6.17 modules on x86_64 generic-xen0
linux-restricted-modules-2.6.20-16-386 - Non-free Linux 2.6.20 modules on 386
linux-restricted-modules-2.6.20-16-generic - Non-free Linux 2.6.20 modules on x86/x86_64
linux-restricted-modules-2.6.20-16-lowlatency - Non-free Linux 2.6.20 modules on x86/x86_64
mark@Lexington:~$ sudo uname -r
2.6.20-16-386
mark@Lexington:~$ sudo aptitude install linux-restricted-modules-2.6.20-16.386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Initializing package states... Done
Building tag database... Done
Couldn't find package "linux-restricted-modules-2.6.20-16.386". However, the following
packages contain "linux-restricted-modules-2.6.20-16.386" in their name:
linux-restricted-modules-2.6.20-16-386
The following packages have been automatically kept back:
clamav-freshclam
The following packages have been kept back:
clamav clamav-base clamav-daemon clamav-docs libclamav2
0 packages upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
mark@Lexington:~$
mark@Lexington:~$ sudo ifconfig
Password:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:400 (400.0 b) TX bytes:400 (400.0 b)
mark@Lexington:~$ sudo ifconfig wlan0
wlan0: error fetching interface information: Device not found
mark@Lexington:~$ modinfo acx_pci
modinfo: could not find module acx_pci
mark@Lexington:~$ modinfo ath_pci
filename: /lib/modules/2.6.20-16-386/madwifi/ath_pci.ko
license: Dual BSD/GPL
version: 0.9.3.1
description: Support for Atheros 802.11 wireless LAN cards.
author: Errno Consulting, Sam Leffler
srcversion: D33427613CC54A874D9A746
alias: pci:v0000168Cd00009013sv*sd*bc*sc*i*
alias: pci:v0000168Cd0000001Dsv*sd*bc*sc*i*
alias: pci:v0000168Cd0000001Csv*sd*bc*sc*i*
alias: pci:v0000168Cd0000001Bsv*sd*bc*sc*i*
alias: pci:v0000168Cd0000001Asv*sd*bc*sc*i*
alias: pci:v0000168Cd00000019sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000018sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000017sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000016sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000015sv*sd*bc*sc*i*
alias: pci:v0000168Cd0000101Asv*sd*bc*sc*i*
alias: pci:v0000168Cd00001014sv*sd*bc*sc*i*
alias: pci:v000010B7d00000013sv*sd*bc*sc*i*
alias: pci:v0000A727d00000013sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000013sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000012sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000007sv*sd*bc*sc*i*
depends: ath_hal,wlan
vermagic: 2.6.20-16-386 mod_unload 486
parm: countrycode:Override default country code (int)
parm: outdoor:Enable/disable outdoor use (int)
parm: xchanmode:Enable/disable extended channel mode (int)
parm: rfkill:Enable/disable RFKILL capability (int)
parm: autocreate:Create ath device in [sta|ap|wds|adhoc|ahdemo|monitor] mode. defaults to sta, use 'none' to disable (charp)
parm: ratectl:Rate control algorithm [amrr|onoe|sample], defaults to 'sample' (charp)
parm: ath_debug:Load-time debug output enable (int)
mark@Lexington:~$
mark@Lexington:~$ sudo apt-cache search madwifi
linux-restricted-modules-2.6.20-15-386 - Non-free Linux 2.6.20 modules on 386
linux-restricted-modules-2.6.20-15-generic - Non-free Linux 2.6.20 modules on x86/x86_64
hostapd - user space IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator
madwifi-tools - tools for the Multiband Atheros Driver for WiFi
linux-restricted-modules-2.6.20-15-lowlatency - Non-free Linux 2.6.20 modules on x86/x86_64
xen-restricted-modules-2.6.17-6-generic-xen0 - Non-free Linux 2.6.17 modules on x86_64 generic-xen0
linux-restricted-modules-2.6.20-16-386 - Non-free Linux 2.6.20 modules on 386
linux-restricted-modules-2.6.20-16-generic - Non-free Linux 2.6.20 modules on x86/x86_64
linux-restricted-modules-2.6.20-16-lowlatency - Non-free Linux 2.6.20 modules on x86/x86_64
mark@Lexington:~$
mark@Lexington:~$ sudo uname -r
2.6.20-16-386
mark@Lexington:~$ sudo aptitude install linux-restricted-modules-2.6.20-16-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
Initializing package states... Done
Building tag database... Done
The following packages have been automatically kept back:
clamav-freshclam
The following packages have been kept back:
clamav clamav-base clamav-daemon clamav-docs libclamav2
0 packages upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
mark@Lexington:~$
mark@Lexington:~$ sudo aptitude install linux-restricted-modules-2.6.20-16-386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following packages have been automatically kept back:
clamav-freshclam
The following packages have been kept back:
clamav clamav-base clamav-daemon clamav-docs libclamav2
0 packages upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
mark@Lexington:~$
after adding the restricted module above, I rebooted and:
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Run this command to see if the module will load, run it as root.
/sbin/modprobe ath_pci
If it says no module then madwifi is not present for your current kernel or the system.map is not up to date. From the looks I assume you have it in the /lib/modules/`uname -r`/madwifi
If present then run this command to update the system.map. depmod -a
For what I can see with Google, most of the folks with the same errors as you list fixed it with a different kernel, a different binary compiled for their kernel or firmware from a differnt kernel.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.