As Y4kuzi, I didnt understand the instructions perfectly, but i thought i had to download the .deb file from the last link, and then run dpkg -i. When I tried that, I got the following message:
Code:
Selecting previously unselected package bcmwl-kernel-source.
dpkg: regarding bcmwl-kernel-source_6.30.223.248+bdcom-0ubuntu2_amd64.deb containing bcmwl-kernel-source:
wireless-bcm43142-oneiric-dkms conflicts with bcmwl-kernel-source
bcmwl-kernel-source (version 6.30.223.248+bdcom-0ubuntu2) is to be installed.
dpkg: error processing bcmwl-kernel-source_6.30.223.248+bdcom-0ubuntu2_amd64.deb (--install):
conflicting packages - not installing bcmwl-kernel-source
Errors were encountered while processing:
bcmwl-kernel-source_6.30.223.248+bdcom-0ubuntu2_amd64.deb
I thought that package was left over by my previous attempts, so i removed it with apt-get remove.
Then I tried dpkg -i again, and got a similar message:
Code:
dpkg: regarding bcmwl-kernel-source_6.30.223.248+bdcom-0ubuntu2_amd64.deb containing bcmwl-kernel-source:
wireless-bcm43142-dkms conflicts with bcmwl-kernel-source
bcmwl-kernel-source (version 6.30.223.248+bdcom-0ubuntu2) is to be installed.
dpkg: error processing bcmwl-kernel-source_6.30.223.248+bdcom-0ubuntu2_amd64.deb (--install):
conflicting packages - not installing bcmwl-kernel-source
Errors were encountered while processing:
bcmwl-kernel-source_6.30.223.248+bdcom-0ubuntu2_amd64.deb
I thought the same thing as before, and did the same again.
After that i tried dpkg -i, and got this:
Code:
(Reading database ... 371283 files and directories currently installed.)
Unpacking bcmwl-kernel-source (from bcmwl-kernel-source_6.30.223.248+bdcom-0ubuntu2_amd64.deb) ...
Setting up bcmwl-kernel-source (6.30.223.248+bdcom-0ubuntu2) ...
Loading new bcmwl-6.30.223.248+bdcom DKMS files...
First Installation: checking all kernels...
Building only for 3.18.0-kali3-amd64
Building for architecture x86_64
Building initial module for 3.18.0-kali3-amd64
Done.
wl:
Running module version sanity check.
- Original module
- Found /lib/modules/3.18.0-kali3-amd64/updates/dkms/wl.ko
- Storing in /var/lib/dkms/bcmwl/original_module/3.18.0-kali3-amd64/x86_64/
- Archiving for uninstallation purposes
- Installation
- Installing to /lib/modules/3.18.0-kali3-amd64/updates/
depmod......
DKMS: install completed.
ERROR: could not insert 'wl': Invalid argument
I: update-initramfs is disabled (live system is running without media mounted on /lib/live/mount/medium).
I tried modprobe wl and got:
"ERROR: could not insert 'wl': Invalid argument"
Any ideas?
I also noticed that it said " - Installing to /lib/modules/3.18.0-kali3-amd64/updates/" so i checked and a wl.ko file does exist there.
(note that I am not very advanced when it comes to linux. I have been using it for a while now, but never got into things like drivers. All I know about this subject is what I managed to understand the last few days I have been trying to solve this problem)
(I am running kali 1.1.0a 64bit from a usb with persistence set-up)
UPDATE:
I tried installing this while running from the same usb but without persistence.
I connected with ethernet, run apt-get update and apt-get upgrade, then installed dkms (apt-get install dkms), then run dpkg -i and it worked. I then run modprobe wl, which didnt fail, then service network-manager restart, and it worked!
My guess right now is that it didnt work on the usb with persistence because of all the previous attempts I did there(probably something left behind by them interfered with it.)
I will setup the usb with persistence from scratch and see if it works.
UPDATE2:
I setup the usb again from scratch an it worked. Thanks.