

The official Tailscale subreddit. Not routinely monitored by Tailscale employees. Please contact support via https://tailscale.com/contact/support if you need further help.
Tailscale on Pi - "failed to connect to local tailscaled" Help Please
Help Needed
Hey,
Running
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" VERSION_CODENAME=stretch ID=raspbian ID_LIKE=debian pi@RevPi38769:~ $ tailscale version 1.56.1 tailscale commit: 906f85d10c0b7b653116db19913ebeab85ee01ec other commit: 34ed54c8c566d51e6500114624c57ba55b2a34ea go version: go1.21.5
I was prompted by tailscale dashboard to update - I have ran into a bit of trouble after doing the upgrade and need some help ( Have googled this)
I ended up doing
sudo apt-get remove tailscale
Then running
curl -fsSL https://tailscale.com/install.sh | sh
Then when I run
pi@RevPi38769:~ $ sudo tailscale up failed to connect to local tailscaled (which appears to be running as tailscaled, pid 17713). Got error: 503 Service Unavailable: no backend
It seems like its failing to start or something:
Pease bear with me as I only know enough to be dangerous
pi@RevPi38769:~ $ sudo systemctl status tailscaled ● tailscaled.service - Tailscale node agent Loaded: loaded (/lib/systemd/system/tailscaled.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2024-01-12 17:35:07 AEDT; 587ms ago Docs: https://tailscale.com/kb/ Process: 17731 ExecStopPost=/usr/sbin/tailscaled --cleanup (code=exited, status=0/SUCCESS) Process: 17790 ExecStartPre=/usr/sbin/tailscaled --cleanup (code=exited, status=0/SUCCESS) Main PID: 17840 (tailscaled) Tasks: 10 (limit: 4915) CGroup: /system.slice/tailscaled.service └─17840 /usr/sbin/tailscaled --state=/var/lib/tailscale/tailscaled.state --socket=/run/tailscale/tailscaled.sock --port=41641 Jan 12 17:35:07 RevPi38769 tailscaled[17840]: logpolicy: using system state directory "/var/lib/tailscale" Jan 12 17:35:07 RevPi38769 tailscaled[17840]: wgengine.NewUserspaceEngine(tun "tailscale0") ... Jan 12 17:35:07 RevPi38769 tailscaled[17840]: Linux kernel version: 6.1.72-v7+ Jan 12 17:35:07 RevPi38769 systemd[1]: Started Tailscale node agent. Jan 12 17:35:07 RevPi38769 tailscaled[17840]: is CONFIG_TUN enabled in your kernel? `modprobe tun` failed with: modprobe: FATAL: Module tun not found in directory /lib/modules/6.1.72-v7+ Jan 12 17:35:08 RevPi38769 tailscaled[17840]: kernel/drivers/net/tun.ko found on disk, but not for current kernel; are you in middle of a system update and haven't rebooted? found: raspberrypi-kernel: /lib/modules/4.19.95-rt38-v7/kernel/d Jan 12 17:35:08 RevPi38769 tailscaled[17840]: raspberrypi-kernel: /lib/modules/4.19.95-rt38/kernel/drivers/net/tun.ko Jan 12 17:35:08 RevPi38769 tailscaled[17840]: wgengine.NewUserspaceEngine(tun "tailscale0") error: tstun.New("tailscale0"): no such device Jan 12 17:35:08 RevPi38769 tailscaled[17840]: flushing log. Jan 12 17:35:08 RevPi38769 tailscaled[17840]: logger closing down
How do I fix this issue?
Sort by:
Best
Open comment sort options
Best
Top
New
Controversial
Old
Q&A
Jan 12 17:35:08 RevPi38769 tailscaled[17840]: kernel/drivers/net/tun.ko found on disk, but not for current kernel; are you in middle of a system update and haven't rebooted? found: raspberrypi-kernel: /lib/modules/4.19.95-rt38-v7/kernel/dJan 12 17:35:08 RevPi38769 tailscaled[17840]: kernel/drivers/net/tun.ko found on disk, but not for current kernel; are you in middle of a system update and haven't rebooted? found: raspberrypi-kernel: /lib/modules/4.19.95-rt38-v7/kernel/d
I did in my mess of trying to make this work run an update
sudo rpi-update
My guess is this broke it.
Did you try the installation instructions specifically for pi
https://tailscale.com/download/linux/rpi
I had not seen this before - Last few times it worked with the one liner - Thanks for pointing it out!