LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-21-2007, 08:19 AM   #1
mercnet
LQ Newbie
 
Registered: Jun 2007
Posts: 2

Rep: Reputation: 0
bcm43xx-mac80211 issue


OK, I know this has been dealt with before, but I didn't want to revive old threads. Also I didn't see this problem addressed in those threads. So I am making a new one.

Background: Dell Latitude 110l Laptop
Mission: Get wifi support running.
OS: Fedora 7

So everything is good, I got the bcmwl5.sys and bcmwl5.inf from my windows driver and used bcm43xx-fwcutter on the the .sys and extracted the fw to /lib/firmware. Blacklisted bcm43xx and bcm43xx-mac80211 in /etc/modprobe.d/black list. Got the ndiswrapper tar, extracted, compiled and ready to go. So I move on to getting the to the meat:

Code:
[mercnet@localhost home]# ndiswrapper -i bcmwl5.inf
installing bcmwl5 ...
[mercnet@localhost home]# ndiswrapper -l
bcmwl5 : driver installed
        device (14E4:4318) present (alternate driver: bcm43xx-mac80211)
OK, WTF. Why did it load the frakking blacklisted driver? I have rebuilt the entire structure and even gone as far as reinstalling the entire OS. I do not get it. Why is it bypassing what ndiswrapper installs and using the mac80211?

I tried using these drivers, and they are not working. After everything is said and done, my wireless driver doesn't show up in the list in the network manager when I hit new>wireless.

Any help here would be awesome.

Thanks, Mercnet.
 
Old 06-21-2007, 09:06 AM   #2
mercnet
LQ Newbie
 
Registered: Jun 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Issue resolved.

What I did was add the bcm43xx and the bcm43xx-mac80211 in the /etc/modprobe.d/blacklist-compat file. I still got (alternate driver bcm43xx-mac80211) when I did ndiswrapper -l, but after continuing the process of loading the module, I went to the gui network manager and hit new>wireless and there was my card staring at me.

YAY!

Hope this helps anyone that was having this issue as well. Peace.
 
Old 06-21-2007, 09:18 AM   #3
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
This "(alternate driver: bcm43xx-mac80211)" the driver is available nothing more, as a check do something like to verify that ndiswrapper is loaded:

cat /proc/modules | grep ndis

Also make sure that the bcm43xx driver is not; cat /proc/modules | grep bcm43
If it is then unload it: modprobe -r bcm43xx-mac80211

Also check and maybe edit the /etc/modprobe.conf file for both drivers, you want a line entry like for ndiswrapper like;

alias wlan0 ndiswrapper

And no line for the bcm43xx driver.

As root create/edit the /etc/sysconfig/network-scripts/ifcfg-wlan0 file, example below;

TYPE=Wireless
DEVICE=wlan0
HWADDR=
BOOTPROTO=dhcp
IPADDR=
NETMASK=255.255.255.0
GATEWAY=<wireless routers internal IP address here, optional>
DOMAIN=
ONBOOT=yes
ONHOTPLUG=yes
USERCTL=yes
IPV6INIT=no
PEERDNS=yes
ESSID=
CHANNEL=
MODE=
RATE=

Also make sure that other ifcfg-ethX files (the one for the bcm43xx driver) is set not to load on boot or hotplug;

ONBOOT=no
ONHOTPLUG=no

It is a good idea to disable kudzu from starting at boot time also;

chkconfig --levels 2345 kudzu off

When done try restarting the network service(as root): service network restart

You really did not need to use bcm43xx-fwcutter for ndiswrapper, but nothing to fret about here no harm has been done and it is OK to leave the firmware files where they are. Also you had no reason to build ndiswrapper when all you needed to do is install dkms and the dkms-ndiswrapper package from freshrpms.net;

http://moonshine.freshrpms.net/rpm.html?id=49

This is a better way, no need to rebuild ndiswrapper after a kernel update. The driver gets rebuilt on the fly automatically for you the first time one boots into the new kernel.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BCM43XX fails, ndiswrapper works, want BCM43XX Shadow_7 Linux - Wireless Networking 9 01-27-2013 08:11 AM
wireless. bcm43xx cwwilson721 Slackware 10 01-14-2007 08:43 AM
bcm43xx jelgavchik Linux - Hardware 1 11-26-2006 01:37 PM
blacklisting bcm43xx BCarey Slackware 2 09-26-2006 11:01 PM
bcm43xx and ndiswrapper BCarey Linux - Wireless Networking 3 09-15-2006 04:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration