Have to Manually Restart Daemon Almost Every Time Pi Boot

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
rebeltaz
OpenVpn Newbie
Posts: 2
Joined: Sun Mar 17, 2019 2:43 am

Have to Manually Restart Daemon Almost Every Time Pi Boot

Post by rebeltaz » Sat Feb 15, 2020 6:32 pm

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.

Za didi!
OpenVpn Newbie
Posts: 3
Joined: Mon Feb 17, 2020 11:57 pm

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

Post by Za didi! » Tue Feb 18, 2020 12:04 am

Check your routing table.

rebeltaz
OpenVpn Newbie
Posts: 2
Joined: Sun Mar 17, 2019 2:43 am

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

Post by rebeltaz » Tue Feb 18, 2020 12:33 am

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.

Post Reply