:orphan: .. title:: CONFIG_ETH_NATIVE_POSIX_SETUP_SCRIPT .. kconfig:: CONFIG_ETH_NATIVE_POSIX_SETUP_SCRIPT CONFIG_ETH_NATIVE_POSIX_SETUP_SCRIPT #################################### *Host setup script* Type: ``string`` Help ==== .. code-block:: none This option sets the name of the script that is run when the host TAP network interface is created. The script should setup IP addresses etc. for the host TAP network interface. The default script accepts following options: -i|--interface , default is zeth -f|--file , default is net_setup_host.conf If needed, you can add these options to this script name option. Note that the driver will add -i option with the value of CONFIG_ETH_NATIVE_POSIX_DRV_NAME option to the end of the options list when calling the host setup script. Direct dependencies =================== \ :kconfig:`ETH_NATIVE_POSIX_STARTUP_AUTOMATIC ` && \ :kconfig:`ETH_NATIVE_POSIX ` && \ :kconfig:`NET_L2_ETHERNET ` *(Includes any dependencies from ifs and menus.)* Default ======= - "/home/runner/work/bridle/bridle/workspace/zephyr/samples/net/eth_native_posix/net_setup_host" Kconfig definition ================== At ``/ethernet/Kconfig.native_posix:27`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:42`` → ``/Kconfig:20`` → ``/ethernet/Kconfig:54`` Menu path: (Top) → Device Drivers → Ethernet Drivers → Native Posix Ethernet driver → Start network interface automatically .. code-block:: kconfig config ETH_NATIVE_POSIX_SETUP_SCRIPT string "Host setup script" default "/home/runner/work/bridle/bridle/workspace/zephyr/samples/net/eth_native_posix/net_setup_host" depends on ETH_NATIVE_POSIX_STARTUP_AUTOMATIC && ETH_NATIVE_POSIX && NET_L2_ETHERNET help This option sets the name of the script that is run when the host TAP network interface is created. The script should setup IP addresses etc. for the host TAP network interface. The default script accepts following options: -i|--interface , default is zeth -f|--file , default is net_setup_host.conf If needed, you can add these options to this script name option. Note that the driver will add -i option with the value of CONFIG_ETH_NATIVE_POSIX_DRV_NAME option to the end of the options list when calling the host setup script. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*