Converting docsis tool config files to Excentis Cable Modem Config File Editor format
Posted by David Van Deynse, Last modified by Dries Decock on 03 April 2018 05:29 PM
The docsis tool (see http://sourceforge.net/projects/docsis/) can convert textual config files into binary mode and vice versa.
While the binary format is universal (and hence compatible), the textual version is not compatible with the textual version of the Excentis Cable Modem Config File Editor.
An easy way to convert textual docsis tool config files to Excentis Cable Modem Config File Editor compatible textual files is to convert them to binary mode using the docsis tool and then convert those binary files into compatible textual config files using the Excentis Cable Modem Config File Editor CommandLine tool. Obviously, you can also simply open the binary config files in the Excentis Cable Modem Config File Editor.
Note that due to the conversion to and from binary mode, any comments made in any of the textual versions will be lost during conversion.
To convert to binary mode, you need to install the docsis tool. See http://sourceforge.net/projects/docsis/ for details.
On a ubuntu system, you need to install the following libraries before installing the docsis tool:
To further install the docsis tool, you typically execute
Now you can convert docsis tool compatible textual configfiles into binary mode:
The my_key_file contains the shared secret (e.g. Euro). Note that it will be not be used in Excentis Cable Modem Config File Editor, but it is needed as a parameter for the docsis tool.
The binary file cm_config_file.bin can now be opened with Excentis Cable Modem Config File Editor.
Or use the CommandLine tool to convert the binary file into a Excentis Cable Modem Config File Editor compatible text file:
Combining the latter two statements into a script allows you to convert batches of configfiles.
In a similar way, Excentis Cable Modem Config File Editor textual files can be converted to docsis tool textual files using the text2bin function of the CommandLine tool combined with the