Brak opisu

Richard Laager 2eb28d50f3 Merge pull request #51 from nwidger/master 8 lat temu
doc d6490a9877 Fix generate-settings.sh 8 lat temu
examples 1006c5c986 Fix whitespace in decode output 9 lat temu
mibs fbac134af2 Add latest CableLabs MIBs 9 lat temu
src 61dc74cd87 Don't print to stderr if encoding succeeds 8 lat temu
tests 437a7a32b6 Fix one regression testing 9 lat temu
.gitignore 533d74ab24 Update .gitignore for regression tests 9 lat temu
.travis.yml 54d20834be Add back snmp-mibs-downloader package as it breaks CI. 8 lat temu
AUTHORS 0599fb27b7 Cleanup EOL whitespace 10 lat temu
COPYING 616c1b7f3c Update the COPYING file 10 lat temu
ChangeLog 68e622ff36 Merge AdrianSimionov's changes 10 lat temu
INSTALL 1e9378c5fb Rename configure.in to configure.ac 9 lat temu
Makefile.am 3977fff1e8 Update version-check's tag checking 10 lat temu
NEWS a4169b28e3 Add some useful pointers 15 lat temu
README.md d3d2821941 Added Coveralls badge. 8 lat temu
autogen.sh 72c92f6f1a Add autogen.sh 15 lat temu
build_setup.nsi.in 2f063ff7af Remove OpenSSL 9 lat temu
configure.ac e42b4b2d27 Require flex 9 lat temu
install-sh 8874d8b890 Imported Upstream version 0.9.4 15 lat temu

README.md

Docsis utility

Build Status Coverage Status

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 libfl-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

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\"".