I have a system where I apply power to P-Star (running on a Pi 3) and a cellular hotspot at the same time. The problem is that the OS attempts to set up a WiFi connection before the cellular hotspot is fully online and thus ends up in an unconnected state (unless separately power-cycled again after the cellular modem is available.) What I need is a way to pause the WiFi connection process for perhaps 30 seconds to allow time for the cellular hotspot to come up.
I realize that there are probably serveral ways to accomplish this (as is usual with Linux) but I'm not that familiar with the Pi-flavor of the OS and wondering if anyone has any suggestions as to the best way to implement the delay.
Thanks
Best way to delay WiFi login?
Re: Best way to delay WiFi login?
raspi-config would have been an easy way to do it, not sure why that does not seem to be included in the Pi-Star distribution. In the end I decided the easiest solution was to just use a startup script that pings the Internet and if failure then restarts wlan0 after 60 seconds, that seems to work fine. Sometimes old school is best I suppose.