A simple script that resets a network interface if Internet connection is lost
Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
install_wireless_watchdog.sh
uninstall_wireless_watchdog.sh
wireless_watchdog

README

Wireless network watchdog
=========================

This is a simple script that resets a network interface if the Internet
connection stops working. This is usually needed in wireless networks if
the WLAN or 3G client needs to re-connect in order to continue the
service.

The default cronjob launches the watchdog script every 2 minutes, and it
pings 8.8.8.8 with 10 packets. if none of them were replied, the default
NIC is brought down and then up again.

Installation
------------

wget -q --no-check-certificate -O - \
https://raw.githubusercontent.com/ssinyagin/wireless_watchdog/master/install_wireless_watchdog.sh | sh 


Uninstalling
------------

wget -q --no-check-certificate -O - \
https://raw.githubusercontent.com/ssinyagin/wireless_watchdog/master/uninstall_wireless_watchdog.sh | sh 



Author
------
Copyright (c) 2016 Stanislav Sinyagin <ssinyagin@k-open.com>