So, when I do a fresh image SD and drop it in, I always need to plug it into a physical network port in order to go in and set the Wifi country code, before I am able to connect it to Wifi. It would be great if that could be exposed on the device.
Sounds like a feature request to add to the issue tracker.
Done. cheers, I really shoulda known that lol
Had an interesting little adventure this morning - I decided to try, right after burning the image, mounting the card and adding the country code to the wpa_supplicant.conf.
That one didn’t work - that screen not coming on problem. I am not certain that my modifying the conf file was the reason why, at this point, cause it happened again with a fresh card. Might be a loose connector inside there.
Anyways, I then did some research and noticed that that file is not what raspi-config changes when you set the code in there - it would be the iw reg set command it uses, so not the easiest thing to just go into the card and modify.
But I also noticed that it added to the end of /boot/firmware/cmdline.txt I think is the file, “to make the setting persist across boots,” so I tried adding that to a fresh zynthian image, but this time, /boot/firmware it seems, is empty when you first burn it, but /boot/firmware.bak is not, so I put it in that cmdline.txt, just for shits and giggles, and it kinda worked - I was able, after booting the unit up, to connect to the 5GHz band of my wiffy - not the 2.4G which is what I usually use, that was not present as a choice.
Nonetheless I was able to ssh in from there and set the country, without having to plug it in. So it seems I (and anyone else who needs to set their country code) can modify that file right after burning their fresh SD card, and will be able to connect to 5GHz wifi and get stuff going, as long as there’s 5GHz wifi available.
edit: If there was a way to execute a shell command from the admin menu, iw reg set XX is pretty easy. I imagine that if I plugged a keyboard in I could access a shell with ctrl-alt-Fx but have not tested that yet.