PDA

View Full Version : Monitor mode on macbook 2015 hardware in (kali) linux



laslooo
2015-10-25, 04:38
After installing Kali Linux on a USB Stick with persistence enabled and live booting it (via refind) on my macbook pro (late 2015) the wifi did not work. I found out how to install the right drivers (https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/plain/brcm/brcmfmac43602-pcie.bin) from git.kernel.org and this enabled using wifi.

Still monitor mode does not work.

When I try it with 'airmon -ng start wlan0' for example to get the interface into monitor mode, I get the following error.


phy0 wlan0 brcmfmac Broadcom Corporation Device 43ba (rev 01)
Failed to set wlan0mon up using ip
command failed: No such device (-19)

(mac80211 monitor mode vif enabled for [phy0]wlan0 on [phy0]wlan0mon)
command failed: Operation not supported (-95)
(mac80211 station mode vif disabled for [phy0]wlan0)

(After checking with iwconfig the interface is still in managed mode.)

According to this site (http://linuxwireless.org/en/users/Drivers/brcm80211/), if I got it right, (search for monitor mode) the brcmfmac driver, which I am using, does not support monitor mode yet.

Is it possible to find a way to make it work anyways?

Can I maybe use another driver instead? Or add support for monitor mode myself?

Thanks a lot, any help is really appreciated, because I am totally stuck.

( Chipset BCM43602 PCI Device ID 14e4:43ba Driver name brcmfmac43602-pcie.bin )

g0tmi1k
2015-10-25, 08:48
Broadcom are a pain.
Good chance they will never be supported.
A lot of internal cards are not supported.

This is one of the reasons why so many people use USB WiFi cards. There's already various threads with recommendataions.

laslooo
2015-10-27, 07:41
Hi, thanks for your answer. Since Macbooks are more and more common, dont you think there will be a chance it will get fixed in the future? What would need to be done to make the driver support monitor mode? I'm sure I'm by far not the only person that's affected.

g0tmi1k
2015-10-28, 09:39
Start here: http://www.aircrack-ng.org/doku.php?id=b43
And bare this in mind: http://www.aircrack-ng.org/doku.php?id=broadcom

laslooo
2015-10-30, 03:32
Start here: http://www.aircrack-ng.org/doku.php?id=b43
And bare this in mind: http://www.aircrack-ng.org/doku.php?id=broadcom

Hi mate, thanks for your answer.

I decided to buy a USB network interface to get around the problems, but have problems installing the drivers. Whenever I try to install them I get the following error.


make[1]: *** /lib/modules/4.0.0-kali1-amd64/build: No such file or directory. Stop.
Makefile:22: recipe for target 'all' failed
make: *** [all] Error 2

Could you please have a look at the thread I started about the problem (https://forums.kali.org/showthread.php?28117-Making-DLink-DWA-131-work)? I would be so grateful. I wanna enjoy kali linux, finally!