Upgrade from 2.x
Use this guide if you already run keen-pbr 2.x on Keenetic / NetCraze and want to migrate to the current package and config format.
1. Replace the repository
Open the repository instructions page, select Keenetic / NetCraze in the OS selector on the left, select your router architecture, and follow the generated commands to replace the old keen-pbr 2.x repository with the current one:
keen-pbr repositoryUse the commands exactly as shown for Keenetic / NetCraze on the repository page.
Before changing packages, keep a backup copy of your current 2.x config so you can compare it with the converted result if needed.
2. Install keen-pbr
After replacing the repository, install the current package.
Keenetic / NetCraze
bash
opkg install keen-pbr
# or if you want headless version (without API and without WebUI)
# opkg install keen-pbr-headlessConfig path:
/opt/etc/keen-pbr/config.json3. Upgrade the config to the new format
Open the Config Converter
Then:
- Copy the content of
/opt/etc/keen-pbr/keen-pbr.confinto the converter input field on the left. - Review the generated config.
- Replace the content of
/opt/etc/keen-pbr/config.jsonwith the converted output.
Replace the config file with the converted output only after you have reviewed it.
4. Restart keen-pbr
Restart the service after saving the config.
bash
/opt/etc/init.d/S80keen-pbr restartAfter restart, open Quick Start if you want to verify the service in the Web UI or continue with JSON / CLI setup.