Всю голову уже перелома, выручайте. Spoiler: Сборка Code: root@kali:~# cat/proc/version bash: cat/proc/version: No such file or directory root@kali:~# cat /proc/version Linux version 4.0.0-kali1-686-pae ([email protected]) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Debian 4.0.4-1+kali2 (2015-06-03) root@kali:~# clear [3;J root@kali:~# cat /proc/version Linux version 4.0.0-kali1-686-pae ([email protected]) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Debian 4.0.4-1+kali2 (2015-06-03) root@kali:~# lsb_release -a No LSB modules are available. Distributor ID: Kali Description: Kali GNU/Linux 2.0 Release: 2.0 Codename: sana wlan: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01) На многих форумах ссылаются на статью http://www.chokepoint.net/2014/04/installing-broadcom-bcm43142-drivers-on.html У меня после выполнения sh выдает следующее: Spoiler: спойлер Code: root@kali:~# sudo ./bcm43142_drivers.sh Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest version. linux-headers-4.0.0-kali1-686-pae is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. --2015-11-08 18:54:07-- http://www.broadcom.com/docs/linux_sta/hybrid-v35-nodebug-pcoem-6_30_223_141.tar.gz Resolving www.broadcom.com (www.broadcom.com)... 63.251.216.155 Connecting to www.broadcom.com (www.broadcom.com)|63.251.216.155|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1735911 (1.7M) [application/x-gzip] Saving to: ‘hybrid-v35-nodebug-pcoem-6_30_223_141.tar.gz’ hybrid-v35-nodebug- 100%[=====================>] 1.66M 402KB/s in 4.2s 2015-11-08 18:54:12 (402 KB/s) - ‘hybrid-v35-nodebug-pcoem-6_30_223_141.tar.gz’ saved [1735911/1735911] Makefile lib/ lib/wlc_hybrid.o_shipped lib/LICENSE.txt src/ src/shared/ src/shared/linux_osl.c src/shared/bcmwifi/ src/shared/bcmwifi/include/ src/shared/bcmwifi/include/bcmwifi_channels.h src/shared/bcmwifi/include/bcmwifi_rates.h src/include/ src/include/typedefs.h src/include/bcmdefs.h src/include/bcmendian.h src/include/linuxver.h src/include/wlioctl.h src/include/bcmutils.h src/include/osl.h src/include/linux_osl.h src/include/packed_section_end.h src/include/packed_section_start.h src/include/pcicfg.h src/include/epivers.h src/common/ src/common/include/ src/common/include/proto/ src/common/include/proto/ethernet.h src/common/include/proto/bcmeth.h src/common/include/proto/bcmip.h src/common/include/proto/bcmevent.h src/common/include/proto/ieee80211_radiotap.h src/common/include/proto/802.11.h src/common/include/proto/802.1d.h src/common/include/proto/wpa.h src/wl/ src/wl/sys/ src/wl/sys/wl_cfg80211_hybrid.c src/wl/sys/wl_export.h src/wl/sys/wl_dbg.h src/wl/sys/wlc_key.h src/wl/sys/wlc_ethereal.h src/wl/sys/wl_linux.c src/wl/sys/wl_linux.h src/wl/sys/wl_cfg80211_hybrid.h src/wl/sys/wl_iw.c src/wl/sys/wl_iw.h src/wl/sys/wlc_types.h src/wl/sys/wlc_pub.h src/wl/sys/wlc_utils.h --2015-11-08 18:54:12-- http://www.mindwerks.net/wp-content/uploads/2013/10/wl_3.10.patch Resolving www.mindwerks.net (www.mindwerks.net)... 192.81.217.188 Connecting to www.mindwerks.net (www.mindwerks.net)|192.81.217.188|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2916 (2.8K) [application/octet-stream] Saving to: ‘wl_3.10.patch’ wl_3.10.patch 100%[=====================>] 2.85K --.-KB/s in 0s 2015-11-08 18:54:20 (147 MB/s) - ‘wl_3.10.patch’ saved [2916/2916] patching file src/wl/sys/wl_linux.c Hunk #1 succeeded at 3236 (offset 7 lines). Hunk #2 succeeded at 3254 (offset 7 lines). Hunk #3 succeeded at 3417 (offset 7 lines). Hunk #4 succeeded at 3447 (offset 7 lines). Hunk #5 succeeded at 3483 (offset 7 lines). KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` make[1]: Entering directory '/usr/src/linux-headers-4.0.0-kali1-686-pae' CFG80211 API is prefered for this kernel version Using CFG80211 API LD /root/broadcom/built-in.o CC [M] /root/broadcom/src/shared/linux_osl.o CC [M] /root/broadcom/src/wl/sys/wl_linux.o /root/broadcom/src/wl/sys/wl_linux.c: In function ‘wl_alloc_linux_if’: /root/broadcom/src/wl/sys/wl_linux.c:1348:64: error: macro "alloc_netdev" requires 4 arguments, but only 3 given dev = alloc_netdev(sizeof(priv_link_t), intf_name, ether_setup); ^ /root/broadcom/src/wl/sys/wl_linux.c:1348:8: error: ‘alloc_netdev’ undeclared (first use in this function) dev = alloc_netdev(sizeof(priv_link_t), intf_name, ether_setup); ^ /root/broadcom/src/wl/sys/wl_linux.c:1348:8: note: each undeclared identifier is reported only once for each function it appears in /root/broadcom/src/wl/sys/wl_linux.c: In function ‘wl_dump_ver’: /root/broadcom/src/wl/sys/wl_linux.c:2041:3: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time] __DATE__, __TIME__, EPI_VERSION_STR); ^ /root/broadcom/src/wl/sys/wl_linux.c:2041:13: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time] __DATE__, __TIME__, EPI_VERSION_STR); ^ cc1: some warnings being treated as errors /usr/src/linux-headers-4.0.0-kali1-common/scripts/Makefile.build:263: recipe for target '/root/broadcom/src/wl/sys/wl_linux.o' failed make[4]: *** [/root/broadcom/src/wl/sys/wl_linux.o] Error 1 /usr/src/linux-headers-4.0.0-kali1-common/Makefile:1407: recipe for target '_module_/root/broadcom' failed make[3]: *** [_module_/root/broadcom] Error 2 Makefile:145: recipe for target 'sub-make' failed make[2]: *** [sub-make] Error 2 Makefile:8: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.0.0-kali1-686-pae' Makefile:136: recipe for target 'all' failed make: *** [all] Error 2 cp: cannot stat ‘wl.ko’: No such file or directory rmmod: ERROR: Module bcma is not currently loaded modprobe: FATAL: Module wl not found. Голова просто не варит. Как быть?
кстати точно такая же карта на ноуте. На ubuntu и kubuntu работала, а на wifislax не работала. kali ещё не пробовал. Может как то драйвера с ubuntu выдрать?
Посмотрите, я отписывался по bcm43142 здесь (Kali2): http://forum.antichat.ru/threads/432209/#post-3911048 Впрочем, если Вы ищете вардрайвинга, его в этой карточке нема, только для обычного пользования...если не считать извращения с переводом в некий псевдо-монитор prism0 с PWR=2 всех сигналов... Можно при этом даже словить хендшейк метрах в 3 от источника, проверено лично))