CONFIG_NET_CONFIG_INIT_TIMEOUT

How long to wait for networking to be ready and available

Type: int

Help

The value is in seconds. If for example IPv4 address from DHCPv4 is not received within this limit, then the net_config_init() call will fail during the device startup.

Direct dependencies

NET_CONFIG_AUTO_INIT && NETWORKING

(Includes any dependencies from if’s and menus.)

Kconfig definition

At subsys/net/lib/config/Kconfig:22

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:24subsys/net/Kconfig:84subsys/net/lib/Kconfig:27

Menu path: (top menu) → Networking → Link layer and IP networking support → Network Libraries → Init networking support automatically during device startup

config NET_CONFIG_INIT_TIMEOUT
    int
    prompt "How long to wait for networking to be ready and available" if NET_CONFIG_AUTO_INIT && NETWORKING
    default 30 if NET_CONFIG_AUTO_INIT && NETWORKING
    depends on NET_CONFIG_AUTO_INIT && NETWORKING
    help
      The value is in seconds. If for example IPv4 address from DHCPv4 is not
      received within this limit, then the net_config_init() call will fail
      during the device startup.

(Definitions include propagated dependencies, including from if’s and menus.)