Block Ads in Mobile App with Pi-Hole

A generic look alike but diseased with Ads

How to Enable SSH and WiFi without Ethernet Access

  • Open the SD card
  • Go to /Volume/boot
  • Run touch ssh to create a file called “ssh” without any extensions. This enables you to ssh into your pi.
  • Run nano wpa_supplicant.conf paste the following into it. Update the SSID and Password.
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
ssid="your wifi name here"
psk="your passwork here"
  • Put the SD card back in and power up the raspberry pi. It takes a minute for the raspberry pi to come up.
  • I ran ping raspberrypi.local until I got a response
  • I ran ssh pi@raspberrypi.local which is like the coolest shortcut when it works. It automatically scans your network for connected raspberry pis. Didn’t work this time!
  • So I ran nmap -sn to scan my network for all connected devices. This nmap command scans the entire IP address for devices connected on this network. I found 9 devices on my network. I tried ssh-ing into all of them one by one until I found the pi-hole!
  • If you’re on a mac, you can find your IP mask but going to apple > System Preferences > Network. You’ll see this screen.
IP Mask is under “Status.” My laptop is so my mask starts at
  • Note: If you still can’t find the pi, double check the wpa_supplicant.conf file to make sure you got the SSID/Password right. Or write the file in /etc/wpa_supplicant/wpa_supplicant.conf and make sure the power is plugged into the pi all the way! Also, when you copy and paste, sometimes the double quotes “” get corrupted. Retype those.


So now, how do we get it running again? First, let’s check out the address. I go to “” and get redirected to a login page. The password is not the same as the raspberry pi password. If you don’t know it, reset the console password with asdf



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Juliana Mei

Juliana Mei

Software Engineer — Blockchain, Cybersecurity, and Commercial Space