my Omega2+ will "shut down". I can't access the Wifi AP and the LED is off.
If you find your board in the state you described again, before you do anything with it try probing the SPI lines with a logic analyzer. If you see activity it means that your Omega2+ suffered an unexpected reboot and the SoC primary bootloader is trying to load U-Boot using 3-byte addressing, but the SPI flash is still configured to use 4-byte addressing. (refer to Omega2 reboot for more info on this issue). If this is the case you have to power-cycle the board in order to get it to boot again (which resets the SPI flash addressing to 3-byte mode)
I have managed to reproduce these steps several times and so I'm documenting it. The trick as far as I can tell is that when you visit the spinning wifi-setup screen while you run the wifisetup steps in a ssh terminal window, it somehow manages to persist the changes correctly.
If you run into a changing WiFi issue... try this.
Power on your Onion Omega +2.
On your computer or laptop - switch your wireless connection to your device omega-####.local where #### represents the last four numbers of MAC address.
Once you are connected, you should be able to SSH onto the device:
Now you want to switch to a web browser at this time and open the following address:
You will be presented with a login, go ahead and login.
On the web-browser console, open "Settings" and then click on "WiFi-Settings", you will get the usual spinning circle (as described on this thread above).
While this is spinning, switch back to the SSH terminal and type
Follow instruction and pick the correct WiFi you want.
At the end, it will say "> Restarting wifimanager for changes to take effect".
Reconnect on your computer or laptop WiFi back to "omega-####.local" device.
SSH in if you're disconnected. If you use a keep-alive, you will be reconnected on the SSH terminal.
On the SSH terminal, issue the following command:
ifconfig | grep "inet addr"
This will display all the IP's used by your various devices on your network. You should an additional one like this.