Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VPN Issue? #21

Open
Paulf007 opened this issue Oct 28, 2019 · 5 comments
Open

VPN Issue? #21

Paulf007 opened this issue Oct 28, 2019 · 5 comments

Comments

@Paulf007
Copy link
Contributor

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?

@gcgarner
Copy link
Owner

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.

@Paulf007
Copy link
Contributor Author

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!

@surak
Copy link

surak commented Nov 12, 2019

I am not sure that Docker and piVPN are compatible at all, to be honest. We are dealing with the issue here: pivpn/pivpn#862

@gcgarner
Copy link
Owner

@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

@gcgarner gcgarner reopened this Nov 12, 2019
@surak
Copy link

surak commented Nov 12, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants