SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I just finished installing Slackware 11 on my Toshiba laptop, and I need to get my Belkin wireless card working. From previous experience (10.2), I know it is a Broadcom chipset, and I was pleased to see it detected at my first bootup (iwconfig prints out an entry). However, when I attempt to do anything with the wireless card (say, scan for networks), I get an error message. For example,
eth1: Interface doesn't support scanning: No such device
I think we're assuming that you're using the included bcm43xx drivers that come with the huge26.s kernel. Although I checked here and it says you're using ndiswrapper. So which one?
EDIT: In that first link to your other thread you said that a problem was solved with ACPI and the card. Don't forget that, too...
If you're using ndiswrapper then you have to blacklist the bcm43xx module. Personally I had problems with udev randomly loading it even when it was blacklisted so I just deleted it entirely from /lib/modules. That was before I noticed that huge26.s was compiled with a 4k stack which ndiswrapper complains about mercilessly so I ultimately ended up rectifying the problem entirely by compiling a new kernel myself. Anyway, the conflict between bcm43xx and ndiswrapper+bcmwl5 will cause intense nausea so make sure that situation isn't going on.
If you're gonna use bcm43xx then that might be good. Check lspci and see if in fact that your card uses the 4306 chipset. If so, then don't bother with ndiswrapper at all and use fwcutter to get the firmware and use the bcm43xx that comes with huge26.s. Check here for instructions on how to use fwcutter and for a link to get it if you don't already have it.
As to my previous problems, I was using ndiswrapper because I was using the default Slackware 10.2 kernel, which, of course, is of the 2.4 series. Now that I have upgraded to Slackware 11 (with a completely new install) and the 2.6 kernel, I'd like to use the native drivers, because ndiswrapper forced me to turn off ACPI, which is useful for a laptop.
lspci shows my card's chipset as 4318, which, according to the bcm43xx website, is supported (with some issues). I downloaded the source (I think) to the fwcutter ultility, but when I run make, it gives an enormous string of errors culminating in
lspci shows my card's chipset as 4318, which, according to the bcm43xx website, is supported (with some issues).
Ouch... and issues they are, as well.
I use the 4318 as well. The bcm43xx drivers are iffy for 4318 and I don't use them. It's what kept me with ndiswrapper. I'm not sure if they've gotten better but I could only use the B network as G wasn't supported and if I left the room where the router was then it would drop the network. Not exactly what I paid for...
It might be a tossup for you... ndiswrapper and no ACPI or bcm43xx and slow speed/no range. I can't make that decision for you.
I can offer, though, that you should certainly check your kernel if you do ndiswrapper. If you grep your kernel config file you should find
zcat /proc/config.gz | grep 4KSTACKS
# CONFIG_4KSTACKS is not set
If you have anything else then your driver will complain mercilessly and fail on you. You can check the -smp- kernel Pat compiled to make sure that you have a bigger stack but if not you'll need to compile a new kernel. Not necessarily a brand new kernel, but you'll need to uncheck that option.
And remember to disable the bcm43xx driver if you find yourself going the ndiswrapper route.
Let us know.
EDIT: Anyway... as for the fwcutter error... need more info. And after that I'm not an expert. Also the config file that Pat made for your kernel is in /boot.
All my errors were caused by an original error during the installation (compilation doesn't go very far without glibc). After several reinstalls (it's amazing how easy it is to mess them up), I'm back to my 2.6.17 system. I've chosen the ndiswrapper route (I'll worry about ACPI later). I have ndiswrapper installed but not working. My only question:
Like I said earlier, I tried adding it to the /etc/modprobe.d/blacklist file which stopped it from loading on boot unless the card was plugged in. You might want to stick around a bit to see if someone has a solution to stop udev from loading the damn thing. I personally deleted the whole /lib/modules/184.108.40.206/kernel/drivers/net/wireless/bcm43xx directory which solved my problems and I got no errors, either. That's kind of a cheap way out of it but it certainly worked for me.
Hopefully someone could help you with udev leaving it alone and letting blacklist do its job. You could at least move that directory for now in case you don't want it completely gone. If you decide to move it out of lib then make sure you modprobe -r first so you're not performing surgery on an attentive patient...
EDIT: Compiling a new kernel is also a good idea, you know. You can make oldconfig then make menuconfig and navigate to device drivers > network device support > wireless lan and remove the bcm43xx module, save, and recompile.
EDIT2: Also make sure you don't have 4kstack enabled. It's under kernel hacking.
Success, I think. The ndiswrapper compilation complained about 4KB stacks, but all evidence (loading the /boot/config file and examinig it, and make oldconfig -> make menuconfig) points to them being disabled. Of course, what really matters is that everything installed correctly (I blacklisted bcm43xx, and a reboot and lsmod showed itas not loaded). There were no problems with ACPI (my last experience was with a 2.4 kernel with ACPI built in. This was a 2.6 with ACPI modules). The only problem is that the transfer speed is not the maximum of 54M. Is that because I am far from the access point?