Skip to content
Snippets Groups Projects
Commit 159008e3 authored by Stefan Schmidt's avatar Stefan Schmidt
Browse files

systemd-conf: Remove systemd-networkd append from gateway blueprint


We switched from a systemd-networkd and hostapd based SoftAP solution to
network-manager. Interface configuration as well as DHCP and DNS for the
WiFi clients are now handled by the network-manager hotspot feature.

Signed-off-by: default avatarStefan Schmidt <stefan.schmidt@huawei.com>
parent 782d4d84
No related branches found
No related tags found
No related merge requests found
...@@ -33,6 +33,3 @@ BBMASK = "" ...@@ -33,6 +33,3 @@ BBMASK = ""
# We want hostapd service to start by default for this blueprint # We want hostapd service to start by default for this blueprint
SYSTEMD_AUTO_ENABLE_pn-hostapd = "enable" SYSTEMD_AUTO_ENABLE_pn-hostapd = "enable"
# Enable iptables support in systemd-networkd for NAT
PACKAGECONFIG_append_pn-systemd = " iptc"
[Match]
Name=wlan0
[Network]
Address=172.16.47.1/24
DHCPServer=true
IPMasquerade=true
[DHCPServer]
PoolOffset=100
PoolSize=50
EmitDNS=yes
DNS=9.9.9.9 8.8.8.8
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI_append = "file://80-wireless.network"
do_install_append() {
install -D -m0644 ${WORKDIR}/80-wireless.network ${D}${systemd_unitdir}/network/
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment