Skip to content

Latest commit

 

History

History
61 lines (31 loc) · 1.45 KB

command-line-arguments.md

File metadata and controls

61 lines (31 loc) · 1.45 KB

WiFi Connect Command Line Arguments

Flags

  • -h, --help

    Prints help information

  • -V, --version

    Prints version information

Options

Command line options have environment variable counterpart. If both a command line option and its environment variable counterpart are defined, the command line option will take higher precedence.

  • -d, --portal-dhcp-range dhcp_range, $PORTAL_DHCP_RANGE

    DHCP range of the captive portal WiFi network

    Default: 192.168.42.2,192.168.42.254

  • -g, --portal-gateway gateway, $PORTAL_GATEWAY

    Gateway of the captive portal WiFi network

    Default: 192.168.42.1

  • -o, --portal-listening-port listening_port, $PORTAL_LISTENING_PORT

    Listening port of the captive portal web server

    Default: 80

  • -i, --portal-interface interface, $PORTAL_INTERFACE

    Wireless network interface to be used by WiFi Connect

  • -p, --portal-passphrase passphrase, $PORTAL_PASSPHRASE

    WPA2 Passphrase of the captive portal WiFi network

    Default: no passphrase

  • -s, --portal-ssid ssid, $PORTAL_SSID

    SSID of the captive portal WiFi network

    Default: WiFi Connect

  • -a, --activity-timeout timeout, $ACTIVITY_TIMEOUT

    Exit if no activity for the specified timeout (seconds)

    Default: 0 - no timeout

  • -u, --ui-directory ui_directory, $UI_DIRECTORY

    Web UI directory location

    Default: ui