Skip to content

How to properly backup config for OpenWrt? #42

@axzxc1236

Description

@axzxc1236

I just did OpenWrt version update from 23.05.5 to 24.10.1 on my router, after restoring backup and install package I couldn't get geoip-shell to work, it says countries list is empty. (I had to reconfigure from scratch after doing geoip-shell reset)

root@OpenWrt:/tmp# opkg install geoip-shell_0.7.2-r1.ipk
Installing geoip-shell (0.7.2-1) to root...
Configuring geoip-shell.
Updating the config file... Ok.
Creating directory '/tmp/geoip-shell-data'... Ok.

Applying config... 
No IP lists registered - skipping firewall rules creation.
Processing cron jobs... 
cronsetup: Configured countries list is empty. Not creating cron jobs.
geoip-shell: Countries list in the config file is empty! No point in creating firewall include.

Successfully configured geoip-shell for firewall backend: nftables.

View geoblocking status with 'geoip-shell status' (may require 'sudo').

geoip-shell-mk-fw-include.sh: no_persist file exists. Disabling the init script.
Removing the firewall include... /usr/bin/geoip-shell-mk-fw-include.sh: line 75: OK: not found
/usr/bin/geoip-shell-mk-fw-include.sh: line 75: FAIL: not found
Committing fw4 changes...
Reloading firewall4...

The openwrt router is configured to save /etc/geoip-shell but appearantly that doesn't work, is there other file/directory that needs to be saved?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions