diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-09-23 02:34:52 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-10-25 16:43:24 +0900 |
commit | 15e089644c43db9d9fa46c117889afb30fafe6a3 (patch) | |
tree | f398218052d82ca1b0a584e020a0402f12109f48 /network | |
parent | 78404d22cca9cbbc8adb9dd7248da2f2725b1dbc (diff) | |
download | systemd-15e089644c43db9d9fa46c117889afb30fafe6a3.tar.gz |
network: add default configurations for wireless interfaces
Diffstat (limited to 'network')
-rw-r--r-- | network/80-wifi-adhoc.network | 6 | ||||
-rw-r--r-- | network/80-wifi-ap.network | 8 | ||||
-rw-r--r-- | network/80-wifi-station.network | 6 |
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 |