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

wonka929/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/wonka929/wireless_watchdog/master/install_wireless_watchdog.sh | sudo sh 


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

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



Author
------
Copyright (c) 2016 Stanislav Sinyagin <[email protected]>


Modified by Francesco Manghi 2018

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

  • Shell 100.0%