Change hostname?

  • Hi there!


    What they write here seems to be a complete nonense: Hostname Setting · libretro/Lakka-LibreELEC Wiki · GitHub

    Proof:

    ´´´

    LibreELEC-beni:~ # echo "LibreELEC" > /storage/.cache/hostname

    LibreELEC-beni:~ # reboot

    ´´´


    After restart:


    ´´´

    LibreELEC (official): 8.2.5 (RPi2.arm)

    LibreELEC-beni:~ #

    ´´´



    So the name is still "LibreELEC-beni"... WTF??


    Change it in both /storage/.cache/hostname and /etc/hosts does also not solve my problem.



    Regards,

    Jan

  • And nothing happens with that command, since 10-15 minutes:


    ´´´

    LibreELEC-beni:~ # grep -rnw '/' -e 'LibreELEC-beni'

    ´´´



    ???


    Regards,

    Jan

  • Now i have some output, but it is not finish:

    ´´´

    LibreELEC-beni:~ # grep -rnw '/' -e 'LibreELEC-beni'


    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:73597839:fqdn=LibreELEC-beni

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:73691021:[email protected]

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:73697199:tcp:LibreELEC-beni:4713

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:73697204:tcp6:LibreELEC-beni:4713

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:73705677:[email protected]: Dummy Output

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:73787557:fqdn=LibreELEC-beni

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:74208945:Kodi (LibreELEC-beni)

    ´´´


    Regards,

    Jan

  • Part II:

    ´´´

    LibreELEC-beni:~ # grep -rnw '/' -e 'LibreELEC-beni'


    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:73597839:fqdn=LibreELEC-beni

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:73691021:[email protected]

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:73697199:tcp:LibreELEC-beni:4713

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:73697204:tcp6:LibreELEC-beni:4713

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:73705677:[email protected]: Dummy Output

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:73787557:fqdn=LibreELEC-beni

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:74208945:Kodi (LibreELEC-beni)

    4

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:111083861:[email protected] (LibreELEC-beni)

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:111115494:Kodi (LibreELEC-beni)

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:111126573:Kodi (LibreELEC-beni)

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:111129199:Kodi (LibreELEC-beni)

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:112326013:Kodi (LibreELEC-beni)

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:112331811:Kodi (LibreELEC-beni) • Phenomenal 4.2.8.1

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:112332793:Kodi (LibreELEC-beni) • Phenomenal 4.2.8.1

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:113849040:LibreELEC-beni



    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:140861351:LibreELEC-beni

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:140861649:LibreELEC-beni

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:141077658:LibreELEC-beni

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:141835026:LibreELEC-beni

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:141835326:LibreELEC-beni

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:141842744:LibreELEC-beni

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:147060996:LibreELEC-beni

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:147598327:LibreELEC-beni

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:148411281:st ip6-loopback LibreELEC-beni

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:148435702:Kodi (LibreELEC-beni)

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:150500318:LibreELEC-beni

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:157635543:hostname>LibreELEC-beni</hostname>

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:159655321:LibreELEC-beni

    /dev/disk/by-uuid/b2f9a5b6-1120-49c4-bc8f-a65245122d03:162352621:LibreELEC-beni

    ´´´


    Regards,

    Jan

    • Official Post

    The master location for hostname is /storage/.kodi/userdata/addon_data/service.libreelec.settings/oe_settings.xml .. but you'll only see the xml node for hostname if it has been manually added or changed via the GUI. Other services read the hostname from this location to set /etc/hostname (which is a symlink to /storage/.cache/hostname) at boot time.

  • /storage/.kodi/userdata/addon_data/service.libreelec.settings/oe_settings.xml and /etc/hosts seems to be the only one way, which is not really user-friendly...


    Regards,

    Jan

  • "It is with default skin Estuary ;)"


    Impossible to change hostname on GUI with default skin "Estuary"?


    Regards, Jan

  • It is fine here on LE 8.90.007, Generic.x86_64.

    Gone...

    • Official Post

    The LE settings add-on is always visible under "Add-ons > Program Add-ons" from the Home Menu in any skin. The shortcut icon in the Kodi settings menu is only visible in Estuary and Confluence (and maybe Aeon).