Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: Modem Statistics for CenturyLink ADSL/VDSL Modems (Updated)  (Read 20338 times)

RonR

  • Just arrived
  • *
  • Posts: 6
Modem Statistics for CenturyLink ADSL/VDSL Modems (Updated)
« on: January 10, 2017, 07:53:57 AM »

MdmStats is a program to monitor and display statistics available from CenturyLink ADSL/VDSL compatible modems (single line and bonded pair).  Statistics include downstream and upstream Data Rate, SNR, Attenuation, Power, FEC Errors, and CRC Errors.  These statistics are sampled at 3-second intervals and logged to a file (MdmStats.dat for single line modems and MdmStats1.dat/MdmStats2.dat for bonded pair modems).  These statistics can then be displayed over selectable periods of time and duration in graphical form with MdmGraph.  MdmStats creates an icon in the Windows taskbar system tray/notification area.  Hovering the mouse pointer over this icon displays current SNR, FEC, and CRC values.  Left double-clicking this icon alternately displays and hides the MdmStats program window.  Right-clicking this icon gives access to all MdmStats features.  Closing the MdmStats window hides the program window.  To terminate MdmStats, use File -> Exit.

MdmStats Main Menu options:

File -> Save    : Save the most recent Telnet data received to a TXT file
File -> View    : Display the most recent Telnet data received on screen
File -> Exit    : Terminate MdmStats

Edit -> Options : Configure MdmStats options
Edit -> Sound   : Enable/Disable Sound (Beep on Errors)

Help -> About   : Display the program version date

MdmStats Tray Icon Right-Click Menu options:

Show/Hide MdmStats : Show/Hide MdmStats program window
Graph Line 1       : Launch MdmGraph with Line 1 statistics
Graph Line 2       : Launch MdmGraph with Line 2 statistics
Reset Line 1       : Reset Line 1 statistics
Reset Line 2       : Reset Line 2 statistics
Start/Stop         : Start/Stop statistics collection
Save               : Save the most recent Telnet data received to a TXT file
View               : Display the most recent Telnet data received on screen
Options            : Configure MdmStats options
Sound              : Enable/Disable Sound (Beep on Errors)
About              : Display the program version date
Exit               : Terminate MdmStats

Before using MdmStats, the modem must have its Telnet interface enabled.  Using a web browser, log into the modem and go to Advanced Setup -> Remote Console, select Telnet Enabled, and set the Telnet Password.  Then configure MdmStats at Edit -> Options.  To have MdmStats run automatically when Windows is booted, create a shortcut to MdmStats.exe in the Startup folder of the Windows Start menu.



MdmGraph is a program to graphically display the data files produced by MdmStats.  MdmGraph displays SNR levels horizontally while FEC and CRC errors are displayed vertically.  Average SNR values and FEC/CRC error totals are displayed at the top of the graph along with a legend.  Times and dates are displayed at the bottom of the graph.  The upper scrollbar controls the duration of the data displayed while the lower scrollbar controls the specific interval.  The display is auto-scaling and the window is resizeable.  View options allow displaying/masking the various modem statistics.

MdmGraph Main Menu options:

File -> Open    : Open a new data file to display
File -> Save    : Save the current display to a JPG file
File -> Exit    : Terminate MdmGraph

View -> Refresh : Redisplay the original graph
View -> SNR Dn  : Display/Mask SNR Dn information
View -> SNR Up  : Display/Mask SNR Up information
View -> FEC Dn  : Display/Mask FEC Dn information
View -> FEC Up  : Display/Mask FEC Up information
View -> CRC Dn  : Display/Mask CRC Dn information
View -> CRC Up  : Display/Mask CRC Up information
View -> All     : Select all display options
View -> None    : Clear all display options
View -> SNR     : Select only SNR display options
View -> FEC     : Select only FEC display options
View -> CRC     : Select only CRC display options
View -> ERR     : Select only ERR display options

Help -> About   : Display the program version date
Logged

RonR

  • Just arrived
  • *
  • Posts: 6
Re: Modem Statistics for CenturyLink ADSL/VDSL Modems (Updated)
« Reply #1 on: February 11, 2017, 09:37:17 PM »

Updated MdmStats : password validation improved
Logged

burakkucat

  • Respected
  • Senior Kitizen
  • *
  • Posts: 38300
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: Modem Statistics for CenturyLink ADSL/VDSL Modems (Updated)
« Reply #2 on: February 11, 2017, 09:52:52 PM »

Thank you for that feature update.
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

Dray

  • Kitizen
  • ****
  • Posts: 2361
Re: Modem Statistics for CenturyLink ADSL/VDSL Modems (Updated)
« Reply #3 on: February 11, 2017, 09:55:19 PM »

Do you think it would be a good idea to make it compatible with MyDslWebStats?
Logged

NEXUS2345

  • Reg Member
  • ***
  • Posts: 235
Re: Modem Statistics for CenturyLink ADSL/VDSL Modems (Updated)
« Reply #4 on: February 12, 2017, 12:11:31 AM »

That would be up to Tony as far as I know. In addition to this, as far as I know personally, Tony would prefer to not add any more programs to the upload system.
Logged
Security improvement and remediation consultant with infrastructure specialisation

IDNet Openreach FTTP 1000/115 + Asus RT-AX92U | Virgin Media 200 + SuperHub 3 + Synology MR2200ac mesh | Sky 80/20 with WiFi Guarantee on Huawei 288 cabinet

jmsachs

  • Just arrived
  • *
  • Posts: 1
Re: Modem Statistics for CenturyLink ADSL/VDSL Modems (Updated)
« Reply #5 on: September 08, 2017, 07:27:51 PM »

Thanks for creating this program.

Are you using "dumpmdm" via telnet, or something else? My work PC is a Windows PC but I don't often work from home and would like to cobble some solution to use on my Mac running OSX.
Logged

jared0

  • Just arrived
  • *
  • Posts: 1
Re: Modem Statistics for CenturyLink ADSL/VDSL Modems (Updated)
« Reply #6 on: September 15, 2017, 04:27:53 PM »

I am not sure why but mdmstats keeps giving me the error "invalid password" no matter what I set the password as. Has anyone else had this error? It doesnt matter what password whether its numbers, letters, or both. It doesnt matter the length. I have tried everything i can think of but it will not let me edit the password in the options.
Logged

RonR

  • Just arrived
  • *
  • Posts: 6
Re: Modem Statistics for CenturyLink ADSL/VDSL Modems (Updated)
« Reply #7 on: September 18, 2017, 09:49:27 PM »

Are you using "dumpmdm" via telnet, or something else?
I'm not familiar with "dumpmdm".  MdmStats communicates with CenturyLink modems directly via telnet.

You can get a list of available commands by typing help after logging in with telnet.
Logged

RonR

  • Just arrived
  • *
  • Posts: 6
Re: Modem Statistics for CenturyLink ADSL/VDSL Modems (Updated)
« Reply #8 on: September 18, 2017, 10:01:30 PM »

I am not sure why but mdmstats keeps giving me the error "invalid password" no matter what I set the password as. Has anyone else had this error? It doesnt matter what password whether its numbers, letters, or both. It doesnt matter the length. I have tried everything i can think of but it will not let me edit the password in the options.
MdmStats expects the username/password that you have set in the CentrutyLink modem at:

Advanced Setup -> Remote Management -> Remote Console

1. LAN Telnet Enabled

2. Telnet Username / Password

Can you successfully log into the CenturyLink modem with a simple telnet client (for example, using 'telnet' in a Windows CMD prompt)?
Logged

tyson22691

  • Just arrived
  • *
  • Posts: 1
Re: Modem Statistics for CenturyLink ADSL/VDSL Modems (Updated)
« Reply #9 on: October 30, 2017, 10:50:17 PM »

I'm having this same problem of "Invalid Password". I am able to login via command prompt no problem, but as mentioned above, no matter what I try to set the password as in the options, when I try to hit "Ok" or "Apply" I get "Invalid Password". Using the Version 02/11/2017
Logged

RonR

  • Just arrived
  • *
  • Posts: 6
Re: Modem Statistics for CenturyLink ADSL/VDSL Modems (Updated)
« Reply #10 on: October 30, 2017, 11:11:37 PM »

I'm having this same problem of "Invalid Password". I am able to login via command prompt no problem, but as mentioned above, no matter what I try to set the password as in the options, when I try to hit "Ok" or "Apply" I get "Invalid Password". Using the Version 02/11/2017
Have you tried a password consisting of a at least one uppercase, at least one lowercase, and at least one digit (minimum of 6 and maximum of 20 characters)?

Special characters are limited to: _-!@#$%^&*

I'm not aware of any problems in this area.
Logged

HaTaX

  • Just arrived
  • *
  • Posts: 6
Re: Modem Statistics for CenturyLink ADSL/VDSL Modems (Updated)
« Reply #11 on: October 01, 2018, 03:26:16 AM »

Seems to work well enough with my C3000z, connected right up and started gathering stats.  One thing I noticed is if I try to run it from my server, which has no sound device and all audio services stopped, I get an error saying 'Unable to initialize sound' and then it exits / crashes.  Even if I take a cfg file with sound disabled this error keeps me from running it on my server, kind of a bummer.

At least it works fine from my desktop!
Logged

RonR

  • Just arrived
  • *
  • Posts: 6
Re: Modem Statistics for CenturyLink ADSL/VDSL Modems (Updated)
« Reply #12 on: October 01, 2018, 06:24:03 AM »

Seems to work well enough with my C3000z, connected right up and started gathering stats.  One thing I noticed is if I try to run it from my server, which has no sound device and all audio services stopped, I get an error saying 'Unable to initialize sound' and then it exits / crashes.  Even if I take a cfg file with sound disabled this error keeps me from running it on my server, kind of a bummer.

At least it works fine from my desktop!
Please try the attached update on your server which has no sound device.
Logged

HaTaX

  • Just arrived
  • *
  • Posts: 6
Re: Modem Statistics for CenturyLink ADSL/VDSL Modems (Updated)
« Reply #13 on: October 01, 2018, 07:58:52 AM »

Worked like a charm, thank you very much!
Logged

HaTaX

  • Just arrived
  • *
  • Posts: 6
Re: Modem Statistics for CenturyLink ADSL/VDSL Modems (Updated)
« Reply #14 on: December 17, 2019, 07:35:09 PM »

Quick question, I've had a few instances where the speed of one of the bonded connections drops down and the trained speed is far less then it should be: ~40Mbps vs expected 75Mbps.

If I telnet into the modem I can retrain the degraded line by issuing: 'xdslctl1 connection --up' ('xdslctl0' does line 1 and 'xdslctl1' does line 2)

Since I'm on a bonded connection I can issue this command to one of the lines and not experience a disconnect / interruption. Additionally this means I'm running two instances of DSLstats on different servers, each monitoring a line.

What I'd like to do is monitor the trained speed and send these commands when a threshold is hit, which looking at the 'Config -> Advanced -> Custom Command' section doesn't appear to be an option and perhaps it's in another area.  Another option I would have is to simply retrain the connection every 24 or 48 hours in a dumb fashion to just ensure speeds stay up.

Is there the ability to trigger an action based on a threshold of connection speed? Even if it just wrote a text file out or launched a command I could achieve this, it doesn't have to be purpose built.  I'm just looking for a way to do it without parsing all of the data in something like Stats.log for each day to trigger a reconnection / retrain.
Logged
 

anything