Hi everyone!
I'm having a slight issue with my VPN connection failing to connect, due this error: "Jan 1 02:43:58 openvpn[1386]: RESOLVE: Cannot resolve host address: sweden.privateinternetaccess.com: Name or service not known".
I use the feature to block all connection if the VPN fails, the router is setup to reboot every day at 4am, which is where the error comes up all the time..
So almost every day i start with no connection, it's easily fixed though by turning the service state of the client off and then on again. But i'd rather not have to go into the router setup each day to fix my connection.
I was wondering if it's possible to add a turn off/turn on cron job for the service state? Or maybe make script somehow, to check for this error and fix it, maybe?
Or perhaps there are another, better way to handle this?
Thanks.
I'm having a slight issue with my VPN connection failing to connect, due this error: "Jan 1 02:43:58 openvpn[1386]: RESOLVE: Cannot resolve host address: sweden.privateinternetaccess.com: Name or service not known".
I use the feature to block all connection if the VPN fails, the router is setup to reboot every day at 4am, which is where the error comes up all the time..
So almost every day i start with no connection, it's easily fixed though by turning the service state of the client off and then on again. But i'd rather not have to go into the router setup each day to fix my connection.
I was wondering if it's possible to add a turn off/turn on cron job for the service state? Or maybe make script somehow, to check for this error and fix it, maybe?
Or perhaps there are another, better way to handle this?
Thanks.