madwifi wireless NIC drivers quit after kernel upgrade
Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
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.
madwifi wireless NIC drivers quit after kernel upgrade
I have an IBM T40p with the atheros based wireless card. I installed Mandrake 10 a few weeks ago and configured the MADwifi drivers which were working wonderfully. Today, I upgraded my kernel from 2.6.3-7 to 2.6.3-15 and now I cannot get the madwifi drivers to work. I reinstalled the drivers using cvs and it is just not working. If I use iwconfig, it can't find the ESSID (it is being temporarily broadcast). I also set the ssid and it shows 0 signal. I rebooted back to 2.6.3-7 and it is working fine. Anyone have this problem or know where to start looking for answers?
Just checking, you recompiled against the new kernel, got the new driver to load, have a device ath0, but it won't take iwconfig commands? Or iwconfig doesn't see anything there at all?
Also... this is an oddity with atheros cards, you need to bring the device up before iwconfig commands will stick. I don't know why this would have been different with a previous version of the kernel.
yeah, all the modules load and I see my wireless light come on. But when I try to get the connection configured, it can't detect anything. Here is what I am doing:
Code:
$ su
Password:
# modprobe wlan
# modprobe ath_pci
# modprobe ath_hal
# ifconfig ath0 up
# iwconfig
lo no wireless extensions.
ath0 IEEE 802.11 ESSID:""
Mode:Managed Frequency:2.447GHz Access Point: FF:FF:FF:FF:FF:FF
Bit Rate:1Mb/s Tx-Power:50 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0/94 Signal level:-95 dBm Noise level:-95 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
eth0 no wireless extensions.
#
by the way, when I try "ifup ath0", then the light goes off almost like the driver crashes or something. I can go through the rmmod series and reload the modules and the light comes back on.
Mandrake might have just added some kernel patches that break the driver, which is what I'm guessing at this point, the driver isn't completely compliant yet, and a little clunky becuasue it was a NetBSD import that brought along a lot of other NetBSD kernel code to work... we'll see. Try, after those first four steps, hand assigning it an essid
# modprobe wlan
# modprobe ath_pci
# modprobe ath_hal
# ifconfig ath0 up
iwconfig ath0 essid nameofnetwork
iwconfig ath0 mode managed (just to kick it in the pants again)
yeah, I tried those too and it doesn't help. I'm guessing that I will just have to wait until a newer version of MADwifi is released. Until then I can still use my old kernel. Thanks for the help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.