summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-10-25 14:18:23 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-10-25 14:19:06 +0200
commit1bcefad91907e134a853430f18689b50e39ac5f7 (patch)
treeceaca263e146bbf60eb06c2e7d783ea425bf2f67 /network
parentvarious tools: be more explicit when a glob is passed when not supported (diff)
parentnetwork: add default configurations for wireless interfaces (diff)
downloadsystemd-1bcefad91907e134a853430f18689b50e39ac5f7.tar.xz
systemd-1bcefad91907e134a853430f18689b50e39ac5f7.zip
Merge pull request #13623 from yuwata/network-wifi-iftype
Diffstat (limited to 'network')
-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..b909f9a6c6
--- /dev/null
+++ b/network/80-wifi-adhoc.network
@@ -0,0 +1,6 @@
+[Match]
+Type=wifi
+WLANInterfaceType=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..6644c7e765
--- /dev/null
+++ b/network/80-wifi-ap.network
@@ -0,0 +1,8 @@
+[Match]
+Type=wifi
+WLANInterfaceType=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..9268eb68dd
--- /dev/null
+++ b/network/80-wifi-station.network
@@ -0,0 +1,6 @@
+[Match]
+Type=wifi
+WLANInterfaceType=station
+
+[Network]
+DHCP=yes