Posts by interpolgp

    Hey Team,


    I am running the lastest build 12.0.2 on a rpi 4 2gb. I am dealing with an issue where the toggle for wait for Network before booting in the Libreelec settings is not working.


    I can only boot with Ethernet cable plugged in. Is there any way around this? Or anyway edit files on the SD card so that I can boot to Kodi successfully.

    Hello all,

    I am just wondering has anyone else noticed that when connman daemon brings up the wireguard interface it resets the /run/connman/resolv.conf file to the original values from the router?

    I edit /run/connman/resolv.conf during startup to remove my ISP's DNS servers and replace it with 1.1.1.1. I was wondering is there a way to clear the connman resolver cache that is returning the nameserver values?

    Code
    cp /storage/.config/system.d/wireguard.service.sample /storage/.config/system.d/wireguard.service

    ^ then edit the wireguard.service file to call the connman service, and the tunnel is auto-started at startup.

    I'm happy to start it with autostart.sh script or to do it manually when I need it. Thanks for the help team!

    Hey Team, I am very close to getting my persistent Wireguard VPN interface up and running on a libreelec 9.2.8 client.

    Steps taken so far.

    • Block Connman from managing the wg interface
    • Use the wg setup rather than Connman
    • Use ip link, ip addr and wg setconf to configure the interface in the autostart.sh file

    Below is the results of wg when kodi starts. I can ping and telnet the Wireguard Server ^^

    The route table

    Code
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    default         192.168.0.1     0.0.0.0         UG    0      0        0 eth0
    10.13.70.0      *               255.255.255.0   U     0      0        0 wg0
    172.17.0.0      *               255.255.0.0     U     0      0        0 docker0
    172.18.0.0      *               255.255.0.0     U     0      0        0 br-65330b1f8eae
    192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
    192.168.0.1     *               255.255.255.255 UH    0      0        0 eth0

    The issue I have is that my route tables look good but I am not sure how to route my traffic over the new wg0 interface. All traffic remains going across the default eth0.

    Any ideas how this can be done? I tried "route add" but i dont seem to be able to specify all the details required. /shrug

    Any comments or ideas would be greatly appreciated .