Dear god my wireless card is living hell. I have an Acer Aspire laptop with a Broadcom Wireless chipset:
Code:
09:00.0 Network controller [0280]: Broadcom Corporation BCM43225 802.11b/g/n [14e4:4357] (rev 01)
I was following your tutorial and at the top where you tell me to use
Code:
sudo aptitude install linux-headers-`uname -r`
I decided it was a good idea to go ahead and run that command first. So it installed with the following output:
Code:
root@bt:~/drivers# sudo aptitude install linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
The following packages will be REMOVED:
bogl-bterm{u} cryptsetup{u} dmraid{u} ecryptfs-utils{u}
libdebconfclient0{u} libdebian-installer4{u} libdmraid1.0.0.rc16{u}
libecryptfs0{u} python-pyicu{u} rdate{u} reiserfsprogs{u}
The following partially installed packages will be configured:
bcmwl-kernel-source
0 packages upgraded, 0 newly installed, 11 to remove and 28 not upgraded.
Need to get 0B of archives. After unpacking 3,994kB will be freed.
Do you want to continue? [Y/n/?] Y
Writing extended state information... Done
(Reading database ... 278980 files and directories currently installed.)
Removing bogl-bterm ...
Removing cryptsetup ...
update-initramfs: deferring update (trigger activated)
Removing dmraid ...
update-initramfs: deferring update (trigger activated)
Removing ecryptfs-utils ...
Removing libdebconfclient0 ...
Removing libdebian-installer4 ...
Removing libdmraid1.0.0.rc16 ...
Removing libecryptfs0 ...
Removing python-pyicu ...
Removing rdate ...
Removing reiserfsprogs ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.6
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for python-support ...
Setting up bcmwl-kernel-source (5.60.48.36+bdcom-0ubuntu3) ...
Removing old bcmwl-5.60.48.36+bdcom DKMS files...
------------------------------
Deleting module version: 5.60.48.36+bdcom
completely from the DKMS tree.
------------------------------
Done.
Loading new bcmwl-5.60.48.36+bdcom DKMS files...
First Installation: checking all kernels...
Building only for 3.2.6
Building for architecture x86_64
Building initial module for 3.2.6
Error! Bad return status for module build on kernel: 3.2.6 (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/bcmwl/5.60.48.36+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:
bcmwl-kernel-source
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up bcmwl-kernel-source (5.60.48.36+bdcom-0ubuntu3) ...
Removing old bcmwl-5.60.48.36+bdcom DKMS files...
------------------------------
Deleting module version: 5.60.48.36+bdcom
completely from the DKMS tree.
------------------------------
Done.
Loading new bcmwl-5.60.48.36+bdcom DKMS files...
First Installation: checking all kernels...
Building only for 3.2.6
Building for architecture x86_64
Building initial module for 3.2.6
Error! Bad return status for module build on kernel: 3.2.6 (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/bcmwl/5.60.48.36+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:
bcmwl-kernel-source
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
but it was after that when I went to install the developer kernel when I received a whole bunch of errors:
Code:
root@bt:~/drivers# sudo aptitude install devel-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Couldn't find any package whose name or description matched "devel-3.2.6"
Couldn't find any package whose name or description matched "devel-3.2.6"
The following partially installed packages will be configured:
bcmwl-kernel-source
0 packages upgraded, 0 newly installed, 0 to remove and 28 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up bcmwl-kernel-source (5.60.48.36+bdcom-0ubuntu3) ...
Removing old bcmwl-5.60.48.36+bdcom DKMS files...
------------------------------
Deleting module version: 5.60.48.36+bdcom
completely from the DKMS tree.
------------------------------
Done.
Loading new bcmwl-5.60.48.36+bdcom DKMS files...
First Installation: checking all kernels...
Building only for 3.2.6
Building for architecture x86_64
Building initial module for 3.2.6
Error! Bad return status for module build on kernel: 3.2.6 (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/bcmwl/5.60.48.36+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:
bcmwl-kernel-source
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up bcmwl-kernel-source (5.60.48.36+bdcom-0ubuntu3) ...
Removing old bcmwl-5.60.48.36+bdcom DKMS files...
------------------------------
Deleting module version: 5.60.48.36+bdcom
completely from the DKMS tree.
------------------------------
Done.
Loading new bcmwl-5.60.48.36+bdcom DKMS files...
First Installation: checking all kernels...
Building only for 3.2.6
Building for architecture x86_64
Building initial module for 3.2.6
Error! Bad return status for module build on kernel: 3.2.6 (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/bcmwl/5.60.48.36+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:
bcmwl-kernel-source
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
but I said to myself "hey, whatever, lets keep going". After patching the file wl_cfg80211.o like you had said, I was still relieving the same errors as before:
Code:
root@bt:~/drivers# make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/linux-source-3.2.6'
WARNING: Symbol version dump /usr/src/linux-source-3.2.6/Module.symvers
is missing; modules will have no dependencies and modversions.
Wireless Extension is the only possible API for this kernel version
Using Wireless Extension API
LD /root/drivers/built-in.o
CC [M] /root/drivers/src/shared/linux_osl.o
CC [M] /root/drivers/src/wl/sys/wl_linux.o
/root/drivers/src/wl/sys/wl_linux.c:388: error: unknown field ‘ndo_set_multicast_list’ specified in initializer
/root/drivers/src/wl/sys/wl_linux.c:388: warning: initialization from incompatible pointer type
make[2]: *** [/root/drivers/src/wl/sys/wl_linux.o] Error 1
make[1]: *** [_module_/root/drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-source-3.2.6'
make: *** [all] Error 2
I even pressed on and tried this:
Code:
root@bt:~/drivers# apt-get --reinstall install bcmwl-kernel-source
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 28 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up bcmwl-kernel-source (5.60.48.36+bdcom-0ubuntu3) ...
Removing old bcmwl-5.60.48.36+bdcom DKMS files...
------------------------------
Deleting module version: 5.60.48.36+bdcom
completely from the DKMS tree.
------------------------------
Done.
Loading new bcmwl-5.60.48.36+bdcom DKMS files...
First Installation: checking all kernels...
Building only for 3.2.6
Building for architecture x86_64
Building initial module for 3.2.6
Error! Bad return status for module build on kernel: 3.2.6 (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/bcmwl/5.60.48.36+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:
bcmwl-kernel-source
E: Sub-process /usr/bin/dpkg returned an error code (1)
Please forgive me if I am making some kind of rookie mistake
. I would really like to learn backtrack but the incompatibility of my system is driving me crazy. Any help would be appreciated.