blob: a2587f2022c68f21370af0b02b373cf9658e5347 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
CONNECTION="wireless"
DESCRIPTION="Very verbose complete wireless example"
INTERFACE=eth0
HOSTNAME=myhost
# Interface Settings (use IP="dhcp" for DHCP)
IP="static"
IFOPTS="192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
GATEWAY=192.168.0.1
# DHCP Example
#IP=dhcp
#DHCP_TIMEOUT=20 # Default is 10.
#DHCP_OPTIONS="" # Extra arguments for dhcpcd
# DNS Settings (optional)
DOMAIN=localdomain
DNS1=192.168.0.1
DNS2=
SEARCH=
# Standard Wireless Settings
ESSID=MyNetwork
SECURITY=wpa # One of wep, wpa, wpa-config, none
KEY="SomePasskey"
# Scans to see if network is available before connecting (reccomended)
SCAN="YES"
# Time to wait to connect to a network. Default 15.
TIMEOUT=10
# Pass *custom* options to iwconfig. Usually not needed (optional)
IWOPTS="mode managed essid $ESSID channel 6 key restricted $KEY"
# Any extra arguments for wpa_supplicant
WPA_OPTS=
# For SECURITY='wpa-config' only - filename of a wpa-supplicant config
WPA_CONF=
# Commands to run at various stages of configuration
PRE_UP=
POST_UP=
PRE_DOWN=
POST_DOWN="some command"
|