Context: I'm trying to set up pihole as per these two tutorials. I'm using a Raspberry Pi Zero W.
I created an SSH file which I added to the sd card. I also created a wpa_supplicant.conf file as per the instructions here, which I then copied to the sd card. I then put it into the pi and hooked it up to power, which should've sufficed for it to connect to wifi. However, when running nmap -sn, the Pi is nowhere to be found (the devices that show up, which are probably two phones, my computer, and the router itself, refuse my attempts to ssh into them). Does this mean that the Pi is not connected to the network?
Due to presumably unrelated reasons, I'm not able to access my router via my browser. I can reset it to factory settings, which wouldn't be too annoying, but I'm concerned about the pre existing wpa_supplicant.conf file. Assuming I reset the router, create a new network, and make a new wpa_supplicant.conf file, will it overwrite the preexisting one? Moreover, is it possible to navigate to the .conf file through my laptop using a card reader? It would be nice to check whether I actually inputted the correct information. My attempts so far have proven futile.
For reference, I made my wpa_supplicant file cd ing into my Desktop, writing touch in my terminal, opening the file in TextEdit, and writing:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=AS
network={
ssid="<network_name>"
psk="password"
}
I then saved and dragged the file into my sd card.
Thanks in advance!