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

networkmanager-softap-config: Add SoftAP solution for gateway blueprint


Deploy a system-connection which enables the networkmanager hotspot
feature and creates a WiFi SoftAP. WiFi properties like channel, band,
SSID and password stay the same as with the former hostapd based solution.

Signed-off-by: default avatarStefan Schmidt <stefan.schmidt@huawei.com>
parent 36c2e883
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,7 @@ IMAGE_INSTALL_append = "\
packagegroup-thread-client \
mosquitto \
coap \
networkmanager-softap-config \
"
# Avoid build warning(s) for ununsed extra partitions.
ST_VENDORFS = "0"
......
[connection]
id=SoftAP
uuid=3b73c72c-be72-4458-9fd7-e8b1d6ee4e8d
type=wifi
autoconnect=true
interface-name=wlan0
permissions=
[wifi]
band=bg
channel=6
mac-address-blacklist=
mode=ap
ssid=Oniro Project WiFi
[wifi-security]
group=ccmp;
key-mgmt=wpa-psk
pairwise=ccmp;
proto=rsn;
psk=12345678
[ipv4]
address1=172.16.47.1/24,172.16.47.1
dns-search=
method=shared
[ipv6]
addr-gen-mode=stable-privacy
dns-search=
method=auto
[proxy]
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${ONIRO_COREBASE}/LICENSES/Apache-2.0.txt;md5=ef3dabb8f39493f4ea410bebc1d01755"
SRC_URI = "file://SoftAP.nmconnection"
do_install_append() {
install -D -m0600 ${WORKDIR}/SoftAP.nmconnection ${D}${libdir}/NetworkManager/system-connections/SoftAP.nmconnection
}
FILES_${PN} += "${libdir}/NetworkManager/system-connections/"
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