Skip to content

A simple script that resets a network interface if Internet connection is lost

Notifications You must be signed in to change notification settings

ssinyagin/wireless_watchdog

Repository files navigation

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 <[email protected]>

About

A simple script that resets a network interface if Internet connection is lost

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages