diff options
author | James Rayner <james@archlinux.org> | 2007-11-10 00:43:57 +0100 |
---|---|---|
committer | James Rayner <james@archlinux.org> | 2007-11-10 00:43:57 +0100 |
commit | e9f9e4d54cb3afb6d78a12e85035a24d346c381d (patch) | |
tree | b3971b8737ab56b6055d2440f5b78c74fc2adb25 /examples/complete.example | |
download | netctl-e9f9e4d54cb3afb6d78a12e85035a24d346c381d.tar.gz netctl-e9f9e4d54cb3afb6d78a12e85035a24d346c381d.tar.xz |
Initial Import
Diffstat (limited to 'examples/complete.example')
-rw-r--r-- | examples/complete.example | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/examples/complete.example b/examples/complete.example new file mode 100644 index 0000000..61e76ef --- /dev/null +++ b/examples/complete.example @@ -0,0 +1,46 @@ +CONNECTION="wireless" +DESCRIPTION="Very verbose complete wireless example" + +INTERFACE=eth0 +HOSTNAME=myhost + +# Interface Settings (use IFOPTS="dhcp" for DHCP) +IFOPTS="192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255" +GATEWAY=192.168.0.1 + +# DHCP Example +#IFOPTS=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" |