docsis_server How To

Download and Compile

  • Step 1: Download the source code to someplace familiar:

    wget http://users.accesscomm.ca/docsis_server/docsis-server-current.tgz


  • Step 2: untar the source and compile:

    tar xzvf docsis-server-current.tgz

    cd docsis-server....

    make

    make install


    This will install the following binaries:
    /usr/sbin/docsis_server
    /usr/sbin/ListMessages
    /usr/sbin/FindIP
    /usr/sbin/FindMAC
    /usr/sbin/Delete_Old_Leases
    /usr/sbin/Count_IPs
    /usr/sbin/Summerize_Logs
    /usr/sbin/DB_Config_Encoder
    /usr/sbin/Stress_Config_Generator
    /usr/lib/libdocsis.so
    /usr/include/libdocsis.h
    /usr/bin/client_docsis_config

  • Step 3: Install the unprivileged docsis user:
    While it is possible to run the docsis_server as root we recommend that you install the special user "docsis". You can change the name and settings if you want just be sure to update those changes in your config file.

    sh INSTALL.uid


  • Step 4: Copy the config file to /etc:
    The next howto document explains what all the options mean.

    cp docsis-server2.conf /etc/docsis-server.conf

    chmod 640 /etc/docsis-server.conf

    vi /etc/docsis-server.conf

    If you are upgrading from a previous version of docsis_server the table names and fields are very different from the previous version. For that reason we recommend the following installation method.

    cp docsis-server2.conf /etc/docsis-server2.conf

    chmod 640 /etc/docsis-server2.conf

    vi /etc/docsis-server2.conf