Skip to content

luci-mod-ucentral: fix uplink config not applied in Maverick mode - #1244

Open
Javen829 wants to merge 1 commit into
staging-for-v4.2.0-LTSfrom
staging-WIFI-15336-fix-PPPoE-username-in-Maverick-mode
Open

luci-mod-ucentral: fix uplink config not applied in Maverick mode#1244
Javen829 wants to merge 1 commit into
staging-for-v4.2.0-LTSfrom
staging-WIFI-15336-fix-PPPoE-username-in-Maverick-mode

Conversation

@Javen829

Copy link
Copy Markdown
Contributor

Problem:
The uplink config is not set in the /etc/config/network in Maverick mode.

Root Cause:
If /etc/ucentral/ucentral.active exists,
/usr/share/ucentral/ucentral.uc /etc/ucentral/ucentral.cfg.0000000001 is not executed. As a result, after configuring PPPoE in Maverick mode, ucentral does not read /etc/ucentral/profile.json and does not update the UCI configuration.

Solution:
After configuring the network in Maverick mode, profileupdate is triggered. Add a step to remove the symbolic link so that the UCI configuration can be updated after the AP reboots.

Tests: Successfully verified on RAP7110C-341X

Fixes: WIFI-15336

@github-actions

Copy link
Copy Markdown

✅ PR & Commit Guidelines — all checks passed

Commits, PR description, and C style all look good. Thanks!

Commit hygiene

No issues found.

C style

No issues found.

PR description (ticket link)

No issues found.

See OPENWIFI_PR_GUIDELINES.md and OPENWIFI_CODING_GUIDELINES.md. Items marked ⚠️ are advisory and do not fail the check.

Problem:
The uplink config is not set in the /etc/config/network
in Maverick mode.

Root Cause:
If /etc/ucentral/ucentral.active exists,
/usr/share/ucentral/ucentral.uc /etc/ucentral/ucentral.cfg.0000000001
is not executed. As a result, after configuring PPPoE in Maverick mode,
ucentral does not read /etc/ucentral/profile.json and does not update
the UCI configuration.

Solution:
After configuring the network in Maverick mode, profileupdate is
triggered. Add a step to remove the symbolic link so that the UCI
configuration can be updated after the AP reboots.

Tests: Successfully verified on RAP7110C-341X

Fixes: WIFI-15336
Signed-off-by: javen.hu <javen.hu@cybertan.com.tw>
@jemmy7780
jemmy7780 force-pushed the staging-WIFI-15336-fix-PPPoE-username-in-Maverick-mode branch from d97a828 to 2b56c94 Compare August 14, 2026 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants