Kitz Forum

Broadband Related => Router Monitoring Software => Topic started by: anoggin on February 18, 2022, 09:11:47 PM

Title: DSLStats on 64-bit Pi OS?
Post by: anoggin on February 18, 2022, 09:11:47 PM
Has anyone succeeded in running DSLStats on the 64-bit Raspberry Pi OS now that it is official?

I realise there is not likely to be a 64-bit recompile of DSLStats. I'm wondering whether one can install libraries on the OS to make the 32-bit version run. I've tried a few with no success.

Apologies for a question that may be more about Pi OS than about DSLStats.
Title: Re: DSLStats on 64-bit Pi OS?
Post by: meritez on February 18, 2022, 09:45:11 PM
I see 6.5.9 has source code.

Is it an armv7 or armv8 64 bit build you require?
Title: Re: DSLStats on 64-bit Pi OS?
Post by: anoggin on February 18, 2022, 09:57:02 PM
I see 6.5.9 has source code.

Is it an armv7 or armv8 64 bit build you require?

Thanks for the reply. Pi 4 Model B, so armv8 as I understand it.  I'm a Windows programmer but I lack the knowledge to compile on the Pi. 
Title: Re: DSLStats on 64-bit Pi OS?
Post by: tiffy on February 19, 2022, 11:52:26 AM
Have had a play with 64b RPi OS (Bullseye) on my RPi-4B but have never had occasion to run DSLStats on this RPi or OS version.
As DSLStats runs perfectly on much lower spec RPi's, I used RPi-ZW's to monitor stat's on my son and daughters FTTC lines with VNC for remote access, directly powered from respective router USB sockets, I currently use a RPi-3B on my own FTTC line as I happen to have one spare.

However, I'am sure you have your reasons to try and run DSLStats on 64b RPi OS and apologies I can't offer any assistance on this.

I did experience an issue with RPi Bullseye OS (32b) running on RPi-4B on it's initial launch, very slow interface via VNC when running headless to Win 10 PC, there was a "temporary fix" available for this which worked.
https://forums.raspberrypi.com/viewtopic.php?t=323294&sid=ee85cb4a5ce3b1d64f2bb6446970f8d8
Noted that the latest 64b RPi Bullseye does not require this "fix" with headless interface via VNC.
Title: Re: DSLStats on 64-bit Pi OS?
Post by: anoggin on February 19, 2022, 08:46:07 PM
As DSLStats runs perfectly on much lower spec RPi's, I used RPi-ZW's to monitor stat's on my son and daughters FTTC lines with VNC for remote access, directly powered from respective router USB sockets,

Interesting idea, a Zero powered from the router's USB socket. Thanks.

As for the Pi 4B and 64-bit OS, I may have to bite the bullet and learn the compiler.
Title: Re: DSLStats on 64-bit Pi OS?
Post by: meritez on February 19, 2022, 08:56:13 PM
Interesting idea, a Zero powered from the router's USB socket. Thanks.

As for the Pi 4B and 64-bit OS, I may have to bite the bullet and learn the compiler.

Code: [Select]
cat README.SOURCE
DSLstats v6.0.7 -->

This code can be built with Lazarus v1.4 (or later) and FPC v2.6.2 (or later)

Before loading the project you need to install three additional packages:
dsgraphs, uniqueinstance and lNet. There is also a third-party library:
synalist-code-207-trunk.

This library is not installed in the IDE, but you need to open the package laz_synapse.lpk
and compile it. When you build the program you may get an error message to say that the
compiler is unable t

I'm still reading the source code.
Title: Re: DSLStats on 64-bit Pi OS?
Post by: tiffy on February 20, 2022, 12:25:33 PM
Quote
Interesting idea, a Zero powered from the router's USB socket. Thanks.

Yes, quite a few forum patrons adopted this power method with RPi-ZW's velcro'ed to the router case running DSLStats, Wi-Fi'ed to router, tidy and self contained, very popular when the excellent MDWS facility was running.

Of course the need for modem line stat's monitoring by any method is on the decline now with the ever increasing uptake of FTTP where available.
Title: Re: DSLStats on 64-bit Pi OS?
Post by: j0hn on February 20, 2022, 12:55:18 PM
I powered my RPi 3B from my Zyxel VMG1312-B10A usb port for a couple years.
The RPi ran DSLStats and Pi-Hole 24/7.
It never once caused any issues despite the supposed higher power requirements of the 3B.
Title: Re: DSLStats on 64-bit Pi OS?
Post by: Alex Atkin UK on February 26, 2022, 08:10:05 PM
I powered my RPi 3B from my Zyxel VMG1312-B10A usb port for a couple years.
The RPi ran DSLStats and Pi-Hole 24/7.
It never once caused any issues despite the supposed higher power requirements of the 3B.

Probably as none of that would be really stressing the CPU, GPU and no USB devices plugged into the 3B would keep the load down also.
Title: Re: DSLStats on 64-bit Pi OS?
Post by: anoggin on July 23, 2022, 08:37:12 PM
Well, after a long delay I got round to doing this myself: compiling DSLStats source on a Pi running the 64-bit OS.  It is running perfectly.

All it took was installing Lazarus, then following the instructions in the source code's README.SOURCE to install various packages, compile some dependencies, and set one compiler path. 

I am reminded what a fine piece of programming DSLStats is.



Title: Re: DSLStats on 64-bit Pi OS?
Post by: burakkucat on July 23, 2022, 08:43:07 PM
Well, after a long delay I got round to doing this myself: compiling DSLStats source on a Pi running the 64-bit OS.  It is running perfectly.

Excellent news. Congratulations.

Quote
I am reminded what a fine piece of programming DSLStats is.

Yes, indeed.  :)
Title: Re: DSLStats on 64-bit Pi OS?
Post by: RTouris on February 20, 2023, 10:59:29 PM
Well, after a long delay I got round to doing this myself: compiling DSLStats source on a Pi running the 64-bit OS.  It is running perfectly.

All it took was installing Lazarus, then following the instructions in the source code's README.SOURCE to install various packages, compile some dependencies, and set one compiler path. 

I am reminded what a fine piece of programming DSLStats is.

Hi, just wondering if DSLstats is still running OK with the 64-bit recompile and was it really under Raspbian Bullseye that you undertook this? Would it be OK if you shared the executable so I can have a go with it, too - if this is OK with the license that is... :)