Open plsnotracking opened 4 months ago
Add CONFIG_TUN=y
or CONFIG_TUN=m
to your kernel configuration.
@MichaIng sorry, I don't have enough knowledge about the kernel, but is there a guide you'd recommend it order to do this? Thanks.
It seems you did not compile the kernel yourself. To not exceed the scope, let's have this as a request for StarFive to enable TUN interfaces for OpenVPN, Tailscale and other VPN software OOTB. It is extremely common, so zero point to not have it enabled by default.
Here is the kernel configuration to touch: https://github.com/starfive-tech/linux/blob/JH7110_VisionFive2_6.1.y_devel/arch/riscv/configs/starfive_visionfive2_defconfig
I see you opened an issue at the kernel repo already some months ago: https://github.com/starfive-tech/linux/issues/129 It is correctly suited there indeed.
I just opened a PR, let's see whether StarFive accepts it any time soon: https://github.com/starfive-tech/linux/pull/137
Add this config as default, please check the latest tag.
I'll update my starfive image and retry, thanks.
Is there a correct way to update to get this patch?
I tried with - sudo apt-get update && sudo apt-get full-upgrade -y && sudo apt-get autoremove -y && sudo apt-get autoclean
Oh, this patch is for kernel. so you need use the latest Debian image , or build the latest kernel and replace it (please refer to guideline)
Trying to start tailscale on my machine, it fails to boot up.
Issue on the
tailscale
forum suggest a newer available kernel: https://github.com/tailscale/tailscale/issues/10498Any assistance in setting this up will be appreciated, thank you.