Skip to content

Instantly share code, notes, and snippets.

@konsumer
Last active October 10, 2022 04:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save konsumer/247ca5e0ef0e5fe4c921360a41dbecea to your computer and use it in GitHub Desktop.
Save konsumer/247ca5e0ef0e5fe4c921360a41dbecea to your computer and use it in GitHub Desktop.
Install Kali on GPI2

GPi 2 with Kali

wifi

My CM4 doesn't have wifi, so I tried with a couple devices:

Both support monitor-mode and injection. I'm not sure, but I think kali's extended kernel has support for them buit in, but it also doesn't have Gpi2 LCD support.

To check that it's working:

sudo apt install aircrack-ng

sudo airmon-ng check kill
sudo ip link set wlan0 down
sudo iw dev wlan0 set type monitor

regular kali, HDMI

WARNING: I couldn't get this to work with LCD patches, so I switched to PiOS + kali packages

PiOS + Kali packages

  • Install pi os lite (64bit), setup wifi, ssh & first user in Raspberry Pi Imager
  • add LCD patches (use the retroarch folder)
  • Install safe shutdown script
  • Hold the kernel with sudo apt-mark hold raspberrypi-kernel
  • add deb http://http.kali.org/kali kali-rolling main contrib non-free to /etc/apt/sources.list
  • sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys ED444FF07D8D0BF6
  • sudo apt update && sudo apt-get dist-upgrade If it asks, Choose "Y" to install the package-mantainer's version every time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment