summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorRémy Oudompheng <remy@archlinux.org>2011-06-19 21:55:39 +0200
committerRémy Oudompheng <remy@archlinux.org>2011-06-19 21:55:39 +0200
commit75de64fe51110f7550e1f0f4b5d5f5a7e5a7440f (patch)
treeb6d586547e32b9fcb3dbae80b8c00aab3cebc76a /examples
parent5ac9b45fe392a70c7325aac65ff02f572cdf1cff (diff)
downloadnetctl-75de64fe51110f7550e1f0f4b5d5f5a7e5a7440f.tar.gz
netctl-75de64fe51110f7550e1f0f4b5d5f5a7e5a7440f.tar.xz
Rationalize source tree hierarchy.
Diffstat (limited to 'examples')
-rw-r--r--examples/bridge9
-rw-r--r--examples/ethernet-dhcp9
-rw-r--r--examples/ethernet-iproute7
-rw-r--r--examples/ethernet-static14
-rw-r--r--examples/openvpn5
-rw-r--r--examples/ppp4
-rw-r--r--examples/tuntap6
-rw-r--r--examples/vlan-dhcp5
-rw-r--r--examples/vlan-static12
-rw-r--r--examples/wireless-open8
-rw-r--r--examples/wireless-wep11
-rw-r--r--examples/wireless-wep-string-key9
-rw-r--r--examples/wireless-wpa9
-rw-r--r--examples/wireless-wpa-config8
-rw-r--r--examples/wireless-wpa-configsection17
-rw-r--r--examples/wireless-wpa-static12
16 files changed, 0 insertions, 145 deletions
diff --git a/examples/bridge b/examples/bridge
deleted file mode 100644
index bd422fa..0000000
--- a/examples/bridge
+++ /dev/null
@@ -1,9 +0,0 @@
-INTERFACE="br0"
-CONNECTION="bridge"
-DESCRIPTION="Example Bridge connection"
-BRIDGE_INTERFACES="eth0 eth1 tap0"
-IP="dhcp"
-## sets forward delay time
-#FWD_DELAY=0
-## sets max age of hello message
-#MAX_AGE=10
diff --git a/examples/ethernet-dhcp b/examples/ethernet-dhcp
deleted file mode 100644
index 0719632..0000000
--- a/examples/ethernet-dhcp
+++ /dev/null
@@ -1,9 +0,0 @@
-CONNECTION='ethernet'
-DESCRIPTION='A basic dhcp ethernet connection using iproute'
-INTERFACE='eth0'
-IP='dhcp'
-## for DHCPv6
-#IP6='dhcp'
-## for IPv6 autoconfiguration
-#IP6='stateless'
-
diff --git a/examples/ethernet-iproute b/examples/ethernet-iproute
deleted file mode 100644
index d22dd17..0000000
--- a/examples/ethernet-iproute
+++ /dev/null
@@ -1,7 +0,0 @@
-CONNECTION='ethernet'
-DESCRIPTION='A more versatile static ethernet connection using iproute'
-INTERFACE='eth0'
-IP='static'
-# Any valid iproute command can be placed in this array
-IPCFG=('addr add dev eth0 192.168.1.23/24 brd +' 'route add default via 192.168.1.1')
-DNS=('192.168.1.1')
diff --git a/examples/ethernet-static b/examples/ethernet-static
deleted file mode 100644
index 250896d..0000000
--- a/examples/ethernet-static
+++ /dev/null
@@ -1,14 +0,0 @@
-CONNECTION='ethernet'
-DESCRIPTION='A basic static ethernet connection using iproute'
-INTERFACE='eth0'
-IP='static'
-ADDR='192.168.1.23'
-#ROUTES=('192.168.0.0/24 via 192.168.1.2')
-GATEWAY='192.168.1.1'
-DNS=('192.168.1.1')
-
-## For IPv6 static address configuration
-#IP6='static'
-#ADDR6=('1234:5678:9abc:def::1/64' '1234:3456::123/96')
-#ROUTES6=('abcd::1234')
-#GATEWAY6='1234:0:123::abcd'
diff --git a/examples/openvpn b/examples/openvpn
deleted file mode 100644
index b6106aa..0000000
--- a/examples/openvpn
+++ /dev/null
@@ -1,5 +0,0 @@
-CONNECTION="openvpn"
-INTERFACE="ignore"
-OVPN_CONFIG="/etc/openvpn/example/openvpn.conf"
-OVPN_PID_FILE="/tmp/openvpn.example.pid"
-OVPN_FLAGS=""
diff --git a/examples/ppp b/examples/ppp
deleted file mode 100644
index dfb6bc1..0000000
--- a/examples/ppp
+++ /dev/null
@@ -1,4 +0,0 @@
-CONNECTION='ppp'
-INTERFACE='ignore'
-PEER='provider'
-PPP_TIMEOUT=10
diff --git a/examples/tuntap b/examples/tuntap
deleted file mode 100644
index 2917875..0000000
--- a/examples/tuntap
+++ /dev/null
@@ -1,6 +0,0 @@
-INTERFACE='tun0'
-CONNECTION='tuntap'
-MODE='tun'
-USER='nobody'
-GROUP='nobody'
-
diff --git a/examples/vlan-dhcp b/examples/vlan-dhcp
deleted file mode 100644
index 8c6ad23..0000000
--- a/examples/vlan-dhcp
+++ /dev/null
@@ -1,5 +0,0 @@
-INTERFACE="eth0.55"
-VLAN_PHYS_DEV="eth0"
-VLAN_ID="55"
-CONNECTION="vlan"
-IP="dhcp"
diff --git a/examples/vlan-static b/examples/vlan-static
deleted file mode 100644
index b7b9753..0000000
--- a/examples/vlan-static
+++ /dev/null
@@ -1,12 +0,0 @@
-INTERFACE="eth0.11"
-VLAN_PHYS_DEV="eth0"
-VLAN_ID="11"
-CONNECTION="vlan"
-IP="static"
-ADDR="192.168.0.100"
-NETMASK="255.255.255.0"
-GATEWAY="192.168.0.1"
-DNS=("192.168.0.2")
-HOSTNAME="myhost"
-DOMAIN="mydomain.com"
-SEARCH="mydomain.com"
diff --git a/examples/wireless-open b/examples/wireless-open
deleted file mode 100644
index db8d6ef..0000000
--- a/examples/wireless-open
+++ /dev/null
@@ -1,8 +0,0 @@
-CONNECTION='wireless'
-DESCRIPTION='A simple opened wireless connection'
-INTERFACE='wlan0'
-SECURITY='none'
-ESSID='MyNetwork'
-IP='dhcp'
-# Uncomment this if your ssid is hidden
-#HIDDEN=yes
diff --git a/examples/wireless-wep b/examples/wireless-wep
deleted file mode 100644
index b16f65e..0000000
--- a/examples/wireless-wep
+++ /dev/null
@@ -1,11 +0,0 @@
-CONNECTION='wireless'
-DESCRIPTION='A simple WEP encrypted wireless connection'
-INTERFACE='wlan0'
-SECURITY='wep'
-ESSID='MyNetwork'
-KEY='1234567890'
-IP='dhcp'
-# Uncomment this if your ssid is hidden
-#HIDDEN=yes
-## Uncomment if you are using an ad-hoc connection
-#ADHOC=1
diff --git a/examples/wireless-wep-string-key b/examples/wireless-wep-string-key
deleted file mode 100644
index ebc4b0a..0000000
--- a/examples/wireless-wep-string-key
+++ /dev/null
@@ -1,9 +0,0 @@
-CONNECTION='wireless'
-DESCRIPTION='A simple WEP encrypted wireless connection'
-INTERFACE='wlan0'
-SECURITY='wep'
-ESSID='MyNetwork'
-KEY='s:Wireless Key'
-IP='dhcp'
-# Uncomment this if your ssid is hidden
-#HIDDEN=yes
diff --git a/examples/wireless-wpa b/examples/wireless-wpa
deleted file mode 100644
index 20f5509..0000000
--- a/examples/wireless-wpa
+++ /dev/null
@@ -1,9 +0,0 @@
-CONNECTION='wireless'
-DESCRIPTION='A simple WPA encrypted wireless connection'
-INTERFACE='wlan0'
-SECURITY='wpa'
-ESSID='MyNetwork'
-KEY='WirelessKey'
-IP='dhcp'
-# Uncomment this if your ssid is hidden
-#HIDDEN=yes
diff --git a/examples/wireless-wpa-config b/examples/wireless-wpa-config
deleted file mode 100644
index 955d845..0000000
--- a/examples/wireless-wpa-config
+++ /dev/null
@@ -1,8 +0,0 @@
-CONNECTION='wireless'
-DESCRIPTION='A wpa_supplicant configuration based wireless connection'
-INTERFACE='wlan0'
-SECURITY='wpa-config'
-WPA_CONF='/etc/wpa_supplicant.conf'
-IP='dhcp'
-# Uncomment this if your ssid is hidden
-#HIDDEN=yes
diff --git a/examples/wireless-wpa-configsection b/examples/wireless-wpa-configsection
deleted file mode 100644
index d6cc8ad..0000000
--- a/examples/wireless-wpa-configsection
+++ /dev/null
@@ -1,17 +0,0 @@
-CONNECTION='wireless'
-INTERFACE=wlan0
-SECURITY='wpa-configsection'
-# Uncomment this if your ssid is hidden
-#HIDDEN=yes
-IP='dhcp'
-CONFIGSECTION='
- ssid="University"
- key_mgmt=WPA-EAP
- eap=TTLS
- group=TKIP
- pairwise=TKIP CCMP
- anonymous_identity="anonymous"
- identity="myusername"
- password="mypassword"
- priority=1
- phase2="auth=PAP"'
diff --git a/examples/wireless-wpa-static b/examples/wireless-wpa-static
deleted file mode 100644
index 25da514..0000000
--- a/examples/wireless-wpa-static
+++ /dev/null
@@ -1,12 +0,0 @@
-CONNECTION='wireless'
-DESCRIPTION='A simple WPA encrypted wireless connection using a static IP'
-INTERFACE='wlan0'
-SECURITY='wpa'
-ESSID='MyNetwork'
-KEY='WirelessKey'
-IP='static' # Any other CONNECTION='ethernet' options may be used.
-ADDR='192.168.1.23'
-GATEWAY='192.168.1.1'
-DNS=('192.168.1.1')
-# Uncomment this if your ssid is hidden
-#HIDDEN=yes