Ubuntu jolnir isn't supported by this script yet

thanks much,

as per the title of this sad, but hopeful topic,

cannot install tailscale two ways,
as per https://tailscale.com/download/linux

  1. this command fails with ubuntu jolnir isn't supported by this script yet.
curl -fsSL https://tailscale.com/install.sh | sh
  1. this command fails, as there is no systemd on this system.
sudo apt-get update
sudo apt-get install tailscale

please see the details below.

root@fdsaasdf6131:~# curl -fsSL https://tailscale.com/install.sh | sh
ubuntu jolnir isn't supported by this script yet.

OS=ubuntu
VERSION=jolnir
PACKAGETYPE=apt
UNAME=Linux fdsaasdf6131.asdffdsa6132.appboxes.co 5.4.0-99-generic #112-Ubuntu SMP Thu Feb 3 13:50:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

NAME="elementary OS"
VERSION="6.1 J_lnir"
ID=elementary
ID_LIKE=ubuntu
PRETTY_NAME="elementary OS 6.1 J_lnir"
LOGO=distributor-logo
VERSION_ID="6.1"
HOME_URL="https://elementary.io/"
DOCUMENTATION_URL="https://elementary.io/docs/learning-the-basics"
SUPPORT_URL="https://elementary.io/support"
BUG_REPORT_URL="https://github.com/elementary/triage/issues/new"
PRIVACY_POLICY_URL="https://elementary.io/privacy-policy"
VERSION_CODENAME=jolnir
UBUNTU_CODENAME=focal

and

root@fdsaasdf6131:~# tailscale up
failed to connect to local tailscaled; it doesn't appear to be running (sudo systemctl start tailscaled ?)
root@fdsaasdf6131:~# systemctl start tailscaled
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down

update,

this command failed,

root@fdsaasdf6131:~# tailscaled
logtail started
Program starting: v1.24.2-t9d6867fb0-g2d0f7ddc3, Go 1.18.1-ts710a0d8610: []string{"tailscaled"}
LogID: cc5ba50eb4041f9c553ee035b3767a96776f547d979fc6e2e0fd0cb50ea8c85e
logpolicy: using system state directory "/var/lib/tailscale"
wgengine.NewUserspaceEngine(tun "tailscale0") ...
Linux kernel version: 5.4.0-99-generic
is CONFIG_TUN enabled in your kernel? `modprobe tun` failed with: modprobe: FATAL: Module tun not found in directory /lib/modules/5.4.0-99-generic
tun module not loaded nor found on disk
wgengine.NewUserspaceEngine(tun "tailscale0") error: tstun.New("tailscale0"): CreateTUN("tailscale0") failed; /dev/net/tun does not exist
flushing log.
logger closing down
createEngine: tstun.New("tailscale0"): CreateTUN("tailscale0") failed; /dev/net/tun does not exist

based on the error that lead me to this.
https://tailscale.com/kb/1112/userspace-networking/

so based on all the commands and errors,
running tailscaled as a socks5 proxy should be a workaround?

tailscaled --tun=userspace-networking --socks5-server=localhost:1055 &
tailscale up --authkey=<your auth key>

any other suggestions?
thanks much,
david

I installed a copy of Elementary OS just downloaded which was also 6.1 and the kernel version reported was 5.11, rather than 5.4.

The kernel you are using is not providing /dev/net/tun (see the error message about tun not being able to be loaded in your original post).

We will be able to update the script to handle Jolnir, however, the non-standard kernel you are using would still present challenges for operation in tun mode.

You can run in userspace-networking mode, that mode will work fine, though it comes with some limitations as described in the document you linked.

Based on the uname output you provided, it looks like you’re using appboxes.co and they are doing some virtualization that is providing this custom kernel. You could ask them if they would enable guest tun access.

1 Like

thanks much for the confirmation