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 ifs and menus.)

Default

  • 30

Kconfig definition

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

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:22subsys/net/Kconfig:82subsys/net/lib/Kconfig:26

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

config NET_CONFIG_INIT_TIMEOUT
    int "How long to wait for networking to be ready and available"
    default 30
    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.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)