slitaz-boot-scripts view etc/network.conf @ rev 421

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