IOTstack
IOTstack copied to clipboard
VPN Issue?
Not sure if I am missing something but I have attempted to run the Script on Jessie, Strech and Buster and I am getting the same error :
gzip: stdin: unexpected end of file tar: Child returned status 1 tar: Error is not recoverable: exiting now chown: cannot access '/etc/openvpn/easy-rsa': No such file or directory mkdir: cannot create directory ‘/etc/openvpn/easy-rsa/pki’: No such file or directory main: line 825: cd: /etc/openvpn/easy-rsa: No such file or directory
What I have noticed is that the "/etc/openvpn/easy-rsa" file gets deleted if you mannually copy it ti the directory so maybe the script?
Hi Paul
I just uninstalled and reinstalled PiVPN with the standard curl -L https://install.pivpn.io | bash and i didn't encounter any errors. It could be because I had some residual files from before my install.
Could you please tell me what you did and I maybe I can reproduce it. I don't have any control over PiVPN but maybe I can help you identify what the problem is.
Hello Graham
Ok I tested again with a clean image. Now I would guess that this will only be applicable to us South Africans but it could be for some others as well. I have a Telkom 4G Roter (Huawei - B525s-65a) Commonly found and with Telkom starting to cansel most wire connections I would imagine it will become more and more here.
I installed all the Dockers and the went over to the VPN.
The problem is with the creation of the Static Ip via the script. It will create the Ip but it will not finish .
If you run sudo nano /etc/dhcpcd.conf you will find that the dns will look like this
static domain_name_servers=
Just change it to
static domain_name_servers=8.8.8.8 8.8.4.4 and Restart the process. All will be good with the world.
By the way you will also need to enable portforward with Telkom Mobile. This is done by chaging the Profile Management to a New Profile with the Profile Name and APN changed to unrestricted
else it will not work.
Hope it helps!
I am not sure that Docker and piVPN are compatible at all, to be honest. We are dealing with the issue here: https://github.com/pivpn/pivpn/issues/862
@surak I followed your pivpn issue, I'm busy testing mine and i don't get the same output as you. My connection goes through and stays open. This is the third time i've had docker alongside pivpn without issues.
how long roughly does it take for your system to go stale? Did you try the pivpn in a docker container?
I havent run pivpn with hass.io before only docker with my own containers
Mine doesn't connect at all. It shows the first attempt to connect and stays there. Now I'm out and my router is not responding, I'll try tonight