That seems indeed smarter
Could you give an example how to set this timeout ?
Many many Thanks
That seems indeed smarter
Could you give an example how to set this timeout ?
Many many Thanks
I found this workaround, not the smartest but it works if the network connection starts before 55 sec, I will try that until I find a better solution
[Unit] Description=WireGuard VPN Service #After=network-online.target nss-lookup.target connman-vpn.service time-sync.target #Wants=network-online.target nss-lookup.target connman-vpn.service time-sync.target [Service] Type=forking RemainAfterExit=yes ExecStartPre=/usr/bin/sleep 55 ExecStart=/usr/bin/connmanctl connect vpn_XX_XX_XX_XX_XX ExecStop=/usr/bin/connmanctl disconnect vpn_XX_XX_XX_XX_XX TimeoutSec=60 [Install] WantedBy=multi-user.target
interpolgp do you use wireguard ? if yes, I have the same problem then maybe we can try to make the script chewitt talks about
Thank you for this info about time sync. The problem is when I change the wifi password for instance or if I put it in a new place with a différent ssid
The only solution is a rj45 cable for now
when I remove time-sync.target from the Wants line, indeed Kodi starts without any network connection
Unfortunately , the wireguard connection never starts automatically when I have a network
I think the key is in the /storage/.config/systemd/wireguard.service file. But I'm not systemd fluent
the manuel says
[Unit]
Description=WireGuard VPN Service
After=network-online.target nss-lookup.target wait-time-sync.service connman-vpn.service
Before=kodi.service
The original file says
[Unit] Description=WireGuard VPN Service After=network-online.target nss-lookup.target connman-vpn.service time-sync.target Wants=network-online.target nss-lookup.target connman-vpn.service time-sync.target
in both cases if network fails, kodi never shows
if I use
After=network-online.target nss-lookup.target connman-vpn.service time-sync.target kodi.service
Kodi shows but wireguard doesn't seems to start
Do you have any clue ?
Thank you
Hi All
I followed this to configure WireGuard
https://wiki.libreelec.tv/configuration/wireguard
It works like a charm I thank the team for that
But when my wifi connection changes, the boot sequence stops on the LibreElec startup screen. ( before kodi).
I think WireGuard is trying to start but there is no network.
Is it possible to set a timeout somewhere to stop WireGuard in that case ?
Then I will be able to change the wifi setup and restart to have a nice boot sequence.
Thanks
Cyril
I won't be able to test this before saturday. Is it possible to update to a nightly build ? or do I need to reinstall ?
Hard to describe precisely.
When playing music with AirPlay everything is fine. But no sound when playing movie or UI sound (bips). This happens with the hifi output or through hdmi. After several reboots it could work again
I downgrade to LE 11.0.6 and have not this problem any more.
Sorry I’m not able to be provide more informations
Thank you for your reply, I understand your advice. I prefer the sd image because to reinstall LE, a keyboard is needed and/or a wired connection. In my case I usually don't have that when I have sd problem
To close this topic, I discovered that pishrink does what it says. So only one full image with dd command is required. Then, with the script, I can have a storage partition from 100Mo to 30Gb.
Hi LE forum,
I use LE12.0 on RPi3 mainly for plex plugin with wieguard vpn. As it requires several command to make it works fine, I would like to have an image of the SD card that can avoid reproduce the installation steps in case of SD crash. Before, I used ApplePiBaker (macOS) but it doesn't work anymore as it's not maintained.
So I have to make an image using dd if of... - this step is very long for a 32gb sd card - than I use pishrink to reduce the size. Is there a better way to do that ? my point is to avoid copying 30gb of 0 when doing the dd command. But if i add count param in dd command, the image is corrupted (maybe because the size doesn't fit with te partition table).
Maybe there is a way to limit the size of the ext4 partition ? for me 6gb is enough.
Thanks for your help
Cyril