Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.
/ vpn-auto-reconnect Public archive

A simple bash script that can be ran on a cron to check if a network inteface managed by NetworkManager is up.

Notifications You must be signed in to change notification settings

ndrut/vpn-auto-reconnect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

vpn-auto-reconnect

A simple bash script for keeping an interface up, such as a vpn.

At the time of this writing, there's no known reconnection daemon or option for Fedora or the NetworkManager service that I can find. You can specify to "auto connect" however, that's not the same as reconnecting.

You can take this simple script and add a cron like:

*/5 * * * * /usr/bin/vpn-auto-reconnect >> /var/log/messages 2>&1

Feel free to fork/merge request if for some reason you want to make this better. ;)

About

A simple bash script that can be ran on a cron to check if a network inteface managed by NetworkManager is up.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages