I am connected with and ethernet cable it and it says connected to the wired network. after i installed my VPN service it worked fine then the next time i turned on my desktop it wont connect to the internet. i have since uninstalled the VPN client and it still wont connect. any help would be great appreciated
Hello @coryd331 and welcome to the forums!
Yes, Proton VPN has a service that masks the DNS and an Internet Kill Switch. So, when it’s not running, it allows no Internet to go through.
Let’s start with flushing the DNS cache it created. Start a terminal on your system and execute the following commands:
sudo systemctl systemd-resolved --flush-cache sudo systemctl systems-resolved --statistics
Once the DNS is cleared, go ahead and restart the Network Services:
sudo systemctl restart systemd-resolved sudo systemctl restart NetworkManager
Give it a few seconds on each of the above commands, then type in:
ping -c 3 google.com
What response does that give you?
after entering the above in the terminal, it tells me systemctl: unrecognized option ‘—flush cache’
My apologies. I took the commands to the “Daemon” (background services) level, when I should have taken it to the front-end. That’s besides a typo my auto-corrector decided to fix (I have to fight with that all the time, when I type commands).
The option commands should then be as follows:
sudo systemd-resolve --flush-caches sudo systemd-resolve --statistics
did the 2 lines of code you sent. but i get this when i put in the ping -c 3 google.com
Let’s see if it’s only DNS related. Please execute the following command:
ping -c 3 126.96.36.199
And please let me know of what message it produces.
So, you do have internet, which means the DNS service is having a few issues. Let’s see what they are. If during the process we need access to packages or updates, I can temporary give you full DNS, which will reset after your next reboot, so let’s begin.
In your terminal, please execute the following command and send me the output.
sudo systemctl status systemd-resolved
And there lies your problem! Your system looks for a DNS resolution onto its own self.
Can you open up your network connections and select the properties for your connection? There should be a few tabs over there and I will appreciate if you can send me the screenshots of your IPV4 and IPV6 tabs.
Great, thank you!
I would recommend you disable the IPV6 completely, and then on the IPV4, add the following additional Name Servers:
Then click Save, go to a terminal and type in:
sudo systemctl restart NetworkManager
ping -c 3 google.com
And let’s see what that now gives you.
it doesnt give me the option to click save no matter how i type the 188.8.131.52 or the 184.108.40.206, am i doing this correctly? i have disable the IPv6 settings also.
Not the IP addresses. Use those for the Additional DNS servers.
(Make sure you delete the static IPs or you won’t have internet at all)
Okay! Seems that some issues remain still. Let’s go a bit deeper:
sudo su mkdir /etc/systemd/resolved.conf.d/ nano /etc/systemd/resolved.conf.d/dns_servers.conf
When it opens, add the following content:
[Resolve] DNS=220.127.116.11 18.104.22.168
Press CTRL+O and then Enter to save. Then CTRL+X to exit.
systemctl restart systemd-resolved resolvectl status systemd-resolve --status resolvectl query google.com
Does the last command give you any IP addresses?
Ah, you’ll need to press Enter at the end of each line - as they’re all different command sets.
In that scenario, you can bypass the mkdir line.