Sin descripción

AdrianSimionov 9b738e3bc4 Starting with 0.9.9-dev changes. hace 9 años
doc 9c98954af2 .gitignore cleanup hace 10 años
examples 53d8718ea5 Added regression test script. hace 10 años
mibs dbd7371572 Adding IANA and IETF mibs. hace 10 años
src 3f7895e309 Small typo fix. hace 10 años
tests b2ce72970c Added progress status, on slow machines like ARM and PPC this is handy. hace 10 años
.gitignore 4b4cb539ac Coveralls hace 10 años
.travis.yml 0599fb27b7 Cleanup EOL whitespace hace 10 años
AUTHORS 0599fb27b7 Cleanup EOL whitespace hace 10 años
COPYING 616c1b7f3c Update the COPYING file hace 10 años
ChangeLog 68e622ff36 Merge AdrianSimionov's changes hace 10 años
INSTALL 0599fb27b7 Cleanup EOL whitespace hace 10 años
Makefile.am 3977fff1e8 Update version-check's tag checking hace 10 años
NEWS a4169b28e3 Add some useful pointers hace 15 años
README.md 69d6085093 Added instruction on how to escape special characters. hace 10 años
autogen.sh 72c92f6f1a Add autogen.sh hace 15 años
build_setup.nsi.in 0ffc9e6931 Bring (more) up-to-date hace 15 años
configure.in 9b738e3bc4 Starting with 0.9.9-dev changes. hace 9 años
install-sh 8874d8b890 Imported Upstream version 0.9.4 hace 15 años

README.md

Docsis utility

This program encodes a DOCSIS binary configuration file from a human-readable text configuration file.

It was originaly developed at http://docsis.sourceforge.net and later on moved to https://github.com/rlaager/docsis

This build is an experimental one and is based on a fork from the GitHub project. Please use this build on your own risk.

This tool is fully compliant with the following specs:
CM-SP-eRouter-I12
DPoE-SP-DEMARCv1.0-I04
CM-SP-L2VPN-I13
CM-SP-MULPIv3.0-I24

Linux/Unix

This was tested on Ubuntu 14.10, Fedora 21, openSUSE 13.2 (little endian) and Debian 7.5 Sparc64 (big endian) and it is known to work without issues.

Dependencies:

Debian/Ubuntu:
apt-get install automake libtool libsnmp-dev bison make gcc flex git libglib2.0-dev

Fedore/RedHat/CentOS:
yum install autoconf automake libtool glib2-devel bison flex net-snmp-devel

openSUSE/SLES:
zypper install autoconf automake libtool glib2-devel bison flex net-snmp-devel

FreeBSD/OpenBSD/NetBSD
pkg install automake autoconf bison flex gcc libtool glib net-snmp

Mac OS X

Tested and working on OS X Mavericks. Dependencies should be installed using MacPorts:

sudo port install autoconf automake libtool glib2-devel bison flex net-snmp

Windows

Tested and working under Cygwin 2.0.2

Packages needed:

automake libtool net-snmp-utils net-snmp-devel bison make gcc-g++ flex libglib2.0-devel openssl-devel

Installation steps

Follow the following steps to download and install the utility.

git clone https://github.com/rlaager/docsis.git
cd docsis
./autogen.sh
./configure
make
make install (optional)

Bug reporting

Please use the GitHub system to report feature request and bugs.

Known issues

Quoting the hex strings will result in a crash. Known workaround is to not quote HEX definitions.

There are compilation problems on old gcc variants, you should get an error similar to: docsis.c: multiple definition of `main'. Known workaround is to upgrade to a newer version of gcc.

If you want to encode as string something similar to ""value"" you need to escape the extra characters. Config file value should look like "\"value\"".