Munin on Raspberry Pi with dynamic IP

the easiest tool to monitoring a server is munin. It’s easy to install and has lots of plugins. Installing munin on a server, which is to be monitored, is not really a smart move. Seeing a raspberry pi laying on a closet and do nothing, gives me the idea to use it to monitor my vServer. The problem is how to configure munin-node to communicate with munin, which is behind a dynamic IP. But one step after the other :)

First move is to grab a SD-Card and flash Raspbian from Raspberry Pi website. This is an easy task.

Next task is to assign a static IP address. Continue reading Munin on Raspberry Pi with dynamic IP

Installing wifi adapter on raspberry pi

After configuring my raspberry using various images (xmbc or mpd )with an ethernet connection, it’s time to make it wireless :)

Bought an Edimax EW-7811UN wifi adapter for 11 Euro. How to install this on the latest Raspbian Wheezy image.

Install the driver

First you have to the right driver (see Raspberry forum) for the Realtek RTL8188CUS chipset.

Unpack it and copy 8192cu.ko to /lib/modules/3.1.9+/kernel/net/wireless

Add the following line to /etc/modprobe.d/blacklist.conf.

To load the wifi driver on boot put this to /etc/modules

To make sure the driver can be loaded successfully, run

To activate the wifi interface, add the following lines to /etc/network/interfaces

To configure the wifi, create the file /etc/wpa_supplicant.conf and put the following lines

Reboot the raspberry, and wifi should be running :)

PS: according to the post on raspberry pi forum, there’s a shell script to automate the steps above. I haven’t tried it.