summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--network/80-wifi-adhoc.network6
-rw-r--r--network/80-wifi-ap.network8
-rw-r--r--network/80-wifi-station.network6
3 files changed, 20 insertions, 0 deletions
diff --git a/network/80-wifi-adhoc.network b/network/80-wifi-adhoc.network
new file mode 100644
index 0000000000..a1320e1e0c
--- /dev/null
+++ b/network/80-wifi-adhoc.network
@@ -0,0 +1,6 @@
+[Match]
+Type=wifi
+WirelessType=ad-hoc
+
+[Network]
+LinkLocalAddressing=yes
diff --git a/network/80-wifi-ap.network b/network/80-wifi-ap.network
new file mode 100644
index 0000000000..8d62a7a407
--- /dev/null
+++ b/network/80-wifi-ap.network
@@ -0,0 +1,8 @@
+[Match]
+Type=wifi
+WirelessType=ap
+
+[Network]
+Address=0.0.0.0/24
+DHCPServer=yes
+IPMasquerade=yes
diff --git a/network/80-wifi-station.network b/network/80-wifi-station.network
new file mode 100644
index 0000000000..7d4555fd75
--- /dev/null
+++ b/network/80-wifi-station.network
@@ -0,0 +1,6 @@
+[Match]
+Type=wifi
+WirelessType=station
+
+[Network]
+DHCP=yes