Using cfgctrl
cfgctrl is a program included in B36 NV2 and newer versions of my hacked firmware.
It can read and write the XML configuration stored on the Vodafone Station's flash,
making you able to modify it how you like.
For reference, here's the help screen displayed when you invoke the version included
in the B36 NV2 firmware without arguments:
cfgctrl - CFM configuration controller
(c) 2009 Giuseppe Gatta
usage: cfgctrl <action> [file]
Where action can be:
read - Read configuration from memory
write - Write configuration to memory
If the configuration is written, reboot the router
to make it have effect.
If the argument for the file is not specified, it is
assumed to be stdin for writes, and stdout for reads
I think usage examples are worth a lot, so here are they:
Let's say I want to print the configuration file on standard output.
I will give the "cfgctrl read" command.
Now, I want to write that to a file named "conf.bin".
"cfgctrl read conf.bin" is what I need to write.
I would want to edit my configuration now, and so I edit conf.bin either with
e3c which is included in the NVx firmwares thus doing it directly in "firmware
userland", or I start mini_httpd, I download the configuration, edit it, and
then download it back with wget.
Now I want my configuration modifications to have effect, and I write
"cfgctrl write conf.bin" to do just that, and then reboot.
Remember to always reboot if you want it to have effect, but you
can keep writing in case you did not like it.
I think it is not hard to find the parameters you need if you know English.
There are many interesting ones and you can modify your WiFi channel, SSID, and
many other things. The CFM on Italian (or Italian-based) firmwares stays
crippled and it might bail out with some parameters which are well accepted
by its Spanish counterpart.
Back to files page
Last updated: December 28th, 2009