[raspberry-vi] Re: Install Kali on Pi 4

  • From: Alberto Buffolino <a.buffolino@xxxxxxxxx>
  • To: raspberry-vi@xxxxxxxxxxxxx
  • Date: Tue, 22 Mar 2022 13:13:05 +0100

Hi,
thanks to all for suggestions.
I have got all working now; I have done something wrong in previous 
steps; I report here for sharing knowledge:
- I completely erased the MicroSD via SD Card Formatter on Windows (but 
a quick format should be sufficient, usually):
https://www.sdcard.org/downloads/formatter/
- I extracted the image file from the official .xz archive using 7Zip;
- I wrote the kali-xxx.img to MicroSD (on unit F:) using 
CommandLineDiskImager:
https://github.com/davidferguson/CommandLineDiskImager/releases
CommandLineDiskImager kali-xxx.img F
- I opened the unit labelled "Boot" in file explorer, and created an 
empty text file called "ssh" (without extension) and another called 
"wpa_supplicant.conf" with this (sample) content:
country=IT
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
        ssid="xxx"
        psk="xxx"
        key_mgmt=WPA-PSK
        priority=1
}
Obviously, change country (two-letters), ssid (network name) and psk 
(network password) according to your situation.
Finally, wait two minutes or so and connect to your Kali Pi, i.e. with:
ssh kali@kali-raspberry-pi
in a command prompt or in your preferred way (kali and kali-raspberry-pi 
are the default user and default network name, respectively).
Enjoy! :)
Alberto
=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

Other related posts: