A simple script that resets a network interface if Internet connection is lost
Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README author Apr 2, 2016
install_wireless_watchdog.sh better logging Apr 2, 2016
uninstall_wireless_watchdog.sh uninstaller Apr 2, 2016
wireless_watchdog better logging Apr 2, 2016

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>