alexanderglueck / internet-check

Checks for internet connectivity and restarts router after a grace period to restore connectivity.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Internet check

Checks for internet connectivity and restarts router after a grace period to restore connectivity.

Install

git clone https://github.com/alexanderglueck/internet-check.git
cd internet-check
composer install
npm install

Also make sure you have the chromium-browser installed.

Usage

Adjust the constants in src/InternetCheck.php and src/restart.js to change your credentials / settings.

Either set up a cronjob to run the init script every minute or manually call the script when your internet is down.

php check.php

Security

If you discover a security vulnerability within this application, please send an e-mail to Alexander Glück at security@alexanderglueck.at. All security vulnerabilities will be promptly addressed.

Please do not open an issue describing the vulnerability.

Maintainers

@alexanderglueck

Contribute

Feel free to dive in! Open an issue or submit PRs.

License

MIT

About

Checks for internet connectivity and restarts router after a grace period to restore connectivity.


Languages

Language:PHP 66.5%Language:JavaScript 33.5%