VirusPilot / stratux-pi4

Stratux Europe on a Pi3, Pi4, Pi5 or Pi Zero 2 W based on a fresh 64bit RasPiOS Image
20 stars 6 forks source link

No WiFi on a pi zero 2w after boot up from fresh installation #19

Closed Vannue007 closed 8 months ago

Vannue007 commented 8 months ago

I’ve a working stratux setup with a Pi4 and was trying to make the setup more compact with a pi zero 2w setup. But I don’t have No WiFi on pi zero 2w after boot up from fresh successfull installation (without any screen or gps module plugged in) is this necessary? I just wanted to first install the pi zero 2w before continuing.

VirusPilot commented 8 months ago

I am not fully following what you want to achieve, what do you want to be different on the Pi Zero?

Vannue007 commented 8 months ago

So for clarification. We have a working setup fixed in the plane and I was building up a new pi zero 2w from scratch “Offline”, at home to replace the current pi4 with an older version of stratux to reduce the power load, so at home it’s without the sdr’s, GPS, as these are in the hangar with the plane and we don’t have it double.

During the build you state that “ after reboot please reconnect LAN and/or WiFi and Stratux should work right away” but then I don’t have a WiFi signal, when I connect a screen to the pi zero, I do see that the system has booted and is working. How can we enable the WiFi again? It looks like it’s disabled after the booting IMG_1557

VirusPilot commented 8 months ago

Ah, I see. I had tested my script with a Pi Zero 2W a while ago - let me try again and I will come back with my results.

VirusPilot commented 8 months ago

So I just finalized testing my script on a Pi Zero 2W and it works as expected and in particular WiFi is on and working. Please make sure that you follow all steps as described in my Readme:

after running my script:

Vannue007 commented 8 months ago

I’ve tried this with 2 new pi zero 2w’s with 2 different sd cards and with the “standard” & “viruspilot” script without success. When I reboot I still don’t get a “stratux” broadcast but I can see that the ip address is set correct. IMG_1561 IMG_1560

can you show the result if you type “iwconfig”? Just for troubleshooting. And do you have sdr’s connected or no peripherals like me?

thank you already for the help

VirusPilot commented 8 months ago

Correct, nothing connected:

pi@stratux-pi-zero:~ $ iwconfig lo no wireless extensions.

wlan0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=31 dBm
Retry short limit:7 RTS thr:off Fragment thr:off Power Management:off

ap0 IEEE 802.11 Mode:Master Tx-Power=31 dBm
Retry short limit:7 RTS thr:off Fragment thr:off Power Management:on

VirusPilot commented 8 months ago

This is how imager settings should look like (could not easily switch to english):

Bildschirmfoto 2023-11-17 um 10 43 10

Vannue007 commented 8 months ago

I’ve update the raspberry pi imager from version 1.75 to 1.80 and now it’s working. Thank you for the assistance on finding a solution!

VirusPilot commented 8 months ago

great, good to hear!