Page 1 of 1

Have to Manually Restart Daemon Almost Every Time Pi Boot

Posted: Sat Feb 15, 2020 6:32 pm
by rebeltaz
I have a Raspberry Pi Model B v1.2 running Raspbian Jessie 8.0 on which I have installed OpenVPN to run a PIA VPN. My setup works fine, but... when I first apply power to the Pi, everything boots up and you can check the running processes [ps -A] and see that OVPN is running. If I try to run [curl ifconfig.me] (or do anything internet related), however, I often have to manually restart OpenVPN with [sudo /etc/init.d/openvpn restart] before I can connect to the internet. (I have ufw running that blocks all traffic not through the VPN.) Once I have restarted the daemon, everything is fine until/unless the Pi reboots again. Occasionally, the net access willk work without having to restart OVPN, but more times than not, that is not the case.

Is there a reason that this might be happening and is there a way that I can fix this? I can provide any logs you need if you just tell me what you need. Thanks.

Re: Have to Manually Restart Daemon Almost Every Time Pi Boot

Posted: Tue Feb 18, 2020 12:04 am
by Za didi!
Check your routing table.

Re: Have to Manually Restart Daemon Almost Every Time Pi Boot

Posted: Tue Feb 18, 2020 12:33 am
by rebeltaz
Za didi! wrote:
Tue Feb 18, 2020 12:04 am
Check your routing table.
It seems stable. I mean, it's not wobbling or anything :)

Seriously, though... I don't know what that means or how to do it.