PDA

View Full Version : Headless Kali on RPi4...



4k3or3et
2020-05-20, 18:10
Hi Guys.

I am trying to setup headless Kali Linux on Raspberry Pi 4.

I was following the tutorial here:

https://www.raspberrypi.org/documentation/configuration/wireless/headless.md

to connect RPi to my WiFi by creating and putting wpa_supplicant.conf on boot partition. However RPi does not connect.

Is there any other way on Kali to setup fully headless RPi?

Thanks for any help.

blueburd
2020-08-24, 01:54
I'm currently pulling my hair out with the exact same issue. Did you ever find a solution??

steev
2020-08-24, 17:52
Unfortunately with Kali this will not work, you will need to either connect it via ethernet and use "nmtui" to connect it to a wifi network, or connect it to an actual monitor and connect it to a wifi network. It's something that I would like to get working in the future, but we use networkmanager, and raspbian does not, which is why it works for them. If someone wanted to work on doing the conversion of the raspbian stuff into what kali uses, and submit it as a pull request, that would be great, but for now, the 2 mentioned workarounds are required. Sorry.

chuy
2020-09-12, 13:56
Thanks steev for giving that bit of information. Now things makes sense. I got my wifi to work fine with networkmanager and able to ensure it connects on boot. But the built-in wifi on the RPi doesn't detect the 5.8Ghz. It only sees the 2.4GHz. Is that a limitation also of the current version of the Kali Linux distro?

thefugue
2020-10-09, 08:56
I have been looking for solution for the same thing for days now. I'm glad I stumbled upon this thread.

SidZ3R0
2021-01-10, 00:40
Thanks. So I'll have to wait till I get a keyboard, or mount the image and edit the configuration manually?

MrChilly
2021-02-22, 17:49
RPI0W here... I added a USB wifi dongle, installed hostapd/dnsmasq, and set wlan0 as an AP. That allows me to always have access, and I can ssh in and deal with the wifi if I need to connect.

angeluscross
2021-05-17, 02:21
I'm currently waiting to download the latest Kali image for my Pi before I try this (https://forums.kali.org/showthread.php?56814-Enabling-Remote-Desktop-and-SSH-access-to-Kali-(Updated-for-Kali-2020-4)) forum post method. I'll try to update in a day or so if it worked.

theglobalassociates
2021-05-18, 09:36
Thanks for sharing the info