I am setting up diagnostic servers on local networks (Redhat 5.5). One requirement is a speed test where users in the network can test the speed of their internet connection (e.g., http://speedtest.net/ ).
I have been given the impression that their are open source solutions that I can use. I'm not sure yet if it makes a difference, but sometimes users might be accessing the speed test through a web page and sometimes the users will get the data from a Java application I am building.
A few years back I just home-rolled a very simple one with a static html file, javascript, and a couple of jpegs. It only does the download speed check (not the ping or upload speed check). The interesting parts of the web page are as follows:
The javascript portion:
The form:
And finally, somewhere in the page is:
While I have neither the need or interest in making it fancier, I wouldn't think it would be too hard make a page that had some additional bells/buzzers on it...