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! [email protected] solution fixed it!
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…?
resolv.conf is usually set by systemd network manager. You should change the setting in /etc/systemd/… (Idk I forgot the full path)
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
What’s the output of
systemctl status systemd-resolved
○ 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
Have you tried deleting
/etc/systemd/resolved.conf
and restarting the service withsystemctl restart systemd-resolved
?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.
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/
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.
What’s the config file look like?
https://wiki.archlinux.org/title/Systemd-resolved
None of those config files exist in that folder location.
Does
ping 1.1.1.1
work?Yes it does