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

  1. 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

转载于:https://www.cnblogs.com/lfzark/p/4231604.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值