Recently I came across the requirement to monitor traffic for a few devices behind Ubiquiti EdgeRouters, so I put together the following method which is described here for future reference. I am using iptables to collect byte counts and poll this data through SSH from a monitoring server. The collected data gets saved in a round robin database and output as a graph using Tobias Oetiker’s geat RRDtool.
Traffic Accounting using iptables and rrdtool
Continue reading

I’ve spent most of my day today trying a plethora of different ways on how to configure Proxmox on a Hetzner server with multiple IP addresses. Most of the tutorials I found online gave a good deal of information but where lacking in one or two crucial details. Shortly before I was ready to throw my computer out of the window, I had success and managed to get everything set up the way I wanted it.

This aims to be the definitive guide on how to accomplish the aforementioned task. When ready the setup includes the following features:

  • Host bound to main IPv4 address, that comes with the server (and one of the 18,446,744,073,709,551,616 included IPv6 addresses)
  • Every IPv4 address of a separately delegated subnet usable for virtual machines
  • Internal private network for inter-virtual machine communication and non publicly accessible VMs

Continue reading

Linked Things IconI’ve started a new blog about a recent passion of mine: The Internet of Things.

The site Linked Things will accumulate information about products that are connected via the internet or local networks and can be controlled, combined and programmed.

Currently I’m aiming for one new post per week, but if you’ve got links or ideas please use the contact form on the page to send me your messages so I can gather as much data as possible about the internet of things and up the volume of posts with your help.

And please spread the word!

AudiogalaxyToday I’d like to highlight a software I found out about yesterday called Audiogalaxy.
If you’re about my age you surely remember the peer-to-peer audio file sharing application by the same name that took over Napster’s market share in 2001. Well this software is actually made by the same people only that they’ve shifted their focus from file sharing to a “placeshifting service” as they call it. Audiogalaxy lets you install a small client software on your computer that scans all your music and makes it available to you on the audiogalaxy.com website, Android phones & iPhone. And it’s completely free!

There have already been a number of attempts to offer this kind of service, the one I used quite a bit was Simplify Media which unfortunately was shut down. What makes Audiogalaxy truly stand out for me is it’s easy of installation, performance and iOS integration. I’ll outline the steps necessary to get the whole system up and running on a Mac and an iPhone.

  • First go to audiogalaxy.com and click on Sign Up. The easiest way is to use Facebook connect so we’ll choose that option.
  • Next you’ll be offered to download the client application for your computer which already has your login data included, so just drop it into your Mac’s application folder, start it and you’re good to go.
  • The website patiently waits to detect the client application on your computer which then starts scanning your default Music location.
  • It can take quite a while to index a big library, so hop over to your iPhone in the meantime and download the Audiogalaxy App from the App Store.
  • Start the Audiogalaxy App on your iPhone, log in with Facebook and you’ll be instantly connected to the music on your computer including all the Playlists you’ve set up in iTunes.

From now on you’ll be able to play all your computer’s music via the website or your mobile device (an Android client is available as well). What makes this service really special is the level of integration they’ve been able to accomplish with iOS. It can really replace you iPod App on the iPhone by offering background music playing, access to play/pause/skip/volume controls via all the available shortcuts and the headset buttons. One last thing I was doubtful about was how it will perform while being on the move, so I tested it out on my morning commute today and let me say I was extremely pleased.
I started music playback before leaving my appartement, so I was still connected to my home WiFi. When I reached the street my iPhone lost contact to the WiFi and switched to 3G, this only triggered a ~2 second gap in playback, after which the music just played on from where it lost contact. Performance on 3G is absolutely brilliant and I could keep on listening during the whole train ride. What was astonishing was that there is a tunnel on my way to work where I know that there is no cellular access at all (phone calls always drop while going through that tunnel), the Audiogalaxy app apparently had enough of the music buffered, so playback continued without interruption. When I got close to my office I once again experienced a little gap in the playback, that was when my phone picked up the company WiFi.

Let me finish of by stating a few things I’d love to see improved/added to the iPhone client:

  • Submission of played tracks to Last.fm
  • Updating of the playcount in iTunes’ library
  • Gapless playback between tracks of an album. If the software manages to play through short signal losses, why not pre buffer the next track as well to offer continuous playback?

Software download Links:

 

Android market QR code for Audiogalaxy

 

Available on the App Store