BCM43xx Ndiswrapper in Hardy

24 04 2008

First before you start installing ndiswrapper you need to blacklist b43 modules by editing /etc/modprobe.d/blacklist
$ sudo gedit /etc/modprobe.d/blacklist
password:

then add:

blacklist b43 (you can put it under blacklist bcm43xx

save and quit gedit.

The second step is to install ndiswrapper
From Applications – Add/Remove
search for ndiswrapper

It will automatically install ndiswrapper with its dependency

Third: copy the bcmwl5.inf and bcmwl5.sys to your home folder and fire up terminal/konsole

change to the directory where you put the two files:
$ cd bcm43
$ sudo ndiswrapper -i bcmwl5.inf

check if the driver is installed by giving command:
$ sudo ndiswrapper -l
bcmwl5 : driver installed
device (14E4:4311) present (alternate driver: bcm43xx)

Fourth: Edit rc.local

$ sudo gedit /etc/rc.local
add the following lines:
rmmod ssb
rmmod ndiswrapper
modprobe ndiswrapper

Fifth : Reboot your computer and setup your wireless network

Advertisements

Actions

Information

15 responses

25 04 2008
beginlinux

Another useful article. Is this beta or todays release?

1 05 2008
gf4e

I wrote about a conflict between ndiswrapper and ssb. The only way to get it to work without any startup scripts is to recompile the kernel with CONFIG_USB_OHCI_HCD_SSB=n

1 05 2008
anom

This is RC, I think it will also work for Beta. The difference of Beta and Release is the kernel version.
Thanks for the info but how do we compile the kernel? Cause I haven’t ever tried to recompile kernel.

5 05 2008
gf4e

If you really want to try, then first thing you have to do is download the desired kernel from kernel.org, and simply follow one of the millions of tutorials on how to compile a kernel. Google gives many and many links.

I have a release version, but it still does not work, although it had been announced that it was fixed in an even earlier kernel version.

9 05 2008
S V

Hi

I followed your guide to install drivers on my HP 6720s laptop running Ubuntu 8.04.

The driver I downloaded (from the HP site) has bcmwl6.inf instead of bcmwl5.inf – so I continued to install following your instructions.

I added the lines you mentioned in the rc.local file.

But WLAN is not working and here’s part of the output of dmesg:

[ 22.697128] usbcore: deregistering interface driver ndiswrapper
[ 22.741040] ndiswrapper version 1.52 loaded (smp=yes, preempt=no)
[ 22.756853] ndiswrapper (import:242): unknown symbol: NDIS.SYS:’NdisMRegisterInterruptEx’
[ 22.756866] ndiswrapper (import:242): unknown symbol: NDIS.SYS:’NdisMIndicateStatusEx’
[ 22.756873] ndiswrapper (import:242): unknown symbol: NDIS.SYS:’NdisFreeNetBufferList’
[ 22.756881] ndiswrapper (import:242): unknown symbol: NDIS.SYS:’NdisAllocateMdl’
[ 22.756894] ndiswrapper (import:242): unknown symbol: NDIS.SYS:’NdisFreeMdl’
[ 22.756919] ndiswrapper (import:242): unknown symbol: NDIS.SYS:’NdisMDeregisterScatterGatherDma’
[ 22.756929] ndiswrapper (import:242): unknown symbol: NDIS.SYS:’NdisMDeregisterInterruptEx’
[ 22.756940] ndiswrapper (import:242): unknown symbol: NDIS.SYS:’NdisMSynchronizeWithInterruptEx’
[ 22.756948] ndiswrapper (import:242): unknown symbol: NDIS.SYS:’NdisMRegisterMiniportDriver’
[ 22.756955] ndiswrapper (import:242): unknown symbol: NDIS.SYS:’NdisMSetMiniportAttributes’
[ 22.756965] ndiswrapper (import:242): unknown symbol: NDIS.SYS:’NdisMGetBusData’
[ 22.756973] ndiswrapper (import:242): unknown symbol: NDIS.SYS:’NdisMRegisterScatterGatherDma’
[ 22.756983] ndiswrapper (import:242): unknown symbol: NDIS.SYS:’NdisAllocateNetBufferListPool’
[ 22.756994] ndiswrapper (import:242): unknown symbol: NDIS.SYS:’NdisMOidRequestComplete’
[ 22.757002] ndiswrapper (import:242): unknown symbol: NDIS.SYS:’NdisAllocateIoWorkItem’
[ 22.757009] ndiswrapper (import:242): unknown symbol: NDIS.SYS:’NdisMSetBusData’
[ 22.757016] ndiswrapper (import:242): unknown symbol: NDIS.SYS:’NdisAllocateNetBufferAndNetBufferList’
[ 22.757031] ndiswrapper (import:242): unknown symbol: NDIS.SYS:’NdisMDeregisterMiniportDriver’
[ 22.757044] ndiswrapper (import:242): unknown symbol: NDIS.SYS:’NdisFreeNetBufferListPool’
[ 22.757053] ndiswrapper (import:242): unknown symbol: NDIS.SYS:’NdisOpenConfigurationEx’
[ 22.757060] ndiswrapper (import:242): unknown symbol: NDIS.SYS:’NdisFreeIoWorkItem’
[ 22.757068] ndiswrapper (import:242): unknown symbol: NDIS.SYS:’NdisMSendNetBufferListsComplete’
[ 22.757075] ndiswrapper (import:242): unknown symbol: NDIS.SYS:’NdisMIndicateReceiveNetBufferLists’
[ 22.757086] ndiswrapper (import:242): unknown symbol: NDIS.SYS:’NdisAllocateMemoryWithTagPriority’
[ 22.757097] ndiswrapper (import:242): unknown symbol: NDIS.SYS:’NdisQueueIoWorkItem’
[ 22.757100] ndiswrapper (load_sys_files:210): couldn’t prepare driver ‘bcmwl6’
[ 22.757720] ndiswrapper (load_wrap_driver:112): couldn’t load driver bcmwl6; check system log for messages from ‘loadndisdriver’
[ 22.757773] usbcore: registered new interface driver ndiswrapper

Could you interpret the problem from this output? Please help…

Thanks

9 05 2008
S V

(continued,,,)

Here’s the output of lspci:

00:00.0 Host bridge: Intel Corporation Mobile GME965/GLE960 Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GME965/GLE960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GME965/GLE960 Integrated Graphics Controller (rev 0c)
00:19.0 Ethernet controller: Intel Corporation 82562GT 10/100 Network Connection (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 03)
10:00.0 Network controller: Broadcom Corporation BCM4312 802.11a/b/g (rev 02)

And the output of iwconfig:

lo no wireless extensions.

eth0 no wireless extensions.

9 05 2008
Controlador Wireless BCM43XX + NDISwrapper en Ubuntu Hardy 8.04 « Matando tigres

[…] Ver también: RaulSlacker Wiki Fedora Venezuela Salatiga Linux […]

12 05 2008
anom

Your problem is in
[ 22.757100] ndiswrapper (load_sys_files:210): couldn’t prepare driver ‘bcmwl6′
[ 22.757720] ndiswrapper (load_wrap_driver:112): couldn’t load driver bcmwl6; check system log for messages from ‘loadndisdriver’

Probably the driver is not suitable for the card. Try to find bcmwl5.
as far as I’m concerned that’s the perfect Windows driver for BCM43xx

Hope this help.

12 05 2008
anom

I’d just uploaded bcmwl5.inf and bcmwl5.inf here:
http://www.4shared.com/file/47265887/bdef588b/bcm43xx.html

Try and inform me the result.

13 05 2008
Shrek

I am running into trouble with :

change to the directory where you put the two files:
$ cd bcm43
$ sudo ndiswrapper -i bcmwl5.inf

I did copy the two files to my home folder, but I get this error message:

couldn’t open bcmwl5.inf: No such file or directory at /usr/sbin/ndiswrapper-1.9 line 219.

13 05 2008
anom

Maybe the problem is on the ndiswrapper. It should find the file because you are in the directory of the file.
I’d just done a fresh install of Hardy and add ndiswrapper.
then do the following:
anom@anom-laptop:~/Public/bcm$ ls
bcmwl5.inf bcmwl5.sys
anom@anom-laptop:~/Public/bcm$ sudo ndiswrapper -i bcmwl5.inf
installing bcmwl5 …
anom@anom-laptop:~/Public/bcm$ sudo ndiswrapper -ma
module configuration information is stored in /etc/modprobe.d/ndiswrapper

No problem with it. List the file in the directory to make sure it’s there.

13 05 2008
kunde

thanks man!!!

20 03 2009
weromemuero

hey man thx for the help the only prob is that when i reboot i have to rmmod ssd rmmod ndiswrapper modprobe ndiswrapper always and i’ve already added those lines into /etc/rc.local do i have to add the lines before exit 0 or after

9 02 2014
Dale

My partner and I stumbled over here by a different website and thought I might as well check things out.

I like what I see so now i am following you. Look forward to exploring your web page repeatedly.

9 07 2017
Perfumes a pronta entrega baratos

Muito interessante

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




%d bloggers like this: