Posts by rundervinkje

    Cissou , Oeh that's interesting. So you prep the USB stick and when you wanna game you just unpress the SD card before a reboot? Am I understanding this correctly? I am not understanding what the consequences of the 'core build' are. Is that just a different/additional download or do I have to change stuff to my Pi itself?

    Sadly, installing Tailscale hasn't upped my streamspeeds from a remote location. BUT! I'd like to tell you it still might work for you because

    ...of my weird set up...

    So I have a pi 4 and a pi 5. My pi 4 has libreelec on it and my pi 5 is multi use server and has all my media hard drives connected to it (this is because stuff like Immich is on the pi 5 and I figured that would perform best if the drive is connected to the pi 5 itself). My libreelec/pi4 grabs the material via Samba from the pi5 mnt folder.

    So now I decided to install jellyfin on my pi5, turn it on/off depending on my location and will try to stream from the pi5 directly. If that doesn't work... I'll try a VPN to my home network without tailscale... and if that doesn't work... WELL ... then I surrender. I will also try connecting a different drive directly to the pi 4 and see if that helps - but this is purely for academic reasons, not a long term solution. This is rundy officially closing my participation on this thread because I am tired *mic drop*! :D On to retrogaming issues now ...


    Edit, 27-1-2025: tailscale+jellyfin streaming didn't work either. Appears I am not the only one with this problem: https://www.reddit.com/r/Tailscale/co…over_tailscale/.

    Using my method above led to unusable streaming performance. I can't believe my searches never let me to the following page: https://www.reddit.com/r/Tailscale/co…eelec_for_kodi/. The page describes how to run it tailscale on libreelec. I've added the description below should something happen to the reddit post in the future. If nothing is heard back from me, this will have solved my performance issues ;).

    The exact copy of the post

    Commenting here because this thread is the top google result for "libreelec tailscale" and "kodi tailscale".

    I was able to install tailscale on an x86-64 machine running libreelec using the provided binaries.

    First I sshed into the host as root then I used wget to retrieve the amd64 binary from https://pkgs.tailscale.com/stable/#static

    and saved it into /storage and extracted it using tar xvf tailscale_VERSION_ARCH.tgz

    it will include .\tailscaled the daemon, and .\tailscale the CLI.

    The command to start the daemon is

    Code
    tailscaled --state=tailscaled.state

    This will output the log through stdout and is blocking.

    The easiest way to run this command on startup is to use autostart.sh which is documented here. https://wiki.libreelec.tv/configuration/startup-shutdown

    so mine looks like this

    Code
    (
    cd /storage/tailscale_1.26.1_amd64 &&
    tailscaled --state=tailscaled.state
    ) &

    Note: to kill the tailscale daemon, you can find its pid using ps aux | grep tailscaled and then executing kill pid

    You can verify if the daemon is running by using

    Code
    ./tailscale status

    To login, just use

    Code
    ./tailscale up

    it will produce a link that you can copy paste from your ssh terminal into the browser to login. After logging in, it will save your config and automatically join your tailnet every time the daemon starts up.

    This should be enough info to get started. Hope this helps anyone coming from google.

    Perhaps in the future, someone could make a kodi addon that can wrap this.

    my abbreviated how to (via SSH)
    1. find the right binary on: https://pkgs.tailscale.com/stable/#static , right click -> copy link
    2. in your terminal type: wget [your link]
    3. find the download location and zipped file using 'cd' and 'ls' commands. Once found, unzip the file using: tar xvf [yourfile].tgz
    4. run nano /storage/.config/autostart.sh
    5. if there is already a line, place the following text right below it:

      Code
      (
      cd /storage/[YOURFOLDER]&&
      ./tailscaled --state=tailscaled.state
      ) &
    6. exit, save, reboot machine
    7. log back in to your machine and navigate to the unzipped folder. Inside the folder use: ./tailscale up
    8. You will get a link, open it inside your browser and accept the machine into your tailscale network.
    9. You can check up on the service using ./tailscale status

    Thank you for your response.

    I did change the files the way you described. I only mentioned /run/samba/smb.conf because I wanted to share that it got 'configured correctly when the system reboot'.

    I've added the change. If I look in /run/samba/smb.conf now. The TOSHIBA path is displayed twice, like so:

    The other samba shares, from other hard drives that are currently not plugged in, do not show up double.

    It does appear to work now. From the Pi server side I get the error that I need permission from unix user/root to delete certain files. When I try to delete these files via Windows it works nicely. Not really an issue, just something I noticed.

    Hello all,
    I have a Windows PC, a raspi5 server and a raspi4 libreelec mediaplayer. Because the USB ports on the server are full. I've added it to the raspi4 and made it so it could be connected from other locations via samba. Now, I've managed to connect and mount a thumbdrive on all computers and I can read it as well. However, I cannot write to it.

    In the following locations:
    /storage/.config/samba.conf
    /run/samba/smb.conf

    I've added the following share-description, which is the thumbdrive:

    Code
    [TOSHIBA]
    path = /media/TOSHIBA
    writeable = yes
    browseable = yes
    public = yes

    /etc/samba/smb.conf and /storage/.config/samba.conf.sample do NOT contain the share-description.

    I can't change the mounting options from windows. The fstab from my server-PI contains the following line:

    Code
    //dedicatedIP/TOSHIBA /mnt/TOSHIBA cifs username=libreelec,password=mypw,defaults,nofail 0 0

    Is there something wrong with my configuration or is it just not possible to write to a samba share on LibreElec?
    Thank you for taking the time to think about my situation!

    Whilst looking for a way to access kodi when out of my home network, I stumbled upon this thread.

    I think my solution will only work if you, like me, have a seperate Pi/server running besides the kodi server/SBC/etc.

    When installing tailscale on my seperate Pi, I connect to it via Tailscale apps.
    Then, using subnets https://tailscale.com/kb/1019/subnets, I'm able to access my kodi player and stream from there.

    Maybe not your use case but wanted to share for any future searchers stumbling across this forum post.