CONFIG_NET_HOSTNAME
The hostname of this device
Type: string
Help
The string should be a valid hostname.
Direct dependencies
NET_HOSTNAME_ENABLE
&& NETWORKING
(Includes any dependencies from ifs and menus.)
Default
“zephyr”
Kconfig definition
At <Zephyr>/subsys/net/Kconfig.hostname:14
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:44
→ <Zephyr>/subsys/Kconfig:39
→ <Zephyr>/subsys/net/Kconfig:79
Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Add hostname to the device
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.)