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:

Pages: 1 ... 3 4 [5]

Author Topic: RaspberryPi - gui-less stats logger  (Read 20027 times)

Axel Foley

  • Member
  • **
  • Posts: 49
  • Memento audere semper
Re: RaspberryPi - gui-less stats logger
« Reply #60 on: January 18, 2015, 11:09:20 PM »

yes it has a VGA output, but I never used it. I'm trying to make it work via VNC or, better, RDP.

will let you know if I manage to make it work.
Logged

Axel Foley

  • Member
  • **
  • Posts: 49
  • Memento audere semper
Re: RaspberryPi - gui-less stats logger
« Reply #61 on: January 19, 2015, 03:44:51 AM »

It's working. ;)

At the end of the post I put a screenshot of the Remote Desktop Connection (RDP) session from my Win8.1 notebook, you will see the terminal session from which I launch dslstats, a few lines are output to console (I have no idea of what those DUPLICATE RESOURCE messages are) and then the DSLstats GUI comes up, all running on my Synology NAS, with no display connected.

In order to make it work, after lots of tries, I had to install & configure the following:

- Debian Chroot package from SynoCommunity, once that is configured and working, from the chrooted domain, you install & configure the following packages:

Quote
aptitude install libgtk2.0-0
aptitude install libgdk-pixbuf2.0-0
aptitude install lxde-core
aptitude install xrdp

Hope this helps somebody else who has the same need. :)

Thanks for the help.

« Last Edit: January 19, 2015, 03:58:36 AM by Axel Foley »
Logged

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39528
  • Penguins CAN fly
    • DSLstats
Re: RaspberryPi - gui-less stats logger
« Reply #62 on: January 19, 2015, 07:25:38 AM »

Fantastic! Well done. :clap2:
Logged
  Eric

Axel Foley

  • Member
  • **
  • Posts: 49
  • Memento audere semper
Re: RaspberryPi - gui-less stats logger
« Reply #63 on: January 19, 2015, 01:14:04 PM »

Eric, can I safely ignore those DUPLICATE RESOURCE messages I see in the console when starting dslstats?
Logged

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39528
  • Penguins CAN fly
    • DSLstats
Re: RaspberryPi - gui-less stats logger
« Reply #64 on: January 19, 2015, 03:44:58 PM »

Yes, those messages are normal and don't indicate anything wrong.
Logged
  Eric

Axel Foley

  • Member
  • **
  • Posts: 49
  • Memento audere semper
Re: RaspberryPi - gui-less stats logger
« Reply #65 on: January 19, 2015, 06:35:05 PM »

Great. :)

Now I'm only trying to make the whole thing (chroot, xdg, and dslstats) autostart when the NAS is rebooted. ;)

I hope one day you decide to start a GUI-less version of DSLstats, or to add it inside the software through a command-line parameter. :D

Thanks for all the help.
Logged

cancunia

  • Just arrived
  • *
  • Posts: 5
Re: RaspberryPi - gui-less stats logger
« Reply #66 on: September 27, 2019, 09:41:36 AM »

I am interested and am already running a script to access the stats on my Billion 8800. My log format is as follows:

Code: [Select]
Time Status Sync kbps----- SNR (dB) ----- Atten (dB) --- Power (dBm)--- FEC (15 min)-- CRC (15 min)-- ES (15 min)--
Down Up Down Up Down Up Down Up Down Up Down Up Down Up
00:00:01 Showtime 56614 14361 6.1 5.7 19.1 0.0 13.1 7.4 0 3 6 0 4 0
00:05:01 Showtime 56614 14361 6.1 5.7 19.1 0.0 13.1 7.4 0 6 3 1 2 1
00:10:01 Showtime 56614 14361 6.1 5.7 19.1 0.0 13.1 7.4 0 6 3 1 2 1
00:15:01 Showtime 56614 14361 6.1 5.7 19.1 0.0 13.1 7.4 0 6 3 1 2 1
00:20:02 Showtime 56614 14361 6.1 5.6 19.1 0.0 13.1 7.4 0 18 1 4 1 3
00:25:02 Showtime 56614 14361 6.1 5.7 19.1 0.0 13.1 7.4 0 18 1 4 1 3
00:30:02 Showtime 56614 14361 6.1 5.7 19.1 0.0 13.1 7.4 0 18 1 4 1 3
00:35:01 Showtime 56614 14361 6.1 5.7 19.1 0.0 13.1 7.4 0 0 5 0 4 0
00:40:01 Showtime 56614 14361 6.1 5.7 19.1 0.0 13.1 7.4 0 0 5 0 4 0
00:45:01 Showtime 56614 14361 6.1 5.7 19.1 0.0 13.1 7.4 0 0 5 0 4 0

Happy to share my script for constructive criticism ;D

Just found this post again after losing it yesterday...  Has there been any development on this? I'd like to see if I can get it to work with my HG533.
Thanks
Logged

G.DMT

  • Member
  • **
  • Posts: 74
Re: RaspberryPi - gui-less stats logger
« Reply #67 on: September 27, 2019, 02:22:28 PM »

Just found this post again after losing it yesterday...  Has there been any development on this? I'd like to see if I can get it to work with my HG533.
Thanks

Hi cancunia.
 As it happens I have an archived copy of the bash scripts that I wrote back then.

https://forum.kitz.co.uk/index.php/topic,14595.msg278113.html#msg278113

They provide separate commands to schedule, access, read, parse, graph, save, archive, retrieve and watch the broadcom chipset data from a (Billion) xDSL Modem.

It should be pretty simple to resurrect them, if you are not afraid of wrangling some bash script,  can read PCRE regexes, and maybe a bit of gawk or expect.

;-)


« Last Edit: September 27, 2019, 03:01:35 PM by G.DMT »
Logged

cancunia

  • Just arrived
  • *
  • Posts: 5
Re: RaspberryPi - gui-less stats logger
« Reply #68 on: September 27, 2019, 05:55:01 PM »

Hi cancunia.
 As it happens I have an archived copy of the bash scripts that I wrote back then.

https://forum.kitz.co.uk/index.php/topic,14595.msg278113.html#msg278113

They provide separate commands to schedule, access, read, parse, graph, save, archive, retrieve and watch the broadcom chipset data from a (Billion) xDSL Modem.

It should be pretty simple to resurrect them, if you are not afraid of wrangling some bash script,  can read PCRE regexes, and maybe a bit of gawk or expect.

;-)

Hi, Yeah, I'll have a poke around and see what I can make of it. Please send me a link or an attachment or however is best for you.

Also, I wondered if  this one is still available?

If anyone is interested in trying this, the first beta release is out

- Tested on Billion 8800NL in VDSL mode
- Untested on Billion 8800NL in ADSL mode (I could do with some logs for this if anyone tries it - not sure how the ADSL stats output of the router is different to the VDSL stats output )
- 1/2 tested on a Billion 7800N (1/2 tested as I don't have a adsl connection anymore to test it fully)

Any other routers are unsupported at the moment.

Instructions and download link are here www.xdaemonstats.mooo.com/Docs

It has simple functionality at the moment, but I want it tested by more than me afore it progresses to the more complicated areas.

On a related note, I could really do with a telnet dump of the HG612's stats output if anyone would be so kind (including initial login/password prompts and the output of xdslcmd info --stats) . This would be sorely appreciated :)

Any questions, problems, comments, please ask ......
Logged

G.DMT

  • Member
  • **
  • Posts: 74
Re: RaspberryPi - gui-less stats logger
« Reply #69 on: September 27, 2019, 07:28:12 PM »

Hi, Yeah, I'll have a poke around and see what I can make of it. Please send me a link or an attachment or however is best for you.

I did not put any licensing on any of the source files that I wrote.

For fair public attribution and out of courtesy to and respect for he who originaly inspired me to do this, I shall reproduce here the  comments from the single file that does bear licensing information.

Code: [Select]
file /Broadcom/generate_graphs.sh

#!/bin/bash

## This shell code in this file was inspired by and derived from GPL code
## which was Originally written by Burakkucat from forum.kitz.co.uk
## see: http://elrepo.org/people/ajb/HG6xx_stats/
##
## 2014: Separated into functions for ease of integration.

p.s. Hi to all - I had been away from this forum for a some time, since a VDSL cabinet finally arrived!
Great to see everyone still going strong. :-)

 Please note this was never originally intended to be 'published' and the zip file is just a hastily cobbled together archive for posterity.

Disclaimer: I'm a bit embarrassed by some of it now as writing it was part of a learning curve and many of the implementation decisions that I made then, I would not make in the same way now.

Caveat emptor!

:-)

[Update1:]

I see now
Restrictions: 3 per post, maximum total size 900KB, maximum individual size 300KB

Zip file is 3.7M so I would have to cherry pick the important bits and dump archived data files.

[Update 2: slimmed down attachment added]
« Last Edit: September 27, 2019, 09:22:10 PM by G.DMT »
Logged

cancunia

  • Just arrived
  • *
  • Posts: 5
Re: RaspberryPi - gui-less stats logger
« Reply #70 on: September 28, 2019, 07:35:51 AM »

Thanks for posting, I'll take a look through there over the next few days.

Logged
Pages: 1 ... 3 4 [5]