summaryrefslogtreecommitdiffstats
path: root/network/80-wifi-ap.network.example
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-10-30 11:21:41 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-10-30 11:21:41 +0100
commita9eedd3cf7ded2789c70a00432e797c4e6eb8a64 (patch)
treea4ff7e1494f6ff1834c3084440bb17f36a23d8a2 /network/80-wifi-ap.network.example
parentNEWS: start preparations for v244 (diff)
downloadsystemd-a9eedd3cf7ded2789c70a00432e797c4e6eb8a64.tar.xz
systemd-a9eedd3cf7ded2789c70a00432e797c4e6eb8a64.zip
network: install wifi-adhoc.network by default, make wifi-{ap,station} examples
I think 80-wifi-adhoc.network is safe enough, since it just enables the link-local addressing. But the other two enable DHCP in client or server modes, and we should not do this by default.
Diffstat (limited to 'network/80-wifi-ap.network.example')
-rw-r--r--network/80-wifi-ap.network.example8
1 files changed, 8 insertions, 0 deletions
diff --git a/network/80-wifi-ap.network.example b/network/80-wifi-ap.network.example
new file mode 100644
index 0000000000..6644c7e765
--- /dev/null
+++ b/network/80-wifi-ap.network.example
@@ -0,0 +1,8 @@
+[Match]
+Type=wifi
+WLANInterfaceType=ap
+
+[Network]
+Address=0.0.0.0/24
+DHCPServer=yes
+IPMasquerade=yes