12
submitted 5 hours ago by anytimesoon@feddit.uk to c/linux@lemmy.ml

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?

all 23 comments
sorted by: hot top controversial new old
[-] nanook@friendica.eskimo.com 3 points 2 hours ago

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.

[-] nanook@friendica.eskimo.com 3 points 2 hours ago

Sorry formatting is whack, Friendica does not understand tabs.

[-] anytimesoon@feddit.uk 1 points 2 hours ago

So that looks similar to what I have. Wonder why it's not working

[-] nanook@friendica.eskimo.com 1 points 1 hour ago

Did you try to ping the router IP, 192.168.1.1 and see if it responded?

[-] anytimesoon@feddit.uk 1 points 1 hour ago* (last edited 1 hour ago)

~~I did, but no response~~

I changed to a different router and can at least ping that now, but still no internet

[-] nanook@friendica.eskimo.com 2 points 1 hour ago

@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.

[-] anytimesoon@feddit.uk 0 points 1 hour ago

Unlikely to be something wrong with that, tbh. Everything else on that network has internet access. The issue is limited to the laptop

[-] nanook@friendica.eskimo.com 2 points 1 hour ago

@anytimesoon I'm a bit at a loss then. I do have a Comcast router that is weird in that ARP only works at boot time so if I plug a new device into it, it won't route for that device unless I reboot it.

[-] anytimesoon@feddit.uk 1 points 49 minutes ago

No worries. Thanks for your help! I'll post here if/when I find a solution

[-] CameronDev@programming.dev 5 points 3 hours ago

Give the output of route, maybe there is a left over route.

[-] nanook@friendica.eskimo.com 4 points 3 hours ago
[-] CameronDev@programming.dev 3 points 3 hours ago

Yup, didn't read your comment properly, but that will also work.

[-] anytimesoon@feddit.uk 2 points 3 hours ago

The output was pretty much the same from this as from netstat -nr

I would share it here, but I can't access the internet from that machine

[-] nanook@friendica.eskimo.com 3 points 3 hours ago

@anytimesoon @CameronDev It should be as both commands do more or less the same thing, the question is your default route correct and are there any other routes that might be misdirecting your data.

[-] anytimesoon@feddit.uk 1 points 2 hours ago

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

1000005757

[-] nanook@friendica.eskimo.com 3 points 2 hours ago

@anytimesoon Assuming 192.168.1.1 is your wifi router, it looks correct. Can you ping that IP?

[-] anytimesoon@feddit.uk 1 points 2 hours ago* (last edited 1 hour ago)

~~Nope. Destination host is unreachable when pinging~~

I changed to a different router and can at least ping that now, but still no internet

[-] CameronDev@programming.dev 2 points 2 hours ago* (last edited 2 hours ago)

~~Take a photo of the output? First few lines are most important, but ideally all would be good.~~

Edit: actually, dont want to crowd the kitchen, good luck!

[-] superkret@feddit.org 8 points 4 hours ago

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.

[-] anytimesoon@feddit.uk 1 points 3 hours ago

All I got was wget, so this is clean

[-] nanook@friendica.eskimo.com 3 points 5 hours ago* (last edited 5 hours ago)

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.

[-] anytimesoon@feddit.uk 1 points 3 hours ago

IP tables have no rules, but netstat is showing traces of WG. Two of the interface names are the same as WG config name I used

this post was submitted on 24 Nov 2024
12 points (100.0% liked)

Linux

48334 readers
759 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS