CONFIG_ETH_NATIVE_POSIX_STARTUP_AUTOMATIC

Start network interface automatically

Type: bool

Help

If set, the native_posix ethernet driver will set up the network interface, requiring zephyr.exe to be run with root privileges (needed to create and configure the TAP device). If not set (the default and recommended way), the network interface must be set up manually using net-setup.sh (from the net-tools project repo). The zephyr.exe program can then be run as a non-root user.

Direct dependencies

ETH_NATIVE_POSIX && NET_L2_ETHERNET

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Zephyr>/drivers/ethernet/Kconfig.native_posix:14

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:20<Zephyr>/drivers/ethernet/Kconfig:54

Menu path: (Top) → Device Drivers → Ethernet Drivers → Native Posix Ethernet driver

config ETH_NATIVE_POSIX_STARTUP_AUTOMATIC
    bool "Start network interface automatically"
    depends on ETH_NATIVE_POSIX && NET_L2_ETHERNET
    help
      If set, the native_posix ethernet driver will set up the network
      interface, requiring zephyr.exe to be run with root privileges
      (needed to create and configure the TAP device).
      If not set (the default and recommended way), the network interface
      must be set up manually using net-setup.sh (from the net-tools
      project repo). The zephyr.exe program can then be run as a
      non-root user.

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