Project

General

Profile

Actions

Support #240

closed

Wifiap binding fails loading configuration file

Added by Emmanuel Jubera [SAFT] 13 days ago. Updated 2 days ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
09/01/2025
Due date:
% Done:

100%

Estimated time:
Hardware platform:
Solidrun (aarch64)
OS Affects Version/s:
batz-2.0
OS Fix Version/s:
batz-2.0
Labels:

Description

I generated a new eMoJy image and pulled a new version of wifiap-binding (wifiap-binding-0.1.3+45+ge99f391-19.redpesk.common.rpbatz.aarch64).
With this version, I get the following error at startup: afbd-wifiap-binding[1492]: ERROR: [WifiAp API] Failed to read config file [/builddir/build/BUILD/wifiap-binding-0.1.3+45+ge99f391/src/wifiAp.c:1525,binding_ctl]
Does this mean that the config file was not found or that there is an error in the file?
Before I had the version wifiap-binding-0.1.3-16.redpesk.common.rpbatz.ar1.aarch64

Actions #1

Updated by Valentin Geffroy 5 days ago

  • Status changed from New to In Progress
Actions #2

Updated by Valentin Geffroy 4 days ago

  • % Done changed from 0 to 90

Issue identified!

After some investigations, I saw that the packaging has changed. Indeed the default configuration JSON path has changed:

# before - in v0.1.3-16
/usr/redpesk/wifiap-binding/etc/wifi-wifiap-binding-default-config.json
# after - in v0.1.3-45
/usr/redpesk/wifiap-binding/etc/wifiap-config.json

A temporary workaround would be to move your JSON config at the previous path and see if the binding launch is good.

Please note that a huge upgrade of this binding (afb V4 migration) is coming for October.
It will bring a lot of changes and especially with the default configuration.

Actions #3

Updated by Valentin Geffroy 2 days ago

  • % Done changed from 90 to 100
Actions #4

Updated by Valentin Geffroy 2 days ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF