Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
According to this link above, the Linux Broadcom STA driver, direct from Broadcom, will (hopefully) work for your wireless device.
Here's the info and download page on the Broadcom website: http://www.broadcom.com/support/802.11/linux_sta.php
And if this works for your device, you won't need NDISwrapper.
So, if you either need help implementing the STA driver, or determine that it will not actually work for your device, let us know, and we'll continue helping either way.
Also, next time you post, please tell us what Linux OS and version you are using, if it's 64bit or 32bit, and whether your wireless gadget is a USB thing, or built into the machine.
EDIT: I see now, it's 64bit RHEL
Cheers!
Sasha
Last edited by GrapefruiTgirl; 01-28-2010 at 11:57 PM.
I just wonder I could use the driver in the link or I have to use ndiswrapper? I nvm use ndiswrapper before. I just want to use wireless bcos i only have wireless connection at home. Could someone advise me how to use ndiswrapper or where can I get BCM4328 linux driver?
Hey, looks like you are doing great here! Just a missing 80211 module, but looks like you have so far had good success getting the STA driver compiled, and it modprobes which is a good sign.
The 80211 module would be, as you likely are aware, a kernel module built when your kernel was compiled. It should be located in the /lib/modules/$(uname -r)/kernel/ folder somewhere, IF it is on your system. Have a look in there to see if it's there; something tells me you have the name wrong (it is not lib80211) but I could be wrong about this.
I do not have any wireless modules built on my own machine currently, otherwise I would have a look and verify the name. It *might* be "mac80211" but again, I am not sure.
Note that the `modprobe` command does not return any feedback messages, when it works. Therefore, you do not need to do `modprobe` and then `insmod` of the same module, as you seem to have indicated above.
So, have a peek into your modules folder, perhaps in the /net subfolder, and make sure you have the 80211 module in there.
If you do not have it anywhere, you'd need a kernel-rebuild, or a kernel upgrade via your package manager, to get a version with the wireless module(s) available.
in the folder of /lib/modules/2.6.18-164.el5/kernel/net
It got ieee80211 mac80211 .... which one should I use?
PS: If i know how to compile kernel, i wish to since it is so troublesome on drivers especially in new laptop. however I bought my laptop just 2 year back, not the new one
Spending time on drivers really wasting time and not productive...
# /sbin/modprobe mac80211
FATAL: Error inserting mac80211 (/lib/modules/2.6.18-164.el5/kernel/net/mac80211/mac80211.ko): Unknown symbol in module, or unknown parameter (see dmesg)
# /sbin/modprobe ieee80211
nothing..
in folder: /lib/modules/2.6.18-164.el5/kernel/net
# /sbin/insmod wl.ko
insmod: can't read 'wl.ko': No such file or directory
&
in folder: /lib/modules/2.6.18-164.el5/kernel/net/wireless
cp /usr/src/hybrid_wl/wl.ko .
/sbin/insmod wl.ko
Did you mean I only need to execute /sbin/modprobe ieee80211
and no need to execute # insmod wl.ko???
The readme from broadcom:
4: Insmod the driver.
If you were already running a previous version of wl, you'll want to provide a
clean transition from the older driver. (The path to previous driver is usually
/lib/modules/<kernel-version>/kernel/net/wireless)
Otherwise, if you have not previously installed a wl driver do this:
# modprobe lib80211
# insmod wl.ko
wl.ko is now operational. It may take several seconds for the Network Manager
to notice a new network driver has been installed and show the surrounding
wireless networks.
Hmm.. OK, when you did /sbin/modprobe ieee80211 and got no reply from the machine, that means it worked. If you type:
Code:
shell$ lsmod
after inserting a module, you will see the module in the produced list.
When you modprobe a module, it is the same as `insmod`, only it is more recent, and usually better, to use modprobe instead of insmod, because modprobe will automatically insert any other modules that the one you want, depends on. Also, you do not need the .ko extension when inserting a module.
As to why your mac80211 module gave an error, I can think of two reasons (or maybe 3 reasons):
1-- The module does not match your kernel (it is from a different kernel)
2-- There is a configuration parameter being passed to the module, which the module does not like.
3-- No hardware is present on the machine for the module to interact with.
Right -- modprobe should insert the module, as well as any others that it depends on. But to start fresh, it is best to remove any modules that are already inserted, like the README says.
Also (sort of contrary to what I just said), there are numerous threads around here, where people are having to modprobe one before the other, since doing it the other way around seems to cause issues. You may also find that you will need to blacklist any other module that your kernel thinks is the right one for your device; in this case, an example of something you may need to blacklist, would be the b43 module, so the kernel will not auto-probe it during boot, thereby screwing up your wl.ko and 80211 situation.
Last edited by GrapefruiTgirl; 01-31-2010 at 10:56 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.