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.


Saturday, June 21, 2014

GPIO 01-leds

This is my first post regarding Raspberry's GPIO pins. This is very basic scheme consisting of ten LEDs, which are controlled by python script, providing several effects for LEDs.

Wednesday, June 18, 2014

Setting up NFSv4

This is a short how to for setting up NFS version 4.

NFSv4 can handle several connections via one port (2049), this is much simpler to enable in firewall, than several ports for NFSv3. It has a bit different approach for how to setup exports.

Sunday, June 15, 2014

Replacing crontab with systemd timers

As of systemd version 212, you can use timers to schedule regular jobs. Systemd timers offer more functionality compared to crontab. See systemd.time for more details.

Saturday, June 14, 2014

Changing I/O Scheduler for HDD

If you are using SSD disk or you are running system from SD Card, it's a good practice to change kernel I/O schedulers for your HDD/Storage, to get better performance and better lifetime.

Thursday, June 12, 2014

New device

Recently I've bought odroid-u3 to play with. I has replaced my Raspberry PI, which is now free to become XBMC on my TV :)
It offers tremendously more CPU performance compared to Raspberry, so all services, mainly owncloud, are now pretty swift and responsible.
I'll post odroid posts in the Raspberry PI section.

Enigmail doesn't remember key password

I've been using enigmail for some time and it had one annoying bug, or perhaps this was caused by some misconfiguration in my system, each time I've tried to open an encrypted email a password prompt appeared.

Monday, June 9, 2014

SSL Termination with HA Proxy, session storing with memcached

This post describes updated architecture of loadbalancing-owncloud-with-ha-proxy. I use HA Proxy in version 1.5 now, which can do SSL termination and I use memcached for owncloud's sessions.