Hello forum,
I am a new guy trying to set kali linux on Pi 4 B 4gb and I didn't succeed to set onboard wifi to monitor mode and of course either tried frame injection.
I relied to that phrase on official page (https://www.kali.org/news/raspberry-pi-4-and-kali/) quote: "And now you can add to that list full Kali Linux support complete with on-board wifi monitor mode & frame injection support!"
Could you please tell me what I miss here and how I can make it work as it says?
I tried with images below:
kali-linux-2019.4-rpi3-nexmon-64.img
kali-linux-2019.4-rpi3-nexmon.img
kali-linux-2019.2a-rpi3-nexmon-64.img
kali-linux-2019.2a-rpi3-nexmon.img
kali-linux-2019.1-rpi3-nexmon.img
Sticky Fingers try to boot and stack on black screen
Images:
StickyFingers-Kali-Pi-armhf-rpi-190703.img
sticky_fingers_kali_pi_2019.2a_rpi2_rp3_2019.07.03 _berryboot.img
RIG: Raspberry 4 B with 4GB ram
ADATA Premium Pro 64GB microSDXC U3
Connections: miniHDMI port 0 (close to power port) to HDMI monitor
ethernet cable on a switch
Procedure:
Format microsd card to FAT32
unzip berryboot-20191005-pi4.zip to microsd
boot pi and format mmcblk0 with ext4 filesystem.
reboot
Add OS via smb (kali-linux-2019.4-rpi3-nexmon-64.img)
reboot
Boot OS
Login to Kali with GUI user:root pass:toor
So a clean installation is ready on my Pi4 and here the problems begin:
Trying to set monitor mode on wlan0:
Code:
~# iw phy phy0 interface add mon0 type monitor
command failed: Operation not supported (-95)
FAILED
Code:
~# iw phy `iw dev wlan0 info | gawk '/wiphy/ {printf "phy" $2}'` interface add mon0 type monitor
bash: gawk: command not found
~# apt install gawk
E: Unable to locate package gawk
~# apt-get update
~# apt install gawk
~# iw phy `iw dev wlan0 info | gawk '/wiphy/ {printf "phy" $2}'` interface add mon0 type monitor
command failed: Operation not supported (-95)
FAILED
Code:
~# airmon-ng check kill
Please install lspci from your destro's package manager.
~# apt-get install pciutils
~# airmon-ng check kill
PID Name
544 NetworkManager
635 dhclient
1355 wpa_supplicant
~# iw phy phy0 interface add mon0 type monitor
command failed: Operation not supported (-95)
~# iw phy `iw dev wlan0 info | gawk '/wiphy/ {printf "phy" $2}'` interface add mon0 type monitor
command failed: Operation not supported (-95)
~# airmon-ng start wlan0
command failed: Operation not supported (-95)
FAILED
So I make again a clean installation and try the below:
Code:
~# apt-get update && apt-get dist-upgrade -Vy && apt-get autoremove -y && apt-get autoclean && apt-get clean && reboot
after the update I tried again to set monitor mode
Code:
~# iw phy phy0 interface add mon0 type monitor
command failed: Operation not supported (-95)
FAILED
Code:
~# iw phy `iw dev wlan0 info | gawk '/wiphy/ {printf "phy" $2}'` interface add mon0 type monitor
bash: gawk: command not found
~# apt install gawk
E: Unable to locate package gawk
~# apt-get update
~# apt install gawk
~# iw phy `iw dev wlan0 info | gawk '/wiphy/ {printf "phy" $2}'` interface add mon0 type monitor
command failed: Operation not supported (-95)
FAILED
Code:
~# airmon-ng check kill
Please install lspci from your destro's package manager.
~# apt-get install pciutils
~# airmon-ng check kill
PID Name
544 NetworkManager
635 dhclient
1355 wpa_supplicant
~# iw phy phy0 interface add mon0 type monitor
command failed: Operation not supported (-95)
~# iw phy `iw dev wlan0 info | gawk '/wiphy/ {printf "phy" $2}'` interface add mon0 type monitor
command failed: Operation not supported (-95)
~# airmon-ng start wlan0
command failed: Operation not supported (-95)
FAILED
Tried to manual install nexmon as shown in this https://github.com/seemoo-lab/nexmon
FAILED to compile build tools and extract the ucode and flashpatches with an error about ccgcc
Tried to update re4son Kernel
FAILED error on make a backup file of /boot/"something" and then Pi4 not booting (I had to make all again from the start)