Comment 48 for bug 197558

Revision history for this message
Jeremy Brown (jeremy-jbdynamics) wrote : Re: ssb module breaks BCM4328 with ndiswrapper (regression from 2.6.24-10)

I too have a BCM4328 card (Dell Wireless 1505 Draft-N). I finally got it to work after reading this post, although I had to modify Levmatta's original procedure. The WL and SSB modules worked for the wireless card, but the speed was god awfully slow (max 10K/sec as slow as 50 bytes/sec) and I could not use any sort of encryption (yes, I had wpasupplicant installed, I even built it from source to make sure it was a driver problem). I created the ndiswrapper init.d script symbolic link at /etc/rc1.d/S01ndiswrapper, basically before the bcm43xx-firmware loads at /etc/rc1.d/S05 and continually loads for some odd reason through rc5.d. I did not have to re-probe the ssb module after removing it to get my all of my USB devices to work. Here is my script that works in Intrepid Ibex Kubuntu 8.10 for anyone suffering problems related to the bcm4328 wireless card:

cat /etc/init.d/ndiswrapper

#! /bin/sh
### BEGIN INIT INFO
# Provides: ndiswrapper
# Required-Start:
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: enable to load ndiswrapper
# Description: enable to load ndiswrapper
### END INIT INFO

rmmod ohci_hcd
rmmod ssb
rmmod wl
rmmod ndiswrapper
depmod -a
modprobe ndiswrapper
modprobe ssb
modprobe ohci_hcd

############# end file #############
/ end file

I didn't need to put rmmod b43, b44, b43legacy, bcm43xx, etc because the bcm43xx module has not loaded yet at S01 in rc1.d.

cat /etc/modprobe.d/ndiswrapper

install pci:v000014E4d00004328sv*sd*bc*sc*i* /sbin/modprobe ndiswrapper

/ end file

I tried using the alias pci in the modprobe.d script and the ndiswrapper driver never loaded, a lspci -k revealed that ssb and wl were in use by the kernel with no mention of ndiswrapper. So I tried ndiswrapper -mi and cut out all the extras from the modprobe.d file and voila, it finally worked after a month of fiddling with it. The wifi card persistently works after reboot, so I am very happy.

I still haven't figured out how to use WPA encryption with the card, but WEP 128-bit open system works just fine, so it will have to do for now. I live in a remote area with massive signal interference so I'm not worried about people hacking my network because I get weak reception on my porch and the router is less than 100 feet away (-50 dBm). Someone would have to park in my driveway to borrow my network connection, and I have four wireless security cameras recording the surroundings of my house.