summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJames Rayner <james@archlinux.org>2009-09-22 14:15:02 +0200
committerJames Rayner <james@archlinux.org>2009-09-22 14:15:02 +0200
commit1c6760ebd6b7d6630fbab75885fac5dbea90c78b (patch)
tree05e67c2ab4fab972984fae3671b2b5cae116d2e7 /examples
parent57bed3df9310db328d80b32b31fdefa8418bbd1e (diff)
downloadnetctl-1c6760ebd6b7d6630fbab75885fac5dbea90c78b.tar.gz
netctl-1c6760ebd6b7d6630fbab75885fac5dbea90c78b.tar.xz
Merge connections ethernet/ethernet-iproute
Diffstat (limited to 'examples')
-rw-r--r--examples/ethernet-dhcp2
-rw-r--r--examples/ethernet-iproute2
-rw-r--r--examples/ethernet-static2
-rw-r--r--examples/wireless-wpa-static10
4 files changed, 13 insertions, 3 deletions
diff --git a/examples/ethernet-dhcp b/examples/ethernet-dhcp
index 78edfc4..9757b67 100644
--- a/examples/ethernet-dhcp
+++ b/examples/ethernet-dhcp
@@ -1,4 +1,4 @@
-CONNECTION="ethernet-iproute"
+CONNECTION="ethernet"
DESCRIPTION="A basic dhcp ethernet connection using iproute"
INTERFACE="eth0"
IP="dhcp"
diff --git a/examples/ethernet-iproute b/examples/ethernet-iproute
index 6ac20e1..16d88b5 100644
--- a/examples/ethernet-iproute
+++ b/examples/ethernet-iproute
@@ -1,4 +1,4 @@
-CONNECTION="ethernet-iproute"
+CONNECTION="ethernet"
DESCRIPTION="A more versatile static ethernet connection using iproute"
INTERFACE="eth0"
IP="static"
diff --git a/examples/ethernet-static b/examples/ethernet-static
index 50756bc..630ff14 100644
--- a/examples/ethernet-static
+++ b/examples/ethernet-static
@@ -1,4 +1,4 @@
-CONNECTION="ethernet-iproute"
+CONNECTION="ethernet"
DESCRIPTION="A basic static ethernet connection using iproute"
INTERFACE="eth0"
IP="static"
diff --git a/examples/wireless-wpa-static b/examples/wireless-wpa-static
new file mode 100644
index 0000000..8c1aaf0
--- /dev/null
+++ b/examples/wireless-wpa-static
@@ -0,0 +1,10 @@
+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")