wget http://downloads.sourceforge.net/project/docsis/docsis/docsis-0.9.5/docsis-0.9.5.tar.gz?use_mirror=nchc
untar
goto docsis-0.9.5 dir
aptitude install m4 bison libsnmp-base libsnmp15 snmpd libsnmp-dev flex
./configure
it will look for m4
see if m4 is installed `which m4`
if not, aptitude install m4
if already installed, mod configure script to do the m4 check correctly:
look for this line,
if test "x$ac_is_gnu_m4" = "xGNU"; then
change it to:
if test "x$ac_is_gnu_m4" = "xm4"; then
run ./configure again
it will look for bison,
aptitude install bison
and run ./configure again
`make`
make sure you install flex or you will get an error from sed about a file not being found
if you get an error about floor:
undefined reference to `floor'
goto
root@tds-stg-dhcp02:~/docsis-0.9.5# vim src/Makefile
look for this line:
LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
and add the math function:
LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -lm -o $@
run make again
root@tds-stg-dhcp02:~/docsis-0.9.5# make
make install
verify:
root@tds-stg-dhcp02:~/docsis-0.9.5# ls -l /usr/local/bin/docsis
-rwxr-xr-x 1 root root 164495 2010-02-16 17:31 /usr/local/bin/docsis
These are the steps in resetting the admin password: 0. Re-route stored static in your body via an ESD wrist strap to a metallic element. 1. Look for the 2 toggle switches and service processor batt. The batt should be in front of the Power Supply 1 and Power Supply 2 (codes: E1 and E2, see Rear Location Codes on the cover plate). The "very tiny" toggle switches should be in the area of P1-C14 slot. I forgot the exact sequence but it should be a combination of the ff. step (2): 2. Remove the battery, toggle the switches to the opposite direction. Allows some time for the caps to discharge. 3. Move back the toggle switches and put back the batt in its place. 4. Assign your PC to Class C subnet (i.e. masked 255.255.255.0 ): IPaddr: 192.168.2.x for HMC1 or IPaddr: 192.168.3.x for HMC2 5. Ping HMC1 or HMC2. Access the web interface using the default address: http://192.168.2.147 (for HMC1) or http://192.168.3.147 (for HMC2) Note: Sometimes you have to force the https protocol:
Comments
that worked fine
but i need to know what to do next.
thnx