Tag Archives: raspberry pi

Howto setup Rasbian Buster with BATMAN Mesh networking | raspberry pi 3 rasbian mesh batman network

I wrote this article a while ago about setting up BATMAN mesh networking with Rasbian Jesse on a Raspberry Pi 3.

This worked well, but stopped working with the newer versions of Rasbian, since there have been changes to the operating system.

After testing for several days, I found adding one command into the original script gets it to work just fine.

How to below.

After a fresh install of Rasbian Buster, connect to the system via ssh and run the following command to install BATMAN.

Lets create the mesh startup script.

The script will contain the instructions for bring up the interfaces and get  mesh, just change the IP address at the bottom on the next hosts, increment by one. Copy and past the following into the mesh.sh file.

Now let make the script executable.

And add to crontab so that its executed at every reboot

Add the following

Reboot and mesh should be up and running.

Test by executing the following command.

Should see something like this.


Raspberry Pi 3 error IPTables | Raspberry pi error – iptables v1.4.21: can’t initialize iptables table `nat’: Table does not exist (do you need to insmod?)

Was building a RPi3 machine and got the following error after an update.

Turns out nothing to worry about, just reboot the Pi.

Dump1090 to MySQL Script | send flight data from dump1090 to mysql

I wanted a script which would read all the live dump1090 aircraft data and log it to a mysql database.

This base script does it, it will dump all the data to Mysql every minute.

It will start the dump1090 server and kick off a process which reads/sorts and inserts.


SD Card review on the Raspberry Pi | Improving the raspberry pis performance with different storage cd card

I was running Nextcloud on a Raspberry Pi zero w, the performance is not there.

I ran top to determine the IO Wait times, it was high. High enough that the performance would be impacted.

I ran a test on two different cards.

The is a Sandisk Ultra 16gb ($9) and the Sandisk Extreme Pro 128gb ($120), looks like the price does not improve performance on the raspberry pi Zero. I will write another article when I test the latest Raspberry Pi and see if the results change.

Sandisk Ultra

Sandisk Extreme Pro


How to setup Nextcloud 13 in a Docker container | how to setup nextcloud 13 on docker

I have written a script which will setup Nextcloud on a Ubuntu Docker container. Ill run through the entire process.

First we need to download the correct image into docker.

Then we need to start the container with the os.

Now we need to find the unique id of the container

Now on the host, so not the container.  Create the script.

Now paste the following into the script.

Now adjust the permissions to make it executable.

Now lets copy it over to the container

Then jump on the console.

Once your connected in, execute the script, this will install setup everything.

Once complete. Hit your web browser, navigate to https://localhost:10000/nextcloud. Should see the logon page, your credentials are Username: admin Password: password


Raspberry Pi 3 B+ and comparison with model 3B | raspberry pi 3 B+ improvements companison

The new Raspberry Pi 3 B+ has been release. Its the first release in a while.

I just wanted to highlight the major differences between the 3B and 3B+ models.

   3 B  3 B+
 CPU  1.2 GHz  1.4 GHz
 Wired  10/100BASE-T  10/100/1000BASE-T
 Wireless  802.11ac (2.4ghz)  802.11n (2.4ghz and 5ghz)
 Bluetooth  4.1  4.2


Raspberry Pi 3 not detecting camera | raspberry pi camera not working wrong port

I spent a few hours trying to get my camera working with my raspberry pi 3, the errors I was receiving are illustrated below.

I was silly enough to have connected it to the wrong port, but it seems to be a common issue as there are two connectors that are a similar size.

I have attached an image which show which port the camera should be connected to.

Above are the error and below is an image of a raspberry pi which shows all the connectors locations.

Raspberry Pi Postfix Courier-imap error | imapd: username: Account’s mailbox directory is not owned by the correct uid or gid

Im running postfix with courier-imap on a raspberry pi, got the following error, this is the fix.

Edit the imapd config file with the following command

Ensure the following is set to 0, its set to 1 be default.