wireguard issue after upgrade Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
przemko
Posts: 252
Joined: Sun Mar 15, 2020 5:40 pm

Re: wireguard issue after upgrade

Post by przemko »

No, I cannot connect with VPN tunnel. Also I have to plug off my Rpi to make it work because I cannot connect with ssh in local address.

Edit. Now even I disable wireguard I have internet test failture in dietpi-config.

Regards.
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: wireguard issue after upgrade

Post by Joulinar »

what do you mean you need to plug off the RPi? And pls put aside the internet connection test. Just do a simple ping to an internet address like google.com to see if it's working or not.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
przemko
Posts: 252
Joined: Sun Mar 15, 2020 5:40 pm

Re: wireguard issue after upgrade

Post by przemko »

Hi, I disable wireguard, change DNS to google and I have internet working. Then I reinstall wireguard. First after reboot everything works super slow but after few minutes everything is working OK. I'm afraid after some time it will be broken again. I will ask for help then.

Regards.
przemko
Posts: 252
Joined: Sun Mar 15, 2020 5:40 pm

Re: wireguard issue after upgrade

Post by przemko »

Hi @Joulinar everything works great until today. I make some apt upgrade and after reboot my Dietpi stop working. I cannot ssh. I must plug off and then turn it on but wireguard not working. Also internet connections:

Code: Select all

ping: google.com: Temporary failure in name resolution
Regards.
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: wireguard issue after upgrade

Post by Joulinar »

DNS doesn't seems to be working.

Code: Select all

Temporary failure in name resolution
What DNS you are using?

Code: Select all

cat /etc/resolv.conf
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
przemko
Posts: 252
Joined: Sun Mar 15, 2020 5:40 pm

Re: wireguard issue after upgrade

Post by przemko »

I set Google's DNS before reinstall wireguqrd and everything was OK

Code: Select all

dietpi@DietPi:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 8.8.8.8
nameserver 8.8.4.4
dietpi@DietPi:~$
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: wireguard issue after upgrade

Post by Joulinar »

Is the Wireguard client active? If yes, stop it and try to ping google.com
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
przemko
Posts: 252
Joined: Sun Mar 15, 2020 5:40 pm

Re: wireguard issue after upgrade

Post by przemko »

Now I stop, disable wg-quick. Then start and everything works fine.
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: wireguard issue after upgrade

Post by Joulinar »

Looks like client was not connected correct. Probably it's starting too early before network is fully online.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
przemko
Posts: 252
Joined: Sun Mar 15, 2020 5:40 pm

Re: wireguard issue after upgrade

Post by przemko »

Can I do something with that?
Post Reply