If you have Time Warner Cable and perhaps other cable operators as well that use Webstar DPC 2100 modems, and you happen to have one of these modems, no doubt you've become frustrated when you go to check the modem log if troubleshooting a connection issue, only to be greeted with the web page that says that this feature is not enabled. You however can still get at the information you're looking for. I don't understand why these diagnostics pages have to be hidden from us, especially when other modems show us the info we want with no issues. But here are the steps to gain access to the other diagnostics pages on a webstar DPC2100 modem.
First, go to http://192.168.100.1/_aslvl.asp and change the access level from 1 to 2. Enter the password of W2402 and hit submit. You should then be able to access the signal and logs pages with no issues. I've however noticed that the access level after maybe about a minute or so reverts back to level 1, so if while browsing the page, if it refreshes and it suddenly says this feature is unavailable again, just repeat the steps above. Like I said, I wish I knew why so much effort is made to keep us from truly seeing what's wrong with our connections. There's no harm in viewing this info ya know. So there's my hopefully useful tip for today.
Anonymous
September 19 2010, 17:23:41 UTC 1 year ago
thanks!
Thanks for the tip, it worked here. I definitely agree it's weird that they make it so hard to see this information.Anonymous
October 17 2010, 08:06:53 UTC 1 year ago
Automatic unlocking.
You can automate this as well in case you need to unlock it for logging the SNR like myself...First I used this function in order to send the data via post.
http://www.jonasjohn.de/snippets/php/pos
Then used the following to send the commands for the unlock:
// submit these variables to the server:
$data = array(
'SAAccessLevel' => '2',
'SAPassword' => 'W2402',
);
// send a request to example.com (referer = jonasjohn.de)
list($header, $content) = PostRequest(
"http://192.168.100.1/goform/_aslvl",
"http://192.168.100.1/_aslvl.asp",
$data
);
If you print $header, you will see it say "SUCCESS!"
Anonymous
October 17 2010, 08:46:24 UTC 1 year ago
While I'm at it...
Since it's all said and done already, why not just post the rest of my code.Here are the two perl scripts I use for cacti logging in linux. cable_SNR.pl requires you first unlock access using something like the script mentioned previously...
cable_modem.pl
#!/usr/bin/perl
use warnings;
use strict;
use LWP::Simple;
my $httpaddr = "http://192.168.100.1/system.asp";
my %data;
my @keys = qw(ReceivePower TransmitPower);
my $content = LWP::Simple::get($httpaddr) or die "Couldn't get it!";
$content =~ s/\ //g;
$content =~ s/<(?:[^>'"]*|(['"]).*?\1)*>//gs;
# regex in html source order
if ($content =~ /Receive Power Level(.+?\n.*) dBmV/) { $data{ReceivePower} = $1$
if ($content =~ /Transmit Power Level(.+?\n.*) dBmV/) { $data{TransmitPower} = $
$data{ReceivePower} =~ s/^\s+//;
# $data{ReceivePower} =~ s/\s+$data{ReceivePower}//;
$data{TransmitPower} =~ s/^\s+//;
# $data{TransmitPower} =~ s/\s+$data{TransmitPower}//;
for (@keys) {
print "$_:" . $data{$_} . " ";
}
cable_SNR.pl
#!/usr/bin/perl
use warnings;
use strict;
use LWP::Simple;
my $httpaddr = "http://192.168.100.1/signal.asp";
my %data;
my @keys = qw(SNR);
my $content = LWP::Simple::get($httpaddr) or die "Couldn't get it!";
$content =~ s/\ //g;
$content =~ s/<(?:[^>'"]*|(['"]).*?\1)*>//gs;
# regex in html source order
if ($content =~ /(.+?)dB\s/) { $data{SNR} = $1; }
$data{SNR} =~ s/^\s+//;
for (@keys) {
print "$_:" . $data{$_} . " ";
}
January 4 2012, 19:38:24 UTC 4 months ago