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

NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • 30

Kconfig definition

At <Zephyr>/subsys/net/lib/config/Kconfig:20

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:39<Zephyr>/subsys/net/Kconfig:87<Zephyr>/subsys/net/lib/Kconfig:28

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Network Libraries

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