You are not logged in.

#1 2013-12-12 11:45:01

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

NetworkManager dispatcher

I am using a script to connect automatically to a vpn when I plug the ethernet cable. The script also reconnects when the vpn connection falls down.

Sometime it happens I want to disconnect manually and the script promptly reconnects. It is possible to know what caused a disconnection?

Offline

#2 2013-12-15 12:26:53

fasza2mobile
Member
Registered: 2013-11-03
Posts: 29

Re: NetworkManager dispatcher

Perhaps you could have a flag(it could be in a separate txt file) in your script wether you want it to automatically connect or not, make another script that starts/stops your VPN and sets the flag accordingly, use this script to stop and start your vpn. I don't know the answer to your question, but this would be an easy hack.

Offline

#3 2013-12-17 15:31:03

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Re: NetworkManager dispatcher

Sounds a good idea

Offline

Board footer

Powered by FluxBB