2022-10-26 14:34:13 +08:00
|
|
|
# SPDX-License-Identifier: MIT-0
|
2022-01-12 00:40:47 +08:00
|
|
|
#
|
|
|
|
# This example config file is installed as part of systemd.
|
2022-10-26 14:34:13 +08:00
|
|
|
# It may be freely copied and edited (following the MIT No Attribution license).
|
2022-01-12 00:40:47 +08:00
|
|
|
#
|
|
|
|
# To use the file, one of the following methods may be used:
|
|
|
|
# 1. add a symlink from /etc/systemd/network to the current location of this file,
|
|
|
|
# 2. copy the file into /etc/systemd/network or one of the other paths checked
|
|
|
|
# by systemd-networkd and edit it there.
|
|
|
|
# This file should not be edited in place, because it'll be overwritten on upgrades.
|
|
|
|
|
2019-09-23 01:34:52 +08:00
|
|
|
[Match]
|
2021-05-10 16:09:56 +08:00
|
|
|
Type=wlan
|
2019-10-25 20:18:23 +08:00
|
|
|
WLANInterfaceType=ap
|
2019-09-23 01:34:52 +08:00
|
|
|
|
|
|
|
[Network]
|
|
|
|
Address=0.0.0.0/24
|
|
|
|
DHCPServer=yes
|
2021-02-24 19:29:24 +08:00
|
|
|
IPMasquerade=both
|
2023-11-02 12:29:45 +08:00
|
|
|
IPv6AcceptRA=no
|
|
|
|
IPv6SendRA=yes
|