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: HG612 stats  (Read 2195 times)

Adduxi

  • Member
  • **
  • Posts: 13
HG612 stats
« on: October 01, 2015, 10:52:16 AM »

Hi all,
Not sure if this is the right place, but here goes anyway !
I've cobbled together (read Googled :)  ) a simple python script for my Pi which seems to work fine for gathering stats from my Virgin Superhub. It scrapes the information from a set of specific URL pages on the SH, using "Beautiful Soup" ....

Now, I would like to get the same type of information from the URL's on my HG612. However, the HG612 requires me to logon prior to getting access to said pages, whereas the SH does not.

I can't see any simple method of getting this logon passed to the HG612.

Failing this, is there a simple telnet sequence I can run to get some minimal information from the HG612, e.g. Downstream/Upstream Attainable Rate, SNR, Line Attenuation, Output Power etc.

I have been using the Pi version of DSL stats, and whilst it runs fine, it gathers a huge amount of information.
I was hoping just to get a small subset into a CSV file.

Any pointers in the right direction please ??

Cheers,
Logged

Dray

  • Kitizen
  • ****
  • Posts: 2361
Re: HG612 stats
« Reply #1 on: October 01, 2015, 11:22:05 AM »

If you look in DSLstats under the Telnet Data tab you can see what Telnet commands it inputs and what the output is.

For example xdslcmd info --stats
Logged

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 43573
  • Penguins CAN fly
    • DSLstats
Re: HG612 stats
« Reply #2 on: October 01, 2015, 11:29:14 AM »

To login by telnet the sequence is:

Login:admin
Password:admin
ATP>sh
 The response to this is:

BusyBox v1.9.1 (2014-01-21 16:44:38 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

#

There isn't a command which just gives the information you're looking for. The options are:

xdslcmd info    (just gives the speed info)
xdslcmd info --show   (gives comprehensive info)
xdslcmd info --stats   (gives even more info)

Logged
  Eric

Adduxi

  • Member
  • **
  • Posts: 13
Re: HG612 stats
« Reply #3 on: October 01, 2015, 03:32:27 PM »

Thanks Guys for the information. :)
I'll have another go and see how I get on.
Cheers !!
Logged