The latest development version of this page may be more current than this released 2.7.5 version.

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 drivers/ethernet/Kconfig.native_posix:14

Included via Kconfig:8Kconfig.zephyr:42drivers/Kconfig:20drivers/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.)