How to Find the Current Raspberry Pi Wi-Fi Network Name (SSID)
What you'll need
This short guide will show you how to list the network name (SSID) for the active wireless (Wi-Fi) network your Raspberry Pi is connected to.
1 – Open the Raspberry Pi command line
To figure out which network your Raspberry Pi is connected to, you’ll need to access the command line. To do this, you can either SSH in from your main computer or connect a keyboard, mouse, and monitor to your Pi.
How to Connect to a Raspberry Pi Remotely via SSH
The preferred (and most common) method of connecting to your Pi to run commands.
2 – Use the iwgetid utility
Run the following command to return the network name, or SSID, the Wi-Fi network that your Pi is connected to:
iwgetid is similar to the
iwconfig utility you may have used before, except that its output is easier to parse.
How to Forget a Saved Wi-Fi Network on Your Raspberry Pi
Learn how to remove a saved wireless network in about a minute.