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

Troubleshooting • Freshly imaged SD for Zero2W won't connect to wifi

$
0
0
I used the Pi imager to create a fresh SD card with Ubuntu Server 24.04 for a Pi Zero 2W. The Pi boots up on it just fine and I can log in via connected keyboard and monitor, however, it does not connect to the wifi (A strictly 2.4 Ghz guest network I setup just for this project).

However, when I move that exact SD card to an old Pi 3 Model B V1.2, it connects to the wifi instantly.

I can see the difference between the two in the `cloud-init-output.log`.

Pi Zero 2 W

Code:

ci-info: +++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++ci-info: +--------+-------+-----------+-----------+-------+-------------------+ci-info: | Device |   Up  |  Address  |    Mask   | Scope |     Hw-Address    |ci-info: +--------+-------+-----------+-----------+-------+-------------------+ci-info: |   lo   |  True | 127.0.0.1 | 255.0.0.0 |  host |         .         |ci-info: |   lo   |  True |  ::1/128  |     .     |  host |         .         |ci-info: | wlan0  | False |     .     |     .     |   .   | 2c:cf:67:b4:e9:91 |ci-info: +--------+-------+-----------+-----------+-------+-------------------+ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++ci-info: +-------+-------------+---------+-----------+-------+ci-info: | Route | Destination | Gateway | Interface | Flags |ci-info: +-------+-------------+---------+-----------+-------+ci-info: +-------+-------------+---------+-----------+-------+
Pi 3 Model B

Code:

ci-info: +++++++++++++++++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++++++++++++++++++ci-info: +--------+-------+--------------------------------------------+-------------+--------+-------------------+ci-info: | Device |   Up  |                  Address                   |     Mask    | Scope  |     Hw-Address    |ci-info: +--------+-------+--------------------------------------------+-------------+--------+-------------------+ci-info: |  eth0  | False |                     .                      |      .      |   .    | b8:27:eb:ec:00:ca |ci-info: |   lo   |  True |                 127.0.0.1                  |  255.0.0.0  |  host  |         .         |ci-info: |   lo   |  True |                  ::1/128                   |      .      |  host  |         .         |ci-info: | wlan0  |  True |               192.168.1.109                | 255.255.0.0 | global | b8:27:eb:b9:55:9f |ci-info: | wlan0  |  True | fd9b:1de8:1420:68b1:ba27:ebff:feb9:559f/64 |      .      | global | b8:27:eb:b9:55:9f |ci-info: | wlan0  |  True |        fe80::ba27:ebff:feb9:559f/64        |      .      |  link  | b8:27:eb:b9:55:9f |ci-info: +--------+-------+--------------------------------------------+-------------+--------+-------------------+ci-info: ++++++++++++++++++++++++++++++Route IPv4 info++++++++++++++++++++++++++++++ci-info: +-------+-------------+-------------+-----------------+-----------+-------+ci-info: | Route | Destination |   Gateway   |     Genmask     | Interface | Flags |ci-info: +-------+-------------+-------------+-----------------+-----------+-------+ci-info: |   0   |   0.0.0.0   | 192.168.1.1 |     0.0.0.0     |   wlan0   |   UG  |ci-info: |   1   | 192.168.0.0 |   0.0.0.0   |   255.255.0.0   |   wlan0   |   U   |ci-info: |   2   | 192.168.1.1 |   0.0.0.0   | 255.255.255.255 |   wlan0   |   UH  |ci-info: +-------+-------------+-------------+-----------------+-----------+-------+ci-info: ++++++++++++++++++++++++++++++++++Route IPv6 info+++++++++++++++++++++++++++++++++++ci-info: +-------+--------------------------+---------------------------+-----------+-------+ci-info: | Route |       Destination        |          Gateway          | Interface | Flags |ci-info: +-------+--------------------------+---------------------------+-----------+-------+ci-info: |   0   | fd9b:1de8:1420:68b1::/64 |             ::            |   wlan0   |   Ue  |ci-info: |   1   |  fdb8:9698:d609:1::/64   | fe80::c652:7947:586c:fdfc |   wlan0   |  UGe  |ci-info: |   2   |        fe80::/64         |             ::            |   wlan0   |   U   |ci-info: |   4   |          local           |             ::            |   wlan0   |   U   |ci-info: |   5   |        multicast         |             ::            |   wlan0   |   U   |ci-info: +-------+--------------------------+---------------------------+-----------+-------+
Note that this is with the exact same physical SD card in both devices. I'm not changing any configuration between the two.

Any idea what the problem is?

Update:

Overwrote the SD card with "Raspberry Pi OS (64-BIT)". Basically the same problem. Plug it into the Zero, and it can't connect to wifi. Plug it into the Pi 3B, and it connects to wifi almost immediately after the desktop opens.

Statistics: Posted by JonnyG — Sun Jan 05, 2025 5:53 pm



Viewing all articles
Browse latest Browse all 4017

Trending Articles