Sunday, July 20, 2014

GPIO 04-rgb

I finally got to the RGB LED and tried to connect it to Raspberry PI.
This first script (04-rgb.sh) is a modification of previous one. It uses one new feature though, associative fields in bash to distinguish between the three basic colors (RGB) and their combinations (Yellow, Purple, Light Blue, White) as shown on the figure:


The following figure shows how the LED is connected to GPIO.

owncloud: Authentication error

This issue has been bothering me from version 5. After some investigation, it turned out the owncloud's authentication was "compromised" by other services running on the same web server (nginx) using the same fastcgi processor.

Monday, July 14, 2014

Installing GitLab on Odroid (ArchlinuxARM)

This post summarizes all steps necessary to install GitLab on odroid. The steps are basically the same as in the official guide.
Additionally I show my nginx and HA Proxy configuration for gitlab with changed docroot (relative url root) and explain how to successfully install bundle packages without libv8 dependency.

Sunday, July 6, 2014

keepalive.sh: send keepalive to remote server

This script is deployed on my odroid. It serves to keep track if the odroid has internet access and if it is alive. It uses simple keepalive sending via HTTPS protocol to a remote server. The remote server watches keepalive signals and will notify if they stop comming.

Monday, June 30, 2014

GPIO 03-leds

This script controls LEDs connected to the GPIO, however, it uses different approach. Instead of using python library to handle GPIO pins, is uses direct calls from shell. It is written in bash.

Wednesday, June 25, 2014

pingcheck.sh: restore wlan connection

Another simple script I used on my Raspberry PI and now use on odroid. It is simple, ping based check of IP address availability.
It has been designed to restore wlan0 connection, as from time to time I get disconnected from my network.
During the time I've added few features, like pingcheck of default GW and pingcheck of other IP addresses and network notifications which will send popup to my desktop PC.

Monday, June 23, 2014

GPIO 02-leds

This is a slightly modified 01-leds python script. It can turn on/off group of LEDs (all red, green or yellow) defined in the LEDret(color) function.
This post shows scheme of how the LEDs are connected to GPIO.