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

Beginners • Re: Running a program on start up and after connecting to the internet

$
0
0
Have your code ping Google. As soon as it can ping, you have internet, as soon as the ping fails, you have no Internet. It can do stuff while the ping works and stops when the ping fails and wait until the ping succeeds again.

There are a million different ways to do this.

Statistics: Posted by memjr — Sun Sep 29, 2024 11:55 pm



Viewing all articles
Browse latest Browse all 5462

Trending Articles