I need to document the quality of an internet connection (it's crap). Download speeds frequently jump between 12kbps and 3mbps, and packet loss usually sits around 20%, though blackouts lasting up to an hour are a nearly daily occurrence.
I know how to run a simple speed test, but I'd like to run one for 24 hours straight, preferably taking down logs every few seconds detailing current upload speed, download speed, and ping time (or "network unavailable," as the case may be). It would need to be able to resume testing immediately after an extended blackout (as in, don't stop trying or throttle back just because the network connection is clearly down: keep hammering).
I'd like the data in as raw a form as possible, so I can play with it and visualize it as I see fit. I would be doing the test over a wireless network (everyone else accesses the network wirelessly) from a laptop running Ubuntu 12.04. Obviously, I'm able to provide an external server with a fast and reliable connection to ping/upload/download, and can install anything on that end that's needed.
What sort of solutions are out there to provide me with data like this? A CLI-based application or a fancy GUI are both fine; I'm comfortable with either.