:orphan: .. title:: CONFIG_NET_HOSTNAME .. kconfig:: CONFIG_NET_HOSTNAME CONFIG_NET_HOSTNAME ################### *The hostname of this device* Type: ``string`` Help ==== .. code-block:: none The string should be a valid hostname. Direct dependencies =================== \ :kconfig:`NET_HOSTNAME_ENABLE ` && \ :kconfig:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Default ======= - "zephyr" Kconfig definition ================== At ``/net/Kconfig.hostname:14`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:39`` → ``/net/Kconfig:83`` Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Add hostname to the device .. code-block:: kconfig config NET_HOSTNAME string "The hostname of this device" default "zephyr" depends on NET_HOSTNAME_ENABLE && NETWORKING help The string should be a valid hostname. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*