Hi
Does anyone know how to change the FQDN from osmc.tv to something else.
I change the local name using hosts file, works okay.
Cheers, Geoff.
Hi
Does anyone know how to change the FQDN from osmc.tv to something else.
I change the local name using hosts file, works okay.
Cheers, Geoff.
For what purpose? I’m pretty sure you shouldn’t be setting this on the pi itself.
FQDN is set in sysctl:
kernel.domainname = osmc.tv
This is set in /etc/sysctl.d/100-osmc.conf
To override this and keep it persistent, create a file which overrides this with a higher weighting, i.e. > 100. For example,
/etc/sysctl.d/999-geof.conf
kernel.domainname = geoff.com
Hope this helps
thanks.
do I put full domain name, with hostname (i think referred to as FQDN) i.e. kodi.geoff.com, or just geoff.com, then put the hostname in /etc/hosts (or via Kodi Web UI is same same i think).
Thanks again Sam, you’ve helped me with so much stuff this is probs my last post in this kodi build…
Geoff.
Just geoff.com, as it’s just the domain name you are specifying. FQDN is derived from /etc/hostname + kernel.domainname.
You need to update hostname in /etc/hostname. You can update device name in Kodi and we will update /etc/hostname automatically. You don’t need to update /etc/hosts.