Results 1 to 10 of 10

Thread: Headless Kali on RPi4...

  1. #1
    Join Date
    2020-May
    Posts
    1

    Headless Kali on RPi4...

    Hi Guys.

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

    I was following the tutorial here:

    https://www.raspberrypi.org/document...ss/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.

  2. #2
    Join Date
    2020-Aug
    Posts
    2
    I'm currently pulling my hair out with the exact same issue. Did you ever find a solution??

  3. #3
    Join Date
    2014-Feb
    Posts
    309
    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.

  4. #4
    Join Date
    2020-Sep
    Posts
    2
    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?

  5. #5
    Join Date
    2020-Oct
    Posts
    2
    I have been looking for solution for the same thing for days now. I'm glad I stumbled upon this thread.

  6. #6
    Join Date
    2021-Jan
    Posts
    1
    Thanks. So I'll have to wait till I get a keyboard, or mount the image and edit the configuration manually?

  7. #7
    Join Date
    2021-Feb
    Posts
    1
    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.

  8. #8
    Join Date
    2020-Jun
    Location
    Dimension C-137
    Posts
    7
    I'm currently waiting to download the latest Kali image for my Pi before I try this forum post method. I'll try to update in a day or so if it worked.
    Time is precious. Waste it wisely.

    Just because something is illegal, doesn't make it wrong.
    Just because something is legal, doesn't make it right.

  9. #9
    Join Date
    2021-May
    Location
    Hyderabad
    Posts
    1

  10. #10
    Join Date
    2021-Oct
    Posts
    4
    Quote Originally Posted by SidZ3R0 View Post
    Thanks. So I'll have to wait till I get a keyboard, or mount the image and edit the configuration manually?
    You don't need a keyboard and monitor. Once you have put the image on the SD card go into the boot directory and create an empty file called ssh
    That will enable ssh so you can plug into Ethernet and ssh to the PI.
    From there I update and upgrade then install xrdp so I can access the gui.
    It is still an annoyance to me that I can't get the wpa_supplicant to work despite all the online blogs that says it does.

Similar Threads

  1. Kali 2021.1 boot from USB on RPi4 8GB model
    By roadrunner64 in forum ARM Archive
    Replies: 1
    Last Post: 2021-08-23, 19:18
  2. kali rpi4 problem hotspot wifi speed
    By emmgr23 in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2021-06-10, 09:13
  3. RPI4 USB Boot for Kali
    By jsciamms in forum Installing Archive
    Replies: 0
    Last Post: 2020-07-08, 01:35
  4. kali on rpi4 not working correctly
    By rowellsa in forum ARM Archive
    Replies: 0
    Last Post: 2019-11-14, 06:32

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •