Skip to content

opennds: update to version 11.0.0#1184

Closed
itay-sho wants to merge 2 commits into
openwrt:masterfrom
itay-sho:master
Closed

opennds: update to version 11.0.0#1184
itay-sho wants to merge 2 commits into
openwrt:masterfrom
itay-sho:master

Conversation

@itay-sho

@itay-sho itay-sho commented Jul 4, 2026

Copy link
Copy Markdown

Release notes:
https://github.com/openNDS/openNDS/releases/tag/v11.0.0

Install new files added upstream:

  • ndscfg library wrapper (to /usr/bin, called via PATH by binauth_log.sh)
  • check_reauth_interval.sh binauth extension
  • theme_trusted_only.sh and theme_allow_all.sh ThemeSpec scripts

Note: openNDS 11.0.0 requires the UCI config to use a named section (config opennds 'setup') and aborts on startup otherwise. Existing configs from 10.x (anonymous section) must be migrated manually as /etc/config/opennds is a conffile and is preserved on upgrade.

Maintainer: @bluewavenet
Compile tested: Banana Pi R4, 25.12, aarch64 (Filogic)
Run tested: Banana Pi R4, 25.12, aarch64 (Filogic) — confirmed end-to-end: after migrating /etc/config/opennds to the required named 'setup' section, openNDS 11.0.0 started cleanly, a client connected to the guest network, completed the FAS captive portal flow, and reached Authenticated state (verified via ndsctl json) with real upload/download traffic passing afterward.

Description:
opennds: update to version 11.0.0

Release notes:
https://github.com/openNDS/openNDS/releases/tag/v11.0.0

Install new files added upstream:
 - ndscfg library wrapper (to /usr/bin, called via PATH by binauth_log.sh)
 - check_reauth_interval.sh binauth extension
 - theme_trusted_only.sh and theme_allow_all.sh ThemeSpec scripts

Note: openNDS 11.0.0 requires the UCI config to use a named section
(config opennds 'setup') and aborts on startup otherwise. Existing
configs from 10.x (anonymous section) must be migrated manually as
/etc/config/opennds is a conffile and is preserved on upgrade.

Signed-off-by: Itay Shoshani <itai.sho@gmail.com>

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the OpenWrt opennds package recipe to upstream openNDS v11.0.0, including installing additional upstream helper scripts/binaries required by the new release.

Changes:

  • Bump PKG_VERSION to 11.0.0, reset PKG_RELEASE, and update PKG_HASH.
  • Install the new ndscfg wrapper into /usr/bin.
  • Install new binauth/theme helper scripts added upstream.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread opennds/Makefile
$(CP) $(PKG_BUILD_DIR)/forward_authentication_service/PreAuth/theme_user-email-login-basic.sh $(1)/usr/lib/opennds/
$(CP) $(PKG_BUILD_DIR)/forward_authentication_service/PreAuth/theme_user-email-login-custom-placeholders.sh $(1)/usr/lib/opennds/
$(CP) $(PKG_BUILD_DIR)/forward_authentication_service/PreAuth/theme_trusted_only.sh $(1)/usr/lib/opennds/
$(CP) $(PKG_BUILD_DIR)/forward_authentication_service/PreAuth/theme_allow_all.sh $(1)/usr/lib/opennds/

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

openNDS 11.0.0 requires the UCI config to use a named 'setup'
section and aborts on startup otherwise. Since /etc/config/opennds
is a conffile, upgrading from 10.x preserves the old anonymous
section as-is, leaving the service unable to start until manually
migrated.

Add a postinst that renames an existing anonymous @openNDS[0]
section to 'setup' when no named setup section exists yet, and
restarts the service so the fix takes effect immediately rather
than waiting for the next respawn or reboot.

Reported-by: copilot-pull-request-reviewer[bot]
Signed-off-by: Itay Shoshani <itai.sho@gmail.com>

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@bluewavenet

Copy link
Copy Markdown
Contributor

@itay-sho @BKPepe
OpenNDS is currently in version 11.1.0 beta testing, so this PR is irrelevant and should not be merged.

If @itay-sho would care to discuss any proposed changes, these should be brought up in the first instance as Github Issues at:
https://github.com/openNDS/openNDS/issues

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.

4 participants