Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » US Cable Support » OptimumOnline » docsdiag help
Uniqs:
847
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
[iO] MSGHD - Mets Game »
« [help] Very slow speeds!  
murcury2

join:2002-01-02
Amherst, MA

docsdiag help

I am trying to setup docsdiag from behind my router. I set the ip of the router to 192.168.100.2. I run java -jar docsdiag.jar docsdiag -vv > results.txt and this is the output of the file

Unrecognised parameter docsdiag
Usage:

how might i fix this?

GeekNJ
Premium
join:2000-09-23
Waldwick, NJ

Re: docsdiag help

Looking at the FAQ here at »Optimum Online FAQ »Running DocsDiag to see detailed modem info
you should be calling it like:

java -cp docsdiag.jar docsdiag

Not -jar as you posted.
murcury2

join:2002-01-02
Amherst, MA
quote:
C:\DOCUME~1\MURCURY\DESKTOP\DOCSDIAG>java docsdiag.jar docsdiag -v > results.txt

Exception in thread "main" java.lang.NoClassDefFoundError: docsdiag/jar
TheWiseGuy
Dog And Butterfly
Premium,MVM
join:2002-07-04
Yonkers, NY

Re: docsdiag help

said by murcury2 See Profile:

quote:
C:\DOCUME~1\MURCURY\DESKTOP\DOCSDIAG>java docsdiag.jar docsdiag -v > results.txt

Exception in thread "main" java.lang.NoClassDefFoundError: docsdiag/jar
said by GeekNJ See Profile:

java -cp docsdiag.jar docsdiag >results.txt
You left out the -cp maybe you should copy and paste it or use the batch file included? I added the out to results in the quote from Geeks post so you can copy and paste.
--
Dog and Butterfly
murcury2

join:2002-01-02
Amherst, MA

[quot]C:\DOCUME~1\MURCURY\DESKTOP\DOCSDIAG>java -cp docsdiag.jar docsdiag -v > results
.txt

C:\DOCUME~1\MURCURY\DESKTOP\DOCSDIAG>
::sigh::

quote:
DocsDiag v030720 Copyright 2001-3 Robin Walker rdhw@cam.ac.uk

Cable modem not found

whatever...if i have to use it i'll just hook it directly to the modem. thanks anyway.

NJBlackBerry

join:2003-01-03
Bridgewater, NJ
I use the following command from behind a router...

java -cp docsdiag.jar docsdiag -cmip 10.x.x.x -cmmac 00204xxxxx

Use (obviously) the 10.x IP address of your cable modem and the appropriate cable modem MAC address.


n2jtx

join:2001-01-13
Glen Head, NY
·Optimum Online

Re: docsdiag help

You definitely need to use your modems 10.x.x.x address when behind a router. Figuring it out though can be a pain. Probably the easiest thing to do is to temporarily remove the router and use DOCSDIAG to dump out all of parameters to a file using -vv. Then search the file for the string .iso.3.6.1.2.1.4.20.1.1 (this is the DOCSIS SNMP ipAdEntAddr value). Right after that string will be four additional numbers, the first being 10, that will be your 10.x.x.x address.
--
I support the right to keep and arm bears.

StreetSpirit
Premium
join:2002-08-13
Roslyn, NY
·Optimum Online
·Verizon Online DSL

Re: docsdiag help

Most customers can also see their assigned 10.x.x.x number by doing a tracert. The first (or second for those with routers that show up in a tracert) hop is your modem's 10.x.x.x address.

C:\ipv6\bin>tracert www.cablevision.com

Tracing route to www.cablevision.com [66.54.41.193]
over a maximum of 30 hops:

1 6 ms 6 ms 7 ms 10.41.xx.x <=---
2 10 ms 8 ms 7 ms dstswr1-vlan2.rh.nyk2ny.cv.net [67.83.220.161]
3 8 ms 7 ms 8 ms r3-ge0-1-2.mhe.hcvlny.cv.net [67.83.220.129]
4 12 ms 8 ms 9 ms r1-srp0-0.wan.hcvlny.cv.net [65.19.104.193]
<..snip..>

Notice the 1st hop... Caveat: Some (very few) members can't do this if their CMTS doesn't reply to ICMP echo requests.

HTH
David
FWIW I use the -cmmac parameter and specify my HFC mac when running DocsDiag.
TheWiseGuy
Dog And Butterfly
Premium,MVM
join:2002-07-04
Yonkers, NY

Re: docsdiag help

Hmmm, the 10.xxx.xxxx.xxx IP that is the first hop in a tracert is the Default Gateway IP of the modem subnet, not the private IP of the cable modem. The Modem acts as a transparent bridge and therefore does not decrease the ttl and send an ICMP type 11 when the ttl = 0.

I believe you can see the IP of the cable modem by sniffing traffic and rebooting the modem or by using docsdiag via the formula in the FAQ.
--
Dog and Butterfly

n2jtx

join:2001-01-13
Glen Head, NY
·Optimum Online

Re: docsdiag help

When I traceroute to www.cablevision.com I get the first hop as 10.20.0.1 which is the gateway not the modem (same thing happens on Rogers cable in Mississauga, ON).

For those who have Perl and the Net::SNMP package installed on their system, this script I wrote some time ago can retrieve the network side address (as well as issue an alert if your uploads are capped). You need to be able to get a on 192.168.100.1 so you may need to remove your router temporarily:

# GetIP.pl - Query DOCSIS modem for network side IP address

use Net::SNMP;

# Use the standard Cable Modem address of 192.168.100.1 with a community string of public.
# Unless it has been changed, this should work without any problems.

my $HOST = @ARGV[0];
my $HOST = "192.168.100.1" unless $HOST;

($session, $error) = Net::SNMP->session(
-hostname => shift | $HOST,
-community => shift | "public",
-port => shift | 161,
-timeout => 60
);
if (!defined($session)) {
printf("ERROR: %s.\n", $error);
exit 1;
}

############################################################
my $OID_IpAdEntAddr = '1.3.6.1.2.1.4.20.1';
my $OID_QosMaxUpstream = '1.3.6.1.2.1.10.127.1.1.3.1.3.1';
############################################################

$k = SNMPGetNextRequest($session, $OID_IpAdEntAddr);
($IPMib) = keys(%$k);
printf("Network IP Address: %s\n",
SNMPGetRequest($session, $IPMib)
);

$QosMaxUpstream = SNMPGetRequest($session, $OID_QosMaxUpstream);
printf("Qos Max Upstream Bandwidth: %s bps\n",
Commas($QosMaxUpstream)
);
print "\n** THE UPSTREAM BANDWIDTH HAS BEEN CAPPED **\n"
if ($QosMaxUpstream < 1000000);

$session->close();
exit 0;

#
# Commas( <Number> )
#
# RETURN: Comma seperated number
#

sub Commas {
local($_) = @_;
1 while s/(.*\d)(\d\d\d)/$1,$2/;
$_;
}

#
# SNMPGetRequest(<SNMP Session Object>, <OID String> )
#
# RETURN: SNMP value for specified OID string
#

sub SNMPGetRequest {
local($session) = shift @_;
local($OID) = shift @_;

if (!defined($response = $session->get_request($OID))) {
printf("ERROR: %s.\n", $session->error());
$session->close();
exit 1;
}
return $response->{$OID}
}

#
# SNMPGetNextRequest(<SNMP Session Object>, <OID String> )
#
# RETURN: Hash containing found OID.
#

sub SNMPGetNextRequest {
local($session) = shift @_;
local($OID) = shift @_;

if (!defined($response = $session->get_next_request($OID))) {
printf("ERROR: %s.\n", $session->error());
$session->close();
exit 1;
}
return $response;
}

--
I support the right to keep and arm bears.

StreetSpirit
Premium
join:2002-08-13
Roslyn, NY
·Optimum Online
·Verizon Online DSL

Re: docsdiag help

The perl script works, thank you, it correctly identifies the private ip of the modem, however maybe you can help me debug this problem.

This is the output I get. I'm using CPAN's Net::SNMP package and ActiveState 5.8.6 Binary Build 811.

[code]
$getoolip.pl
Network IP Address: 10.41.96.xx == correct (not the gateway)
ERROR: Received noSuchName(2) error-status at error-index 1.

$

I'm using Windows XP. I installed Net::SNMP with ppm3 (perl package manager). I ran it and got the above output.

I then installed the entire Win32 build of Net:SNMP with the same results.

My goal is to get this script working under XP.
Thanks in advace,
David

howie
Premium,MVM
join:2003-04-08
Little Falls, NJ


Modem IP
As TheWiseGuy See Profile has noted, a "packet sniffing" utility such as CommView is a fast and easy way to determine the IP of your modem. It's as simple as powering off your modem, starting the sniffer, plugging the modem back in and then as entries begin to appear, note the IP numbers next to the ARP entry with your modem's MAC. There will be two 10.xxx numbers shown. The lefthand number shown is your modem's IP (see above). A trial version of CommView is available here:
»www.tamosoft.com
--
"I'm as sure as I can be... without any, you know, proof!" - Adrian Monk
TheWiseGuy
Dog And Butterfly
Premium,MVM
join:2002-07-04
Yonkers, NY

Re: docsdiag help

Thanks, a screen capture is the best way to show how it is done.
--
Dog and Butterfly

StreetSpirit
Premium
join:2002-08-13
Roslyn, NY
·Optimum Online
·Verizon Online DSL


1 edit
Click for full size
Aaah! Now I get it
Forums » US Cable Support » OptimumOnline[iO] MSGHD - Mets Game »
« [help] Very slow speeds!  


Tuesday, 08-Dec 17:49:15 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [191] Sprint Sued For Distracted Driving Death
· [81] 3G Network Test Says AT&T Is Tops
· [71] Mediacom Unveils 105 Mbps Pricing
· [49] The Future Of Wi-Fi Is Bright
· [49] Sprint Poised For A Turnaround?
· [47] Site Leaks Yahoo, Verizon Fed Data Share Pricing
· [42] Microwaving Your Innards Is Not 'Extreme'
· [39] Verizon LTE: 5-12 Mbps Downstream
· [36] WPA Cracker: Test WPA-PSK Networks In 20 Minutes
· [18] Verizon Settles With NJ Over Misleading FiOS Marketing
Most people now reading
· Servers UP!!! [World of Warcraft]
· Account Hacked With Authenticator [World of Warcraft]
· World of Warcraft Client Patch 3.3 (12-8-2009) [World of Warcraft]
· Windows 7 boot manager editing questions [Microsoft Help]
· So what addons will likely not work... [World of Warcraft]
· IMG 1.7 (IMG Updates and Discussion) [Verizon FIOS TV]
· Comcast Customers: Would You Prefer Metered Billing? [Comcast HSI]
· World of Warcraft Client Patch 3.3.0 (12-08-2009) [World of Warcraft]
· Google chief: Only miscreants worry about net privacy [Security]
· 3.3 LIVE Today -- Downloading [World of Warcraft]