Scripts that I use on my Raspberry Pi #4

(adsbygoogle = window.adsbygoogle || []).push({});

Sometimes you want that your Raspberry Pi connects many different wireless networks. To do this you just have to add file wpa_supplicant.conf to your memory card (You can do that example with notepad) and add this to it:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network={ ssid=”petrilopia_home” psk=”password” id_str=”home” priority=1 } network={ ssid=”petrilopianet_mobile” […]

Scripts that I use on my Raspberry Pi #3

I normally use sendemail on my Rasberry Pi because it’s easiest way to send email from your Raspberry Pi Linux machine using command line.

Let’s first install sendemail:

apt-get install sendemail

Using sendemail is easy:

sendemail -xu LOGIN -xp PASSWORD -f FROM -t TO -s SERVER:PORT -o tls=yes -u “SUBJECT” -m “MESSAGE” -a ATTACHEMENT FILE […]

How to search Coronavirus Tracing App Koronavilkku users

Since finnish version of Coronavirus Tracing App called Koronavilkku was released I have been wanting to find out if it is possible to see how many Koronavilkku users there is around me. So I have been playing with this app for about two weeks now and it seems to be working.

Because of an old […]

Scripts that I use on my Raspberry Pi #2

This simple script just checks if your Raspberry Pi is connected to the Internet or not. So using this script is really easy, it will make Raspberry Pi reboot itself if it’s not connected to the Internet or do something else to get it connected again. This has saved me so many times when I […]

Scripts that I use on my Raspberry Pi #1

This script checks what your current external IP address and will let you know if it has changed since the last time you checked. You can easily modify this script to make your Raspberry Pi send you an email of it’s external IP address and send email when it’s email address has changed so this […]