Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My Cisco RV180W has a corrupt configuration which is breaking the user interface in a few places. After a factory reset, it's fine - but if I restore my previous configuration it breaks again.

The backed-up configuration (.cfg) files are text files, and ideally I would like to restore parts of my old configuration (e.g. firewall rules, VPN users) by editing my 'clean' configuration file. However, the files contain a checksum line in the format:


... and if this checksum doesn't match the file contents, the router refuses to restore the file.

Does anyone know how I can recalculate this checksum after making manual changes to the configuration file?

share|improve this question
How embarrassing - I found my own answer with Google at supportforums.cisco.com/thread/2187263. (I really did search before posting here!) The answer is to replace the checksum line with: systemConfig[1]["checksum"]="0" –  David Miller Sep 2 '13 at 11:23
You can certainly post a self-answer to your question. It's better than doing it in a comment. –  Michael Kjörling Sep 2 '13 at 11:30
Thanks. I will do in 5 hours - I don't have the reputation to do so immediately. :-) –  David Miller Sep 2 '13 at 13:16
add comment

1 Answer

up vote 0 down vote accepted

As suggested, I'm reposting the answer that I found at https://supportforums.cisco.com/thread/2187263 as an answer now that I can...

The Cisco RV180W will accept a zero checksum in its configuration files. The checksum (specified at around line 13 of the .cfg file) is set to zero like this:


This works around the 'Failed to update configuration as the file may have been invalid / corrupted' error that the router gives if an attempt is made to restore the configuration from a manually edited file specifying a non-zero (and incorrect) checksum.

I have successfully used this technique to restore firewall rules and VPN users from an older configuration file. However, I would recommend extreme care in editing these configuration files manually. Don't use this technique to load a configuration file that really is invalid/corrupted.

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.