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).
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.
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!
Use Google Authenticator to make your exposed SSH enabled Raspberry Pi more secure against unautharised access.
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.
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.
OK, the Raspberry Pi can send tweets. But can it send text messages to my mobile phone too? Oh yes it can. And the good news is that it can do that without any extra hardware.
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.
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.
When you are baking a Raspberry Pie you should keep a close eye on the temperature.
But how do we actually read temperatures with a Raspberry Pi?
With minimum effort we can read temperatures in several ways.
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.
Your Raspberry Pi can send you updates on what it is doing per email.
I prefer using Gmail as mail delivery system because it is very reliable and it works on all networks.
Here's how to setup your Raspberry Pi to use Gmail to send you mails.
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.