Tag Archives: raspberry pi

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.

 

Failed to unzip Raspberry Pi Zero image on OSX | failed to unzip raspberry pi zero zip on osx

I downloaded the latest image for my Raspberry Pi Zero and it started causing problems when trying to unzip it, its happened to me before but I thought Id make a post about it to avoid other search the net for hours before finding a solution.

I downloaded the following image.

When I tried to unzip it, it was renamed to this

Then I tried to double click on that and it was renamed to this.

So I realized I was going nowhere. The fix for this problem is listed below, fire up the terminal and execute the following command.

 

 

Done, enjoy.