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] 2 3 4

Author Topic: Routerstats-style program for Linux  (Read 12758 times)

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39510
  • Penguins CAN fly
    • DSLstats
Routerstats-style program for Linux
« on: July 30, 2012, 03:41:48 PM »

I'm developing a DSL router monitoring program inspired by John Owen's Routerstats program, to work in Linux. It was initially intended for use with the Huawei HG612 (with Asbokid's unlocked firmware) but in principle it should also work with other Broadcom-based DSL routers which have a fully functioning telnet interface. Its features are incomplete, but it's reached the point where it can do useful work and I would appreciate some feedback about it. It's free and open source, and will be released under the GPL when I sort out the details.

You should hopefully be able to download it from the link below. Please read the included README.

[Removed]

Original version removed, 32-bit and 64-bit versions from:

https://docs.google.com/folder/d/0BxbUtOYVZ_SCZ1BnY3RKYnN2b1U/edit
« Last Edit: July 31, 2012, 01:19:18 PM by roseway »
Logged
  Eric

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 32216
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: Routerstats-style program for Linux
« Reply #1 on: July 30, 2012, 05:05:18 PM »

Looks excellent eric, unfortunately though since I dont have a linux system, Im unable to give it a go.
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

broadstairs

  • Kitizen
  • ****
  • Posts: 3195
Re: Routerstats-style program for Linux
« Reply #2 on: July 30, 2012, 05:24:56 PM »

I'll give it a go later and see if it works with my router.

Kitz a perfect opportunity to try Linux  ::) ;)

Stuart
Logged
ISP:TalkTalk Connection:FTTC Cab:ECI Router:Netgear D6220

broadstairs

  • Kitizen
  • ****
  • Posts: 3195
Re: Routerstats-style program for Linux
« Reply #3 on: July 30, 2012, 05:48:37 PM »

Well its now running on my D-Link DSL-2740B and graphing nicely.

Not sure how much testing I'll be able to do as my only Linux PC is going to have to go back for repair AGAIN, had a new m/b under warranty plus waiting for my new memory under warranty and now this m/b is playing silly b*****s crashing not posting you name it it does it intermittently.

Stuart
Logged
ISP:TalkTalk Connection:FTTC Cab:ECI Router:Netgear D6220

asbokid

  • Kitizen
  • ****
  • Posts: 1286
    • Hacking the 2Wire
Re: Routerstats-style program for Linux
« Reply #4 on: July 30, 2012, 05:57:45 PM »

I'm developing a DSL router monitoring program inspired by John Owen's Routerstats program, to work in Linux. It was initially intended for use with the Huawei HG612 (with Asbokid's unlocked firmware) but in principle it should also work with other Broadcom-based DSL routers which have a fully functioning telnet interface. Its features are incomplete, but it's reached the point where it can do useful work and I would appreciate some feedback about it. It's free and open source, and will be released under the GPL when I sort out the details.

You should hopefully be able to download it from the link below. Please read the included README.

https://docs.google.com/open?id=0BxbUtOYVZ_SCSmVMaThGM3daYzg

Way hay!  Good stuff Eric! :)  I will give it a spin straight away :)

cheers, a
Logged

silversurfer44

  • Kitizen
  • ****
  • Posts: 4422
  • Lord Muck
    • Ben Novice Weather
Re: Routerstats-style program for Linux
« Reply #5 on: July 30, 2012, 06:37:25 PM »

Very well done Eric.
I will see if I can use when I have got used to driving this HH3.
Logged
Colin II : It's no good being a pessimist, it wouldn't work anyway.

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 27662
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: Routerstats-style program for Linux
« Reply #6 on: July 30, 2012, 06:50:47 PM »

Quote
I'm developing a DSL router monitoring program inspired by John Owen's Routerstats program, to work in Linux.

Excellent news, Eric.

Quote
You should hopefully be able to download it from the link below. Please read the included README.

https://docs.google.com/open?id=0BxbUtOYVZ_SCSmVMaThGM3daYzg

Even though his evening meal will be delayed, b*cat makes arrangement to download the appropriate software that is offered by a fellow "penguin-hugger".  ;D

Edited to add --

Quote
[ajb@Duo2 rs-ux-0.1]$ ll
total 5140
-rw-r--r--. 1 ajb ajb    1633 Jul 30 09:52 README
-rwxr-xr-x. 1 ajb ajb 5257000 Jul 30 14:57 rsux
[ajb@Duo2 rs-ux-0.1]$ file rsux
rsux: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped
[ajb@Duo2 rs-ux-0.1]$

I run a pure 64-bit system on this laptop, so testing will be delayed until I crank-start the 32-bit workstation (the hardware of which dates from Q4 of 1999).

A very hungry b*cat goes to look at his food-bowl.  ::)

« Last Edit: July 30, 2012, 07:07:07 PM by burakkucat »
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.

asbokid

  • Kitizen
  • ****
  • Posts: 1286
    • Hacking the 2Wire
Re: Routerstats-style program for Linux
« Reply #7 on: July 30, 2012, 07:29:06 PM »

I run a pure 64-bit system on this laptop, so testing will be delayed until I crank-start the 32-bit workstation (the hardware of which dates from Q4 of 1999).

asbokid is a 64-bitter, too.  This worked though. Hold on to your hats, it's a monster package (81MB)
Code: [Select]
sudo apt-get install ia32-libs-gtk

Excellento, Eric!

cheers, a
« Last Edit: July 30, 2012, 08:13:09 PM by asbokid »
Logged

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39510
  • Penguins CAN fly
    • DSLstats
Re: Routerstats-style program for Linux
« Reply #8 on: July 30, 2012, 07:43:08 PM »

Actually I may be able to cross-compile for 64-bit. I'm using Lazarus/Freepascal, which has the capability if I can make it work.

Scrap that. I don't think it can be done. I think this may be the time to double my bits, but ia32-libs should get you going if you're willing. :)

« Last Edit: July 30, 2012, 07:49:36 PM by roseway »
Logged
  Eric

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39510
  • Penguins CAN fly
    • DSLstats
Re: Routerstats-style program for Linux
« Reply #9 on: July 30, 2012, 08:21:30 PM »

As we speak, I'm installing Debian Testing 64-bit on my other PC. They can share the source code, so I can build 32-bit executables on this one, and 64-bit executables on the other.
Logged
  Eric

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 27662
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: Routerstats-style program for Linux
« Reply #10 on: July 30, 2012, 08:21:50 PM »

I think I'll wait until the source-code is laid in the public's gaze and then compile it myself.  :)
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.

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39510
  • Penguins CAN fly
    • DSLstats
Re: Routerstats-style program for Linux
« Reply #11 on: July 30, 2012, 08:25:07 PM »

I think I'll wait until the source-code is laid in the public's gaze and then compile it myself.  :)

I can upload it shortly, but are you familiar with Lazarus/Freepascal (because that's what I'm using)?

Source now available at

https://docs.google.com/open?id=0BxbUtOYVZ_SCZ3ZZYzBEQTc5SUE
« Last Edit: July 30, 2012, 08:44:17 PM by roseway »
Logged
  Eric

Howlingwolf

  • Reg Member
  • ***
  • Posts: 107
Re: Routerstats-style program for Linux
« Reply #12 on: July 30, 2012, 08:52:18 PM »

I'm not sure if this is a good sign or a bad one, but I actually had to look that up  ::)

I guess I'm also going to have to wait for the 64bit build...
Logged

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39510
  • Penguins CAN fly
    • DSLstats
Re: Routerstats-style program for Linux
« Reply #13 on: July 31, 2012, 01:06:32 PM »

Both 32-bit and 64-bit versions and the source can be downloaded from

https://docs.google.com/folder/d/0BxbUtOYVZ_SCZ1BnY3RKYnN2b1U/edit

These are both minor version upgrades on the original (just a small cosmetic change), and I've removed the original to avoid confusion.
« Last Edit: July 31, 2012, 01:18:55 PM by roseway »
Logged
  Eric

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 27662
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: Routerstats-style program for Linux
« Reply #14 on: July 31, 2012, 07:24:40 PM »

Thank you, Eric.

I am currently testing the original version on my 32-bit workstation. My comments:

(1) The configuration menu does not allow me to set 24 hours per graph, it appears to have a maximum of 10.
(2) Any possibility of swapping the colour around, please? Red for downstream and green for upstream?
(3) The numbers displayed on the x- and y-axis are rather small for less-than-perfect eyesight. Could they please be enlarged?
(4)  . . .

 :)
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.
Pages: [1] 2 3 4