Can't access internet after wireguard uninstall


Hello,

I had a working wireguard peer on my laptop, which I didn't want anymore, so I decided to uninstall wireguard. All was well until I restarted the laptop and now I can't access the internet anymore.

I think it's because of some config left over from wireguard, but I'm not sure how to fix it.

Running pop os 22.04.

Any advice?

in reply to anytimesoon

I would look at your interface configuration and your routing, ip addr show, netstat -nr and go from there. Also might check iptables, iptables -L -n and make sure there aren't any iptable rules blocking your access.
This entry was edited (Sunday, November 24, 2024, 10:17 AM)

Linux reshared this.

in reply to anytimesoon

sudo traceroute 1.1.1.1

can show you how far your connection request gets (whether it's blocked by your pc, your router, or somewhere on the internet).
You may have to install it first.

sudo find /etc -name *wg*
find ~ -name *wg*

can help find left-over config files.

in reply to Nanook

The media in this post is not displayed to visitors. To view it, please go to the original post.

I'm not entirely sure which of the list is the default route is, but absolutely see my WiFi router on the list. Took a picture as recommended by @CameronDev
in reply to anytimesoon

This is what mine looks like for contrast:
0.0.0.0 50.251.249.54 0.0.0.0 UG 0 0 0 bridge0
50.251.249.48 0.0.0.0 255.255.255.248 U 0 0 0 bridge0
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0

In my case, 50.251.249.54 is my gateway and .48 my broadcast. I am static routed so no NAT.

Linux reshared this.

in reply to anytimesoon

@anytimesoon With that different router, now try a traceroute 1.1.1.1, if you get a response from the first hop, 192.168.1.1, then something is wrong with the NAT on the router or your cable service or fiber or whatever it is, is not working.

Linux reshared this.

in reply to anytimesoon

Hi

Did you remove wireguard the meta package or everything wireguard installed? I don't know Pop but other distros install additional tools and configs like wireguard-dkms.

Also, if possible, after completely purging every wg you could try booting into a previous kernel on your system to see if that changes anything.

This website uses cookies. If you continue browsing this website, you agree to the usage of cookies.