-
Platform information:
- Hardware: CPUArchitecture/RAM/storage
- OS: Linux openhabian 5.15.76-v7l+ #1597 SMP Fri Nov 4 12:14:58 GMT 2022 armv7l GNU/Linux
- Java Runtime Environment:
openjdk version “11.0.16” 2022-07-19
OpenJDK Runtime Environment (build 11.0.16+8-post-Raspbian-1deb11u1)
OpenJDK Server VM (build 11.0.16+8-post-Raspbian-1deb11u1, mixed mode) - openHAB version: 3.3.0
- tailscale version - 1.34.1
-
Issue of the topic: Cannot get tailscale working
The openhabian-config is largelly useless in installing as it wont tell a single error message, when going ant trying to enable the service and start by running
sudo systemctl enable tailscaled
sudo systemctl start tailscaled
then following appears in the logs. So where could I tweak the path for the service or better yet am I on old version of something where this is already fixed?
Dec 17 15:20:09 openhabian tailscaled[16409]: logtail started
Dec 17 15:20:09 openhabian tailscaled[16409]: Program starting: v1.34.1-t328b49c4d-g921b59a2e, Go 1.19.2-ts3fd24dee31: []string{“/usr/sbin/tailscaled”, “>
Dec 17 15:20:09 openhabian tailscaled[16409]: LogID: a6ecf5c2d40d4238cc4b1180898bc2bb2d540386187d50cda90ed4c2bec057f0
Dec 17 15:20:09 openhabian tailscaled[16409]: logpolicy: using $STATE_DIRECTORY, “/var/lib/tailscale”
Dec 17 15:20:09 openhabian tailscaled[16409]: dns: [resolved-ping=yes rc=resolvconf resolvconf=no ret=direct]
Dec 17 15:20:09 openhabian tailscaled[16409]: dns: using “direct” mode
Dec 17 15:20:09 openhabian tailscaled[16409]: dns: using *dns.directManager
Dec 17 15:20:09 openhabian tailscaled[16409]: flushing log.
Dec 17 15:20:09 openhabian tailscaled[16409]: logger closing down
Dec 17 15:20:10 openhabian systemd[1]: tailscaled.service: Failed with result ‘exit-code’.
Dec 17 15:20:10 openhabian systemd[1]: tailscaled.service: Scheduled restart job, restart counter is at 127.
Dec 17 15:20:10 openhabian systemd[1]: Stopped Tailscale node agent.
Dec 17 15:20:10 openhabian systemd[1]: Starting Tailscale node agent…
Dec 17 15:20:10 openhabian tailscaled[16417]: logtail started
Dec 17 15:20:10 openhabian tailscaled[16417]: Program starting: v1.34.1-t328b49c4d-g921b59a2e, Go 1.19.2-ts3fd24dee31: []string{”/usr/sbin/tailscaled", “>
Dec 17 15:20:10 openhabian tailscaled[16417]: LogID: a6ecf5c2d40d4238cc4b1180898bc2bb2d540386187d50cda90ed4c2bec057f0
Dec 17 15:20:10 openhabian tailscaled[16417]: logpolicy: using $STATE_DIRECTORY, “/var/lib/tailscale”
Dec 17 15:20:10 openhabian tailscaled[16417]: dns: [resolved-ping=yes rc=resolvconf resolvconf=no ret=direct]
Dec 17 15:20:10 openhabian tailscaled[16417]: dns: using “direct” mode
Dec 17 15:20:10 openhabian tailscaled[16417]: dns: using *dns.directManager
Dec 17 15:20:10 openhabian tailscaled[16417]: flushing log.
Dec 17 15:20:10 openhabian tailscaled[16417]: logger closing down
Dec 17 15:20:11 openhabian tailscaled[16424]: logtail started
Dec 17 15:20:11 openhabian tailscaled[16424]: Program starting: v1.34.1-t328b49c4d-g921b59a2e, Go 1.19.2-ts3fd24dee31: []string{”/usr/sbin/tailscaled", ">
Dec 17 15:20:11 openhabian tailscaled[16424]: LogID: a6ecf5c2d40d4238cc4b1180898bc2bb2d540386187d50cda90ed4c2bec057f0
Dec 17 15:20:11 openhabian tailscaled[16424]: logpolicy: using $STATE_DIRECTORY, “/var/lib/tailscale”
Dec 17 15:20:11 openhabian systemd[1]: Started Tailscale node agent.
Dec 17 15:20:11 openhabian tailscaled[16424]: wgengine.NewUserspaceEngine(tun “tailscale0”) …
Dec 17 15:20:11 openhabian tailscaled[16424]: wgengine.NewUserspaceEngine(tun “tailscale0”) error: creating router: exec: “iptables”: executable file not>
Dec 17 15:20:11 openhabian tailscaled[16424]: flushing log.
Dec 17 15:20:11 openhabian tailscaled[16424]: logger closing down
Dec 17 15:20:11 openhabian tailscaled[16424]: getLocalBackend error: createEngine: creating router: exec: “iptables”: executable file not found in $PATH
Dec 17 15:20:11 openhabian systemd[1]: tailscaled.service: Main process exited, code=exited, status=1/FAILURE