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

systemd-conf: Add bbappend for WiFi hotspot network config file


Together with hostapd this will give us all we need to run a very basic
WiFi hotspot setup. DHCP, DNS and NAT for the clients to serve.

Signed-off-by: default avatarStefan Schmidt <stefan.schmidt@huawei.com>
parent c6eaf1aa
No related branches found
No related tags found
No related merge requests found
[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