Need DSLstats on RPi headless with Webserver
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- Need DSLstats on RPi headless with Webserver
Need DSLstats on RPi headless with Webserver
13-03-2017 1:43 PM - edited 13-03-2017 1:49 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Next project now I've built and got my new pfsense box running as expected is a headless raspberry pi 2 serving dslstats via it's or an-other webserver that would be plugged into the second port only on my HG612 which I can connect to via wifi etc. I've no intrest in serving the stats elsewhere.
I tried this a few years ago running dslstats on an Rpi but that was using a full version of the distro then connecting with Screenneedless to say it was less than ideal and very laggy, trying for an hour or so today I can't seem to get the webserver to show any stats running from a VM's own browser. 192.168.1.88:55555 gives a white page while trying to append anything to the end ie *.html or *.txt gives a page errorIs this a permissions thing ?
How do I get rid a the damn pink line thing!

Re: Need DSLstats on RPi headless with Webserver
13-03-2017 2:06 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: Need DSLstats on RPi headless with Webserver
13-03-2017 2:13 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Tried all that, still no good. I can see the server running in the background but still no luck.
Not sure if it has anything to do with permissions on Mint anyway.
Re: Need DSLstats on RPi headless with Webserver
13-03-2017 2:21 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
~/.dslstats $ ls -l
total 52
-rw-r--r-- 1 barclay barclay 2974 Dec 7 20:49 ConnectionStats-2016-12-07-20.49.39.txt
-rw-r--r-- 1 barclay barclay 4442 Mar 13 14:11 dslstats.ini
-rw-r--r-- 1 barclay barclay 1056 Mar 13 13:50 errors1.dat
-rw-r--r-- 1 barclay barclay 11118 Mar 13 13:50 es.data
-rw-r--r-- 1 barclay barclay 1039 Dec 7 20:52 GDotInpData-2016-12-07-20.52.10.txt
-rw-r--r-- 1 barclay barclay 2976 Nov 23 16:28 Stats-2016-11-23-16.28.46.txt
-rw-r--r-- 1 barclay barclay 298 Mar 13 13:50 traffic.ini
-rw-r--r-- 1 barclay barclay 372 Mar 13 13:50 traffic.txt
-rw-r--r-- 1 barclay barclay 556 Dec 7 20:54 Vectoring-2016-12-07-20.54.23.txt
drwxrwxr-x 2 barclay barclay 4096 Mar 13 11:08 webserver
barclay@barclay-VirtualBox ~/.dslstats $ cd webserver
barclay@barclay-VirtualBox ~/.dslstats/webserver $ ls -l
total 504
-rw-r--r-- 1 barclay barclay 326 Mar 13 14:11 bitloading.html
-rw-r--r-- 1 barclay barclay 21456 Mar 13 14:17 bitloading.png
-rw-r--r-- 1 barclay barclay 48890 Mar 13 11:14 bitloading.txt
-rw-r--r-- 1 barclay barclay 881 Mar 13 14:17 combined.html
-rw-r--r-- 1 barclay barclay 336 Mar 13 14:11 connspeed.html
-rw-r--r-- 1 barclay barclay 18583 Mar 13 14:17 connspeed.png
-rw-r--r-- 1 barclay barclay 312 Mar 13 14:11 crc.html
-rw-r--r-- 1 barclay barclay 312 Mar 13 14:11 fec.html
-rw-r--r-- 1 barclay barclay 3096 Mar 13 14:17 fullstats.html
-rw-r--r-- 1 barclay barclay 312 Mar 13 14:11 fullstatstemplate.html
-rw-r--r-- 1 barclay barclay 2958 Mar 13 11:14 fullstats.txt
-rw-r--r-- 1 barclay barclay 18161 Mar 13 12:33 hlog.png
-rw-r--r-- 1 barclay barclay 77025 Mar 13 11:14 hlog.txt
-rw-r--r-- 1 barclay barclay 1055 Mar 13 11:14 pbparams.txt
-rw-r--r-- 1 barclay barclay 20986 Mar 13 12:33 qln.png
-rw-r--r-- 1 barclay barclay 81160 Mar 13 11:14 qln.txt
-rw-r--r-- 1 barclay barclay 312 Mar 13 14:11 ses.html
-rw-r--r-- 1 barclay barclay 314 Mar 13 14:11 snrm.html
-rw-r--r-- 1 barclay barclay 350 Mar 13 14:11 snrmpbdown.html
-rw-r--r-- 1 barclay barclay 14395 Mar 13 14:17 snrmpbdown.png
-rw-r--r-- 1 barclay barclay 344 Mar 13 14:11 snrmpbup.html
-rw-r--r-- 1 barclay barclay 15205 Mar 13 14:17 snrmpbup.png
-rw-r--r-- 1 barclay barclay 17457 Mar 13 14:17 snrm.png
-rw-r--r-- 1 barclay barclay 19463 Mar 13 12:33 snrpertone.png
-rw-r--r-- 1 barclay barclay 70785 Mar 13 11:14 snrpertone.txt
-rw-r--r-- 1 barclay barclay 1098 Mar 13 14:17 stats.html
-rw-r--r-- 1 barclay barclay 286 Mar 13 14:11 statstemplate.html
-rw-r--r-- 1 barclay barclay 812 Mar 13 11:14 stats.txt
-rw-r--r-- 1 barclay barclay 5 Mar 13 11:14 traffic.txt

Re: Need DSLstats on RPi headless with Webserver
13-03-2017 2:22 PM - edited 13-03-2017 2:24 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
@30FTTC06, is it running Apache? If it is make sure it's listening to the correct address and port:
Listen 192.168.1.88:55555
and your <Directory ...> entries allow for connections from your LAN(s).
Order deny,allow Deny from all Allow from 192.168.1.1/24
Edit:- These are of course in your /etc/httpd/conf/httpd.conf file
Re: Need DSLstats on RPi headless with Webserver
13-03-2017 2:28 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I thought it was all in the package, do I need to configure an apache server then seeing as I don't even know how to configure apache ?
Re: Need DSLstats on RPi headless with Webserver
13-03-2017 2:30 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
install apache and stuff those configurations in the .conf ?

Re: Need DSLstats on RPi headless with Webserver
13-03-2017 2:35 PM - edited 13-03-2017 2:36 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Well I don't know if Mint (or even Raspbian) has a default HTTP server maybe one of the other guys do. But assuming it doesn't then you need to install it and configure as needed.
I use Arch Linux on Pi as anything with a GUI is wasted when there's SSH.
Re: Need DSLstats on RPi headless with Webserver
13-03-2017 2:43 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
/etc/apache2 $ ls
apache2.conf conf-available conf-enabled envvars magic mods-available mods-enabled ports.conf sites-available sites-enabled
Re: Need DSLstats on RPi headless with Webserver
13-03-2017 2:46 PM - edited 13-03-2017 2:46 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I don't yet even know if DSLstats runs headless, last time it just complained about no gfx
Re: Need DSLstats on RPi headless with Webserver
13-03-2017 2:50 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Apparently dslstats has it's own integrated web server. So no, you don't need to install apache - Which can be very easy but is often very complex.
Try running
netstat -nlp | grep 55555
If the above indicates dslstats is listening on an interface you should then be able to connect to and download the home page.
telnet localhost 55555
GET / HTTP/1.1 host:localhost connection:close <cr> <cr>
If that is the case, check your firewall configuration.

Re: Need DSLstats on RPi headless with Webserver
13-03-2017 2:51 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
OK, looks like it's serving from apache so you'll need to tweak your config file as required. Also do not assume that the HTTPD daemon is running, the easiest way I use is :
top | grep httpd
If it's running you'll see something like this:
442 root 20 0 136.3m 8.3m 0.0 0.1 0:02.28 S `- httpd 894 http 20 0 426.3m 8.1m 0.0 0.1 0:12.60 S `- httpd 895 http 20 0 426.3m 8.1m 0.0 0.1 0:12.51 S `- httpd 896 http 20 0 426.3m 8.1m 0.0 0.1 0:11.76 S `- httpd
Otherwise there will be nothing. Just press q to quit regardless of the output.
Re: Need DSLstats on RPi headless with Webserver
13-03-2017 3:05 PM - edited 13-03-2017 3:10 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I can see some form of server running...
netstat -nlp | grep 55555
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 0.0.0.0:55555 0.0.0.0:* LISTEN 4597/dslstats
telnet localhost 55555
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'
Re: Need DSLstats on RPi headless with Webserver
13-03-2017 3:11 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
no firewall on this machine
Re: Need DSLstats on RPi headless with Webserver
13-03-2017 3:15 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
So once telnet has connected...Did you try typing the rest of what I posted earlier?
GET / HTTP/1.1 host:localhost connection:close <cr> <cr>
I may not have made it clear, that is what you need to do. <cr> is a carriage return on an otherwise blank line. You need two of those consecutively before the webserver will process the request.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- Need DSLstats on RPi headless with Webserver