I have been looking around for quite a while as far as these n300 adapter and use with bcmwl kernels, however I'm having quite a bit of trouble installing the package.
sudo dpkg --configure bcmwl-kernel-source
return the same error, after freshly apt-get update, and upgrading.
apt-get install bcmwl-kernel-source
root@bt:~# sudo dpkg --configure bcmwl-kernel-source
Setting up bcmwl-kernel-source (18.104.22.168+bdcom-0ubuntu3) ...
Removing old bcmwl-22.214.171.124+bdcom DKMS files...
Deleting module version: 126.96.36.199+bdcom
completely from the DKMS tree.
Loading new bcmwl-188.8.131.52+bdcom DKMS files...
First Installation: checking all kernels...
Building only for 3.2.6
Building for architecture i686
Building initial module for 3.2.6
Error! Bad return status for module build on kernel: 3.2.6 (i686)
Consult the make.log in the build directory
/var/lib/dkms/bcmwl/184.108.40.206+bdcom/build/ for more information.
dpkg: error processing bcmwl-kernel-source (--configure):
subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
Looking into it further, the referenced make.log consists of this:
DKMS make.log for bcmwl-220.127.116.11+bdcom for kernel 3.2.6 (i686)
Mon Jul 16 18:48:40 NZST 2012
make: Entering directory `/usr/src/linux-source-3.2.6'
CC [M] /var/lib/dkms/bcmwl/18.104.22.168+bdcom/build/src/shared/linux_osl.o
CC [M] /var/lib/dkms/bcmwl/22.214.171.124+bdcom/build/src/wl/sys/wl_linux.o
/var/lib/dkms/bcmwl/126.96.36.199+bdcom/build/src/wl/sys/wl_linux.c:219: error: unknown field ‘ndo_set_multicast_list’ specified in initializer
/var/lib/dkms/bcmwl/188.8.131.52+bdcom/build/src/wl/sys/wl_linux.c:219: warning: initialization from incompatible pointer type
/var/lib/dkms/bcmwl/184.108.40.206+bdcom/build/src/wl/sys/wl_linux.c: In function ‘_wl_set_multicast_list’:
/var/lib/dkms/bcmwl/220.127.116.11+bdcom/build/src/wl/sys/wl_linux.c:1435: error: ‘struct net_device’ has no member named ‘mc_list’
/var/lib/dkms/bcmwl/18.104.22.168+bdcom/build/src/wl/sys/wl_linux.c:1435: error: ‘struct net_device’ has no member named ‘mc_count’
/var/lib/dkms/bcmwl/22.214.171.124+bdcom/build/src/wl/sys/wl_linux.c:1436: error: dereferencing pointer to incomplete type
/var/lib/dkms/bcmwl/126.96.36.199+bdcom/build/src/wl/sys/wl_linux.c:1442: error: dereferencing pointer to incomplete type
make: *** [/var/lib/dkms/bcmwl/188.8.131.52+bdcom/build/src/wl/sys/wl_linux.o] Error 1
make: *** [_module_/var/lib/dkms/bcmwl/184.108.40.206+bdcom/build] Error 2
make: Leaving directory `/usr/src/linux-source-3.2.6'
I was able to get the device working for a short while, utilising either b43 or b43legacy (I've tried both), but since neither natively supported injection/mon0 I tried to patch with the b43 injection patch. Needless to say that hasn't worked (yet) and I'm left with this error and a not working wireless adapter.
lsusb does show it, however.
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0846:9020 NetGear, Inc. WNA3100(v1) Wireless-N 300 [Broadcom BCM43231]
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I'm a bit stuck, and would appreciate some help in getting this solved, if there is a solution