this post was submitted on 11 Mar 2025
36 points (87.5% liked)

Selfhosted

44024 readers
554 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I have no idea why this is happening on my arch linux machine. I was trying to set it up as a client device, and now i have no internet connection on my wired network. This is bare metal not docker. I just wanted to add the device to my tailnet.

Any help is appreciated

Thank you for your time.

EDIT: I have completely uninstalled tailscale yet I still do not have internet access. I am connected to the network fine. If i cinnect through wifi it is the same result.

EDIT 2: the error I am recieving is limited connectivity.

EDIT 3: It has been fixed! scrion@lemmy.world solution fixed it!

you are viewing a single comment's thread
view the rest of the comments
[–] infinitejones@sh.itjust.works 14 points 19 hours ago (2 children)

I've had similar problems in the past - apparently no internet connection, and both times I narrowed it down to the machine being unable to resolve domain names.

Turns out Tailscale had changed the IP address for the machines' DNS resolution in resolv.conf to 100.100.100.100

That's fine when the machine is connected to Tailscale but not when it isn't!

Reverting the DNS IP back to whatever it was previously, or to something like 1.1.1.1 solved the problem for me, at least to the extent that it could resolve URLs again.

Worth a look, if only to rule it out...?

[–] possiblylinux127@lemmy.zip 2 points 16 hours ago

resolv.conf is usually set by systemd network manager. You should change the setting in /etc/systemd/... (Idk I forgot the full path)

[–] ludicolo@lemmy.ml 1 points 18 hours ago* (last edited 18 hours ago) (2 children)

I try to nano into my resolv.conf but it appears to only be a symbolic link file. I apologize for my ignorance but is there any other way to revert my dns back?

EDIT: the symbolic link leads to a directory that does not exist:

/run/systemd/resolve/stub-resolv.conf

[–] fossphi@lemm.ee 3 points 18 hours ago (1 children)

What's the output of systemctl status systemd-resolved

[–] ludicolo@lemmy.ml 1 points 18 hours ago (1 children)

○ systemd-resolved.service - Network Name Resolution Loaded: loaded (/usr/lib/systemd/system/systemd-resolved.service; disabled; preset: enabled) Active: inactive (dead) Docs: man:systemd-resolved.service(8) man:org.freedesktop.resolve1(5) https://systemd.io/WRITING_NETWORK_CONFIGURATION_MANAGERS https://systemd.io/WRITING_RESOLVER_CLIENTS

[–] badlotus@discuss.online 3 points 17 hours ago* (last edited 17 hours ago) (2 children)

Have you tried deleting /etc/systemd/resolved.conf and restarting the service with systemctl restart systemd-resolved?

[–] ludicolo@lemmy.ml 1 points 16 hours ago (1 children)

Ok wtf. I retried this solution and it worked for some reason. I have no idea what happened differently. I didn't delete the file because it was already gone.

However if I restart it breaks again.

[–] badlotus@discuss.online 2 points 16 hours ago

I found an informative post about a related issue that might be of some use to you. Sounds like DHCP or Network Manager may be rewriting your systems-resolved.conf.

https://joshrnoll.com/my-tailscale-dns-woes/

[–] ludicolo@lemmy.ml 1 points 17 hours ago (1 children)

That did not work, I deleted the file and then I restarted the service. I then restarted the pc just to make sure. Still no internet access and still same limited connectivity error.

[–] possiblylinux127@lemmy.zip 1 points 16 hours ago (1 children)
[–] ludicolo@lemmy.ml 1 points 16 hours ago

None of those config files exist in that folder location.

[–] pipe01@programming.dev 3 points 18 hours ago (1 children)
[–] ludicolo@lemmy.ml 2 points 18 hours ago