Zerotier disconnects

  • Hi I have LibreElec 9.2.8.11 with zerotier.

    It is connected to zerotier network but I have problem with connetion working. Putty works longer (but connection is very slow and after some time is dropping) and Vnc sometimes I can move coursor one or two times and connection freezes. connect

    Ping is high and connections are dropped.

    zerotier-one.ctl -q info

    200 info 97xfxxx198 1.4.6 ONLINE


    route

    Kernel IP routing table

    Destination Gateway Genmask Flags Metric Ref Use Iface

    default DLink.home 0.0.0.0 UG 0 0 0 wlan0

    192.168.5.0 * 255.255.255.0 U 0 0 0 wlan0

    192.168.5.1 * 255.255.255.255 UH 0 0 0 wlan0

    192.168.194.0 * 255.255.255.0 U 0 0 0 ztbto32yyo

    /storage/.config/iptables.rules

    iptables -F

    sysctl -w net.ipv4.ip_forward=1

    sysctl -w net.ipv4.conf.all.forwarding=1

    sysctl -w net.ipv4.conf.all.rp_filter=2

    iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE

    iptables -A FORWARD -i zt+ -j ACCEPT


    it is not in docker

  • Code
    I think this is a problem with the interface connection itself.
    After all, VNC using the zerotier IP address 192.168.194.53 should work immediately after connecting to the VPN network.
    And VNC to the address 192.168.194.53 connects, the Kodi screen appears very slowly, I can click maybe once or maybe twice and it hangs. Reconnecting will also work the same.
  • Ok I know why, all because of HDMI not connected.

    I have dobę some code at autostart.sh and in config.txt.

    But I do not know how to do it on other way.

    I want run LE without any HDMI.

    But when cat /sys/class/amhdmitx/amhdmitx0/disp_cap > /storage/.kodi/userdata/disp_cap

    Vnc is running Blackscreen.

  • I want run LE without any HDMI.

    But when cat /sys/class/amhdmitx/amhdmitx0/disp_cap > /storage/.kodi/userdata/disp_cap

    If the HDMI is not plugged in, the source is also empty, so you will create an empty file without any contained resolution.

    Instead of this method, try to add a resolution statically, like this:

    echo 1080p60hz > /storage/.kodi/userdata/disp_cap

    It is also more than enough for simple VNC remote connection. :)