Skip to content

Instantly share code, notes, and snippets.

@bazzooka
Created April 29, 2015 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bazzooka/3051900a5b002bb20d21 to your computer and use it in GitHub Desktop.
Save bazzooka/3051900a5b002bb20d21 to your computer and use it in GitHub Desktop.
Script wait for wifi
@echo on
:waitloop
echo Waiting for wireless....
Ping 127.0.0.1 -n 2 > nul
ipconfig |find /i "192.168.0.1" >nul
if errorlevel 1 goto waitloop
:connected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment