Posts by oblong_cheese
- 
					
- 
					Followup on the above, unfortunately the script in its current form does not achieve the desired effect. It detects the network is down but performing a restart of connman does not resolve. At the moment I am manually toggling the "Active" setting in LibreELEC settings, which appears to completely reset the network stack and re-initialise the WiFi. How can I perform this same action via a CLI command? 
- 
					I had some similar issues in the past, and just added a small script to crontab to force a connman restart when there's no connection. Something like this: in crontab (each 3 minute of the hour, test connection. The --reset-network parameters restarts connman if needed): the script: Code
 Display MoreLOGFILE=/storage/logfiles/$(basename $0 .sh).log ping -q -w 3 -c 1 `ip r | grep default | cut -d ' ' -f 3` 2>&1 > /dev/null if [ $? -eq 0 ]; then echo $(date +"%y%m%d %H:%M:%S") " - Online" >> $LOGFILE exit 0 else echo $(date +"%y%m%d %H:%M:%S") " - Offline" >> $LOGFILE if [ "$1" == "--reset-network" ]; then echo " - Reset network" >> $LOGFILE systemctl restart connman fi exit 1 fiI just wanted to say a huge THANK-YOU to you for creating this solution which I believe has solved my LibreELEC WiFi connection inconsistencies.    
 I'm running it on x86-64 with a cheap realtek WiFi card that intermittently (3 times out of 4) will not associate to the WAP before the boot / wait time finishes, leaving me with an inaccessible Kodi.It's not the WiFi network (Ubiquiti prosumer grade, multiple WAPs, etc) and it's probably not LibreELEC either - just the cheap WiFi card needing some time to think about things on bootup! 
 Once again, kudos! 
- 
					Hi, I am also experiencing this issue. Would anyone be able to guess when the next release with an updated kernel would be available? I am not in a hurry, just trying to decide if it's worth the effort to roll my own Kodi appliance or wait for the next LibreELEC release. Thank-you 
 
		 
		
		
	