slitaz-boot-scripts annotate etc/network.conf @ rev 446

network.sh: stop wpa_cli interactive mode with static_ip
author Richard Dunbar <mojo@slitaz.org>
date Fri Oct 27 12:18:19 2017 -0400 (2017-10-27)
parents 6c2d6362887d
children
rev   line source
pankso@8 1 # /etc/network.conf: SliTaz system wide networking configuration.
pankso@8 2 # Config file used by: /etc/init.d/network.sh
pankso@8 3 #
pankso@8 4
al@393 5 NETWORK_CONF_VERSION="2"
al@393 6
pankso@8 7 # Set default interface.
pankso@8 8 INTERFACE="eth0"
pankso@8 9
pankso@8 10 # Dynamic IP address.
pankso@8 11 # Enable/disable DHCP client at boot time.
pankso@8 12 DHCP="yes"
pankso@8 13
al@393 14
al@393 15 #
al@393 16 # Settings only for static IP address.
al@393 17 #
al@393 18
pankso@8 19 # Enable/disable static IP at boot time.
pankso@8 20 STATIC="no"
pankso@8 21
paul@181 22 # Set IP address and netmask for a static IP.
pankso@8 23 IP="192.168.0.6"
pankso@8 24 NETMASK="255.255.255.0"
pankso@8 25
erjo@326 26 # Set broadcast address
erjo@326 27 BROADCAST="192.168.0.255"
erjo@326 28
pankso@8 29 # Set route gateway for a static IP.
pankso@8 30 GATEWAY="192.168.0.1"
pankso@8 31
erjo@326 32 # Set domain name
erjo@326 33 DOMAIN=""
erjo@326 34
paul@181 35 # Set DNS server for a static IP.
pankso@8 36 DNS_SERVER="192.168.0.1"
pankso@8 37
al@393 38
al@393 39 #
al@393 40 # Wi-Fi settings.
al@393 41 #
al@393 42
pankso@68 43 # Enable/disable wireless connection at boot time.
pankso@68 44 WIFI="no"
pankso@68 45
al@393 46 # Set "yes" if you don't want to store networks you're already connected.
al@393 47 WIFI_BLANK_NETWORKS=""
al@393 48
al@393 49
al@393 50 #
al@393 51 # Wi-Fi settings for iwconfig.
al@393 52 #
al@393 53
al@393 54 # Wi-Fi interface. It can auto-search interface if value below is fail.
pankso@68 55 WIFI_INTERFACE="wlan0"
al@393 56
al@393 57 # WPA driver; default is "wext" (Wireless Extension).
al@393 58 WIFI_WPA_DRIVER="wext"
al@393 59
al@393 60 # Set the operating mode of the device. The mode can be "Ad-Hoc", "Managed",
al@393 61 # "Master", "Repeater", "Secondary", "Monitor" or "Auto".
al@393 62 WIFI_MODE="managed"
al@393 63
al@393 64 # Set the operating channel in the device. Empty by default.
al@393 65 WIFI_CHANNEL=""
al@393 66
paul@395 67 # Force the card to register to the Access Point given by the address, if it's
paul@395 68 # possible. Empty by default to automatic mode.
al@393 69 WIFI_AP=""
al@393 70
al@393 71
al@393 72 #
al@393 73 # Wi-Fi settings for wpa_supplicant (for given network).
al@393 74 #
al@393 75
al@393 76 # SSID (network name)
pascal@85 77 WIFI_ESSID="any"
al@393 78
al@393 79 # BSSID (optional), use this block to associate with the AP
al@393 80 WIFI_BSSID=""
al@393 81
al@393 82 # Wi-Fi security. Empty ("") for open network; "ANY" for trying many methods;
al@393 83 # "WEP" for WEP; "WPA" for WPA/WPA2-PSK; "EAP" for 802.1x EAP.
al@393 84 WIFI_KEY_TYPE="any"
al@393 85
al@393 86 # Password for WEP, WPA, EAP, WAPI, and ANY; both in ASCII or HEX form.
pankso@346 87 WIFI_KEY=""
pankso@346 88
al@393 89 # Method for EAP: "PEAP", "TLS", "TTLS", "PWD".
al@393 90 WIFI_EAP_METHOD=""
al@393 91
al@393 92 # File path to CA certificate file (PEM/DER).
al@393 93 WIFI_CA_CERT=""
al@393 94
al@393 95 # File path to client certificate file (PEM/DER).
al@393 96 WIFI_CLIENT_CERT=""
al@393 97
al@393 98 # Identity string for EAP.
pankso@346 99 WIFI_IDENTITY=""
al@393 100
al@393 101 # Anonymous identity string for EAP.
al@393 102 WIFI_ANONYMOUS_IDENTITY=""
al@393 103
al@393 104 # Inner authentication parameters: "", "PAP", "MSCHAP", "MSCHAPV2", "GTC".
al@393 105 WIFI_PHASE2=""