DD-WRT
Contents |
Clear DNS Cache
Telnet/SSH in to the router and use this command:
killall -1 dnsmasq
Backup/Restore
It is not recommended to restore backups from different versions of the firmware.[1] The suggested method is to backup individual settings from the NVRAM and restore them after the upgrade.
Procedure
Telnet or SSH in to the router and use these NVRAM commands:[2]
nvram show- show all NVRAM settings (there are a lot)nvram get <variable>- retrieve the value of a specific variablenvram set <variable>="<value>"- set the value of a variable (but does not commit it to memory)- Note: do not use quotes around the value for non-string types, e.g., the
forwardspec_entriesvalue
- Note: do not use quotes around the value for non-string types, e.g., the
nvram commit- save changes to NVRAM
Useful variables:
forward_spec- port forwarding settingsforwardspec_entries- number of entries available in the port forwarding table (where you can add/remove rows)- Note: there are some other forwarding options too, use
nvram show | grep forwardto see them
- Note: there are some other forwarding options too, use
static_leases- static DHCP leasesstatic_leasenum- number of static DHCP leases available (where you can add/remove rows)
Restart httpd
Telnet/ssh in.
killall httpd httpd
References
- ↑ DD-WRT - Factory Defaults - Also includes general info about backup/restore
- ↑ DD-WRT - NVRAM info