Broadcom 43228 Kali Linux Ubuntu

1 .Add Source

Add in /etc/apt/sources.list
deb http://http.kali.org/kali kali main non-free contrib
deb-src http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free

apt-get update && apt-get dist-upgrade

aptitude update && aptitude install wireless-tools

aptitude install firmware-b43-lpphy-installer

3.reboot your computer

sudo apt-get install linux-source

http://tcshare.org/category/security_assessment/

http://ubuntuforums.org/showthread.php?t=2216779&page=2

you need to edit the file
Code:

/usr/src/bcmwl-6.30.223.141+bdcom/src/wl/sys/wl_cfg80211_hybrid.c

Goto to line number 1844. It should look like this

Code:

cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, GFP_KERNEL);

Delete that line and add these lines in its place.

Code:

if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)

cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, &wl->conf->channel, GFP_KERNEL);

else

    cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, GFP_KERNEL);

endif

Save the file and then you need to build it (this assumes you are using the generic kernel and not the low-latency kernel. Change the commands below if required).

Code:

sudo dkms build -m bcmwl/6.30.223.141+bdcom -k 3.15.0-031500rc1-generic

After you have built it you need to install it.

Code:

sudo dkms install -m bcmwl/6.30.223.141+bdcom -k 3.15.0-031500rc1-generic

Finally load the module.

Code:

sudo modprobe wl

sudo dkms build -m bcmwl/6.30.223.141+bdcom -k 3.14-kali1-686-pae
sudo dkms install -m bcmwl/6.30.223.141+bdcom -k 3.14-kali1-686-pae

http://zh-cn.broadcom.com/docs/linux_sta/README_6.30.223.248.txt

apt-get install linux-headers-3.14-kali1-686-pae (this version must be same to the kernel version)

apt-get install build-essential linux-headers-generic

apt-get build-dep linux

To check to see if you have this directory do this:

ls /lib/modules/uname -r/build

if you have the file you will succeed

then modify the file /usr/src/bcmwl-6.30.223.141+bdcom/src/wl/sys/wl_cfg80211_hybrid.c

download link : https://launchpadlibrarian.net/153109260/bcmwl-kernel-source_6.30.223.141%2Bbdcom-0ubuntu1_i386.deb

posted @ 2015-01-18 11:47  阿刻  阅读(948)  评论(0编辑  收藏  举报