I figured out that the file that stores my wifi dns settings is /etc/resolv.conf. I want to create a script that will change them to something else when i press a button on my remote…but what is the command to ‘refresh’ the dns records in Kodi as well ?
None of the following methods are valid for osmc
Nice, thanks,
For anyone interested first do connmanctl services to get your wifi’s id
Then to set up new nameserver do: connmanctl config wifi_blahblah_your_id_managed_psk --nameservers 8.8.8.8 8.8.4.4
Btw, i see them set in MyOsmc, but do i need to restart connmanctl after i set them or it’s not needed ?