From: Yu Watanabe Date: Sun, 22 Sep 2019 17:34:52 +0000 (+0900) Subject: network: add default configurations for wireless interfaces X-Git-Tag: v244-rc1~157^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13623%2Fhead;p=thirdparty%2Fsystemd.git network: add default configurations for wireless interfaces --- diff --git a/network/80-wifi-adhoc.network b/network/80-wifi-adhoc.network new file mode 100644 index 00000000000..a1320e1e0c6 --- /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 00000000000..8d62a7a4070 --- /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 00000000000..7d4555fd75d --- /dev/null +++ b/network/80-wifi-station.network @@ -0,0 +1,6 @@ +[Match] +Type=wifi +WirelessType=station + +[Network] +DHCP=yes