Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7037

Beginners • settings if wifi doesn't work on the Raspberry Pi Zero 2 w

$
0
0
I recently had the problem that I did not get my Pizero 2 w into the WLAN after an installation via Rasberry Imager (32bit/64bit) lite os. I've tried a lot of different things and here's the right solution, forget the wpa_supplicant.conf etc. Here step by step:


I assume here that you are dealing with a standard secured network.

1. Step
(Enable wireless networking)


To do this, set the Wi-Fi country with the command line tool raspi-config. Run the following command:

Code:

sudo raspi-config
Use the arrow keys to select the menu item "Localization Options". Select the Wi-Fi Country option. Use the arrow keys to select the country from the drop-down list. Press Enter to select your country.

You should now have access to the wireless network. Then run the following command to check if your Wi-Fi radio is enabled:

Code:

nmcli radio wifi
If this command returns the text "enabled," you can configure a connection. If this command returns "disabled", try enabling Wi-Fi with the following command:

Code:

nmcli radio wifi on
2.Step
(Finding Networks)


To search for wireless networks, run the following command:

Code:

nmcli dev wifi list
You should see a similar output:

Code:

IN-USE BSSID SSID MODUS CHAN RATE SIGNAL BARS SICHERHEIT        90:72:40:1B:42:05 myNetwork Infra 132 405 Mbit/s 89 **** WPA2        90:72:42:1B:78:04 myNetwork5G Infra 11 195 Mbit/s 79 *** WPA2        9C:AB:F8:88:EB:0D Pi Towers Infra 1 260 Mbit/s 75 *** WPA2 802.1X        B4:2A:0E:64:BD:BE Beispiel Infra 6 195 Mbit/s 37 ** WPA1 WPA2
In the "SSID" column, look for the name of the network you want to connect to. Use your SSID and a password to connect to the network.

Hint: if several networks of yours appear, then look in the router to see which of the networks the 2nd Ghz network is, you can tell by the MAC address.

3.Step
(Connect to a network)


Run the following command to configure a network connection, replacing the <example_ssid> placeholder with the name of the network you’re trying to configure:

Code:

Run the following command to configure a network connection, replacing the <example_ssid> placeholder with the name of the network you’re trying to configure:
Enter your network password when prompted.

Your Raspberry Pi should automatically connect to the network once you enter your password.

If you see error output that claims that "Secrets were required, but not provided", you entered an incorrect password. Run the above command again, carefully entering your password.

To check if you’re connected to a network, run the following command:

Code:

nmcli dev wifi list
You should see output similar to the following:

Code:

IN-USE  BSSID              SSID            MODE   CHAN  RATE        SIGNAL  BARS  SECURITY*       90:72:40:1B:42:05  myNetwork       Infra  132   405 Mbit/s  89      ****  WPA2        90:72:42:1B:78:04  myNetwork5G     Infra  11    195 Mbit/s  79      ***   WPA2        9C:AB:F8:88:EB:0D  Pi Towers       Infra  1     260 Mbit/s  75      ***   WPA2 802.1X        B4:2A:0E:64:BD:BE  Example         Infra  6     195 Mbit/s  37      **    WPA1 WPA2
Check for an asterisk (*) in the "IN-USE" column; it should appear in the same row as the SSID of the network you intended to connect to.


Have funthat your network is now working again, this step goes in my opinion with all Raspberry Pi's.

Greetings Rukia385

Statistics: Posted by rukia385 — Mon Jul 21, 2025 7:27 am — Replies 3 — Views 109



Viewing all articles
Browse latest Browse all 7037

Trending Articles