From e0f490fee4e09ca567601acf889c58f62cd4580e Mon Sep 17 00:00:00 2001 From: Sven Eckelmann Date: Fri, 7 May 2021 13:41:04 +0200 Subject: [PATCH] ucentral: Fix bringup of encrypted meshpoint interfaces The encrypted mesh interfaces need a wpa_supplicant which supports SAE. This can be for example wpad-openssl or wpad-mesh-openssl. Otherwise wpa_supplicant fails with on startup: Line 7: invalid key_mgmt 'SAE' Line 7: no key_mgmt values configured. Line 7: failed to parse key_mgmt 'SAE'. Line 8: too large mode (value=5 max_value=4) Line 8: failed to parse mode '5'. Line 9: unknown network field 'mesh_fwding'. Line 18: failed to parse network block. The correct package for this was already listed in the dependencies for ucentral-ap and ucentral-ap-light. But this package conflicted with the default package wpad and was therefore only build as optional package. The wpad package must therefore be deselected before selecting wpad(-mesh)-openssl. Signed-off-by: Sven Eckelmann --- profiles/ucentral-ap-light.yml | 1 + profiles/ucentral-ap.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/profiles/ucentral-ap-light.yml b/profiles/ucentral-ap-light.yml index 9bc83b11..b9f4ec96 100644 --- a/profiles/ucentral-ap-light.yml +++ b/profiles/ucentral-ap-light.yml @@ -42,6 +42,7 @@ diffconfig: | CONFIG_OPENSSL_WITH_PSK=y CONFIG_OPENSSL_WITH_SRP=y CONFIG_OPENSSL_WITH_TLS13=y + # CONFIG_PACKAGE_wpad is not set # CONFIG_PACKAGE_wpad-basic-wolfssl is not set # CONFIG_PACKAGE_dnsmasq is not set CONFIG_IMAGEOPT=y diff --git a/profiles/ucentral-ap.yml b/profiles/ucentral-ap.yml index 521c9cd2..341cacb0 100644 --- a/profiles/ucentral-ap.yml +++ b/profiles/ucentral-ap.yml @@ -55,6 +55,7 @@ diffconfig: | CONFIG_OPENSSL_WITH_PSK=y CONFIG_OPENSSL_WITH_SRP=y CONFIG_OPENSSL_WITH_TLS13=y + # CONFIG_PACKAGE_wpad is not set # CONFIG_PACKAGE_wpad-basic-wolfssl is not set # CONFIG_PACKAGE_dnsmasq is not set CONFIG_IMAGEOPT=y