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 […]

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 […]

How to use Clonezilla on wireless network

Start Clonezilla normally but after “Collecting the info of network devices” and “Getting the link status of…” lines you have to choose your wireless netword card probably wlan0 and now on “Choose the mode to setup the network for this network card: wlan0” you choose

"enter_shell Enter_command_line_prompt,_Do_it_manually"

and hit enter.

Then you will […]