Skip to content

Instantly share code, notes, and snippets.

View pingloop.sh
#!/bin/bash
# PINGLOOP with OS X wifi bugfix
# Will ping google.com or domain provided via parameter.
# Keep this running in background to monitor connection and fix automatically.
# By Carlos Navarro, with thanks to Kevin Ritchie for the wifi bugfix code.
# Bugfix code provided here: http://osxdaily.com/2015/10/16/fix-wi-fi-problems-mac-os-x-el-capitan/