Hi,
In reference to my
previous post, I'm trying to disable stateless IPv6 advertisements on my 615 revision E1, as it's running as simply an AP with IPv6 configured on my router. On occasion, the advertisements conflict, and partially break my external v6 connectivity in strange ways.
I've taken a peek in the the exported config files that can be uploaded/restored off of. They are simple text files, that look like this:
hostname=DIR-615
admin_password=********
user_username=user
user_password=*********
default_html=index.asp
lingual=EN
This makes it look quite simple for me to modify it and reupload it with modified IPv6 portions, but alas, there is a problem. At the end of these files, there is a checksum. I imagine it's of the prior file until the checksum, or the rest of the file without that whole line (meaning the config_checksum= text, too). Either way, it appears to be up to 2^16 in length, and is obviously numeric. It looks like this and is always at the end of a file:
config_checksum=35814
Or,
config_checksum=27622
Removing it or keeping it the same won't help. Any minor change in the config (as changed through the web interface) drastically changes it. My guess is that it's CRC-16, but my understanding of CRC-16 is that it varies drastically with whatever polynomial you use.
I'd really appreciate it if someone could tell me the algorithm used or if there's a bypass, especially with any suggested utilities so I don't have to code my own to regenerate the checksum so that I can use my own config.
Thanks so much,
Teran (sega01)
PS: I've grepped fairly heavily through the source code and not found any mention of this. Then again, it appears that source tarballs are downloaded separately for everything but the kernel, and I have not tried to do that, yet.