This post builds on my previous posts in the Raspberry Pi Cluster series by changing how the slave sends messages. From now on the slave will send useful information about the system to the master. The master will also be configured to receive messages of many types.
This post builds on my previous posts in the Raspberry Pi Cluster series by changing the format of the data I send. In this tutorial I am now sending data as JSON to allow a richer set of messages to be sent.
This post builds on the third step to create a Raspberry Pi Cluster Node to store our configuration settings in a config file. Here we move all the configuration settings in our script into a useful .cfg file using the python ConfigParser.
This post reviews the Arduino Starter Kit. This is an ideal kit for a beginner in electronics and embedded systems or for someone wanting to learn how work with an Arduino. Here I look over what you get in the kit and the projects it provides.
This post describes what you can do to fix “Couldn’t switch to requested monitor resolution” problem. This occurs on a number of games, Confirmed fixes for Slime Rancher, Hearthstone, and Elderscrolls Legends.
I am going to upgrade our previous Raspberry Pi backup script that previously used Secure Copy to one that uses rsync. The primary reason for this is that rsync will only copy new or changed files over. This post goes through the reasons why you might want to use rsync instead of scp when performing a
This post builds on the second step to create a Raspberry Pi Cluster Node to create a hello world application across two different scripts. Here we will create a socket connection between the two and use it to send a message to the master.
Today I will be improving the basic script used to backup my Raspberry Pi’s so that it compresses the files after they have been copied. This will allow me to store several backups instead of having a single copy stored on my computer. This assumes you have followed the first tutorial to create a Raspberry
Firefox, unlike many other applications, keeps a store of its own trusted root certificate authorities. This means that adding a new root certificate to the operating system will not work. This post runs through how to add a new root certificate to Firefox.
This post describes how you can upgrade Raspbian Jessie, version 8, to Raspbian Stretch, version 9. Raspbian Stretch was recently released and while they recommend installing from fresh you are able to upgrade the versions. Here I follow the steps of upgrading the Raspberry Pi’s in my cluster including some of the common problems that
This post walks you through the process of installing the Raspberry Pi OS, Raspbian, with VirtualBox. I am going to use this at times to test my software running on the OS that the Raspberry Pi Cluster runs.
The TTP223B Capacitive touch sensor is a button type sensor that allows you to detect when it is being pressed. In this post I review the sensor and provide code and a wiring diagram to use such a sensor.
I was looking to add shared folders to my Fedora VM but during mounting them there was an error. The error “access denied” appeared each time I attempted to mount the volume. This post explains why this happens and what you can do to fix it.
A slight deviation from my normal weekly posts to announce that the most recent update to chewett.co.uk has been uploaded! I have added a couple of pages including: Contact me page – A simple page with the easiest way contacting me Legal Stuff – Includes the software licence for code snippets on my blog and website
The recommended way to modify a WordPress theme is to use a child theme. This allows redefining all features of the parent theme without manually changing the theme. This post describes why you might want to do this and how to do it.
I am a big fan of Linux and today want to share how you can install the Windows Subsystem for Linux (WSL) on Windows 10. This new feature available in Windows 10 lets you install a Linux bash shell and run various linux tools on Windows. Here I describe how to set up and install
To set up a Raspberry Pi node I will follow a specific set of steps so that every Pi is set up similarly. For the initial deployment I will follow this once and then clone the SD Card multiple times. If at a later date more are added I will use this guide to follow
This post describes how to set up a SSL certificate with Certbot on Apache and Fedora. The guide primarily follows the guide on the certbot website however adds some additional information for if auto configuration fails.
For my cluster project I will add a new user to each Raspberry Pi. This is so the user I use for all other systems will be the same on the Raspberry Pi’s. This post describes how to add another user to Raspbian OS.
On my fedora system I found that after upgrading the kernel the graphics drivers wouldnt work. My machine would boot into the operating system perfectly fine but would have no image on the screen. This post describes how I fixed this issue.
A number of years ago I was introduced to using Linux day to day. During this period of time I ran a large number of virtual machines to test its performance and various aspects which make it “linux”. Typically when I first set up a system I would install a common set of packages. Then
I will be testing the performance of each Raspberry Pi version in my cluster. This is to determine what each one is best suited to running. To do this I need a similar set of tests to run for each and compare them. Ideally the tests will also be runnable on other embedded Linux devices
Since the first Raspberry Pi was released in 2012 there have been a number of changes to their design. Since I plan to include a number of different models in my cluster I will review and test each model to find its weakness and strengths.
To set up my cluster I want to create single SD card image then run this same image on multiple Pi’s. This means I wont need to set up each Raspberry Pi at a time. One of the ways you can do this is by taking an image of the raspberry Pi then flashing that
The Raspberry Pi foundation have recently updated their Raspbian image. This brings bugfixes and upgrades to the Raspberry Pi. In this blogpost I share how you can run a command on your Raspberry Pi without logging in (this is mostly true although you still do “log in” just not in the typical way). This includes
When trying to mount an encrypted drive using Veracrypt I encountered this error: chewett@bunker-master2:/mnt$ veracrypt /dev/sdc1 gen500 Enter password for /dev/sdc1: Enter PIM for /dev/sdc1: Enter keyfile [none]: Protect hidden volume (if any)? (y=Yes/n=No) [No]: Error: device-mapper: reload ioctl on veracrypt2_0 failed: No such file or directory I did some research and found out that
I was setting up a new install of Raspbian Pixel and found I couldn’t login to the Raspberry Pi. It was giving me an error: chewett@bunker-master:~$ ssh pi@raspberrypi ssh: connect to host raspberrypi port 22: Connection refused It turns out that recently the Raspberry Pi Foundation have changed the default setting for SSH and disabled
It has started getting really hot in the UK and my flat is about 28 degrees at night. This means I have been sitting in a dark flat with all the windows and doors open. This works well but If I want to work on my computer then the lowest brightness level is still too
Now I have the power supply and built the stacking system I can show off the clusters initial state. Every Raspberry Pi in the cluster Here are the 7 initial Pi’s that are to become part of the cluster. Each have been given a codename to designate its position in the cluster. The Raspberry Pi designed “M” will be
If you are getting “Read-only file system” on your Raspberry Pi when mounting drives there is a simple fix. chewett@bunker-master2:/mnt/wd500$ touch test.txt touch: cannot touch ‘test.txt’: Read-only file system I noticed this happening when I tried to mount and work on my external hard drive. This is formatted with the NTFS filesystem. I did some