Git Good @ Tech

Category: Raspberry Pi (page 1 of 2)

Syncthing on Raspberry Pi 2 make your own cloud storage

Syncthing is amazing alternative to things like Dropbox or Google Drive plus you control your data. Now it works little differently than usual cloud storage solutions. Instead of one central server Syncthing uses peer to peer sharing. Also Syncthing is quite flexible for sharing files between your different devices or between people. I will not go into details of Syncthing  features and options because probably if you are already here you want to know how to install it so here goes …
Continue reading

Running Raspberry Pi 2 from USB drive

Until now I have used Raspberry Pi with micro SD card and while it works for some times I have had lot of corruptions. Not shutting Pi properly down plus unstable power wreak havoc on the SD card. And as you may have read from my previous tutorials I like to run servers on my Raspberry Pi so yeah SQL + logging = high read write are no way to treat small SD cards.

So for loads like that there should be more robust solution.

And for that here is small write up how to use USB thumb drive or USB hard drive as your Raspberry Pi-s root drive. You still need SD card for boot but as you learn from this tutorial it is much easier to replace the static boot drive then whole system, especially  if you haven’t backed up your system 10 seconds prior to failure.

Continue reading

Node Red Dashboard server and temperature monitor.

Here are some screenshots of the upgraded dashboard. And at the bottom is the full Node Red code.

Continue reading

Wifi temperature logger aka “NodeMcu Arduino IDE MQTT DHT11 Node”. Part 3 (Node Red and dashboard)

In previous two tutorials we learned how to set up ESP8266 with arduino IDE as temperature sensing node. Now we gonna look Node Red side of things and will create dashboard for displaying the data.

Continue reading

Wifi temperature logger aka “NodeMcu Arduino IDE MQTT DHT11 Node”. Part 2 (ESP8266 sketch)

In this part of the tutorial we will look closer the esp8266 sketch that will send the temperature info to our server.


Continue reading

Recovering broken Raspberry Pi filesystem

Well F.. Nothing works. Hmm lets reboot. Nothing. Maybe its issue with external hard drive. Lets take the RPi Sd card and change the fstab file manually from different computer. While trying to open the /etc/ folder I’m greeted with following error:

Boom. Congrats you won broken filesystem. “Structure needs cleaning”.

So here is how you can maybe fix it.

Continue reading

Raspberri Pi Torrent box

Finally we can set up our torrent box. For you know.. downloading and sharing Linux distros and open sourced software.

Continue reading

Setting up SSHFS on Raspberry Pi

This will be tutorial about how to set up RPi torrent box… oh wait i need to mount external drive ….okey then…. This WILL be tutorial about how to mount usb drive on RPi …. Wait I need to transfer large files between RPi and my PC …….fuuuuuuuu…  Fine  it will be tutorial about how to set up SSHFS on Raspberry Pi.
I prefer SSHFS over samba because its pain to set up samba on RPi(not really but i’m lazy) and yes if you want connect many windows or android devices its better solution but for a linux to linux file transfer it super easy and quick to set up, another downside is speed. But because I don’t transfer 100 gig files my 10MB/s is adequate.But hey the SSHFS is encrypted which is nice.

Continue reading

Installing MQTT Broker(Mosquitto) on Raspberry Pi

Eclipse Mosquitto™ is an open source (EPL/EDL licensed) message broker that implements the MQTT protocol. MQTT provides a lightweight method of carrying out messaging using a publish/subscribe model. This makes it suitable for “Internet of Things” messaging such as with low power sensors or mobile devices such as phones, embedded computers or microcontrollers like the Arduino. And I will show you how to install Mosquitto to RaspberryPi

Continue reading

How To Create a New User and Grant Permissions in MySQL

In our previous post we installed MySQL server and PhpMyAdmin.
Now we gonna add new user and tables to our database using PhpMyAdmin.

Continue reading

Older posts

© 2017 JakeMakes