This page contains some tips & tricks and small projects. They are shown in random order. Most of these tips & tricks are for my own documentation, but hey, feel free to use them for your own Raspberry Pi (or just about any other Linux installation for the non Pi specific tips and tricks).
The internet is full of things, the Internet Of Things (IOT). MQTT helps sensors and actuators to be connected to each other in a highly flexible way. And an MQTT server (broker) is light weight enough to be run on even the slowest member of the Raspberry Pi family.
This chapter shows what other hardware is guaranteed to work well in combination with the Raspberry Pi.
The information is collected from my own experiences as well as from other trusted sources.
When you connect your Pi to your home network you can easily find out what IP a$ However, when you connect your Pi to a strange network, you're left in the dark. Unless you use this script to make the Pi send you a tweet whenever its network$
I was just wondering whether it was possible to connect the Raspberry Pi to the internet using a 3G USB dongle, just in case I ever needed it. And you've guessed it already, it is perfectly possible. So here we go....
When you connect your Pi to your home network you can easily find out what IP address it has received through DHCP. However, when you connect your Pi to a strange network, you're left in the dark. Unless you use this script to make the Pi send you an email whenever its network comes up.
This little Python script allows you to switch on just about any modern computer on your LAN. Now you can leave your powerful and power hungry computers turned off, while still being able to turn them on when you need them, even when you're not at home to push the ON button. The only thing you'll need is your power friendly Raspberry Pi to be on at all times.
Make your Raspberry Pi send random tweets every now and then. For instance to advertise your web site, your company, your product or any special event. My Pi advertises my web site a couple of times a day.
Expand the storage capacity of your Raspberry Pi with ample free cloud space.
This doesn't only expand the storage capacity.
It also enables you to share files between several Raspberry Pies and your desktop computer.
You can even give commands to your Raspberry Pi through this shared cloud space, even if your Raspberry Pi is locked up behind a firewall.
Mutt is a full featured, text based, mail client. This article shows how you can setup mutt to be used with Gmail. This also allows your Pi to send mails on its own accord, even including attachments. So if your Pi's job is to take measurements all day long, it can now mail the measurements back to you.
This little article explains how to connect your Raspberry Pi to multiple networks using only a single Ethernet port.
Please note that you'll have to connect your Raspberry Pi to a managed network Switch for this to work!
Per default the serial port of the Raspberry Pi is set up to be used as an old fashioned serial console.
Almost no one uses it for that purpose anymore.
We can put the serial port to a much better use, for instance to let it talk to a micro controller which handles all time critical I/O for us.
Here's how to set up the serial port for our own purposes.
If you want to be able to connect to your machine from anywhere in the world, without using port forwarding, no matter what kind of services you want to expose, consider using TOR.
That’s what my new minion Kevin is designed for.
I can login to Kevin over ssh, or view his web pages, no matter where he is, without opening a single port in the network he is on.
If you have use for a similar scenario, read on and find out how easy it is to set it up.