Skip to content

A script that guards netplan-defined network connections. It checks internet connectivity and resets netplan if internet dropped

Notifications You must be signed in to change notification settings

gnothiseautonlw/guard-network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Guard-network

Guards netplan-defined network connections: It checks for internet connectivity and resets netplan if internet dropped. It stores a logfile in /var/log/guard-network.log

Install

cd /opt
sudo git clone https://github.com/gnothiseautonlw/guard-network.git
sudo chmod 700 guard-network.sh

Usage

Make a cronjob

sudo crontab -e

Add to the crontab file:

@reboot sleep 60 && /opt/guard-network/guard-network.sh

About

A script that guards netplan-defined network connections. It checks internet connectivity and resets netplan if internet dropped

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages