Hi all,
I am new to kali linux and i would like some help with the following. I have already searched a lot but haven't found something to assist me unfortunately. I have bought a RPI0w and have installed in a sd card the kali linux build from Re4son.
ARMEL (Pi 1/Zero/Zero W) https://whitedome.com.au/re4son/down...-armel-re4son/
(SHA1: 7d1e7cc52c662dff7d1ea6e2aedc3c8f8a16a78a))
What i am after is for the Pi to be able to automatically connect to various WiFi networks (not simultaneously of course), provided that i have stored in advance the wifi credentials. Please note:
I have already configured my interfaces file as per the below for 1 wifi network and it is working fine, but what i am really after is to somehow store a list of known WiFi networks (and their credentials) and connect to them automatically each time my Pi finds them. As an example, with the following interfaces config, my Pi automatically connects to my home's WiFi mentioned below (myssid_1, mypass_1), but how can i configure it to connect automatically to my office's wifi (myssid_2, mypass_2) as well, when i boot it there, without having to manually change the wifi credentials each time i change location?
I have actually managed to achieve this only with a Raspbian Stretch in a different sd card, by configuring the wpa_supplicant.conf file with {Network 1}, {Network 2} etc, but this approach doesn't seem to work under the Kali linux distribution. Any help (with some details if possible please!) would be highly appreciated!
Related lines in "/etc/network/interfaces" in Kali linux (working for 1 wifi)
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
wpa-ssid <myssid_1>
wpa-psk <mypass_1>
Thank you in advance!