[Ubuntu] Connected to Wifi/Wired Network but No Internet

endomorfisme Posted messages 1 Status Member -  
mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   -

Hello,

I have a problem with my computer running Ubuntu 22.04.2 LTS. I am connected to the Wifi network, but cannot access the internet. This appeared quite suddenly, after using a VPN (Proton VPN), which I had used several times before without any issues (so I don't know if it's related to that...). The problem persists when changing Wifi networks and switching to a wired connection.

I have gone through quite a few discussions on forums about this, but I haven't found a solution to my problem. I uninstalled Proton VPN as a precaution, but that didn't change anything...

I should mention that I'm very inexperienced with Linux...

Would someone be kind enough to help me?

Thank you in advance.

2 answers

  1. abc
     

    Hello,

    You have no choice, you need to reinstall Ubuntu and do without the ProtonVPN application for now, and as an alternative, use the browser extension.

    0
  2. mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   7 944
     

    Hello,

    So I like the username, but normally it's endomorphism :-) But let's say it's a poetic license ;-)

    We should check how your DNS and routes are configured once the VPN connection is activated:

    cat /etc/resolv.conf ip route

    The first command reveals the IP of your (or your) DNS server(s).

    Assuming (which seems to be the case) that all traffic is routed through the VPN, the second command shows you the IP of your VPN gateway at the default route level.

    Once you have this information, you need to ensure that you can ping your DNS and VPN gateway:

    ping -c2 ip_du_serveur_dns ping -c2 ip_de_la_passerelle_vpn

    Good luck

    0