Set static IP on LibreELEC

Today I stumbled upon the fact that my KODI based media box (Raspberry Pi 4) is still using a dynamic IPv4 address. Hence I want to connect via ssh regularly, I had to set a static IP on LibreElec (former OpenELEC) which my KODI mediacenter is running on. To achieve that, I had to connect […]

Restrict root ssh access to a single IP under Raspbian / Debian / Ubuntu

Today I configured a new backup solution that required me to restrict root ssh access to a single IP for the root user.

Learning Banana Pi – Book recommandation

Today I want to recommend you a book about the Banana Pi I had the grat pleasure to work on as a tester. I also gave improvement tips and corrected code. It is ideal for people who just want to start to use the Banana Pi. The tutorials are easy to follow and the results […]

Install KODI Mediacenter on Raspberry Pi 2 B+

Recently a  friend of mine asked me, if it would be possible to get a media center or something like that running on his old flat screen TV, that wasn’t a SmartTV. He wanted a kind of SmartTv-like app system (Add-Ons). So I decided to install KODI Mediacenter on Raspberry Pi 2 B+ that I had […]

Run a DynDNS client under Raspbian

For a home automation project I have to setup a local DynDNS client on my Banana Pi running with Raspian. Here are the steps I’ve taken to run a DynDNS client under Raspbian (will work on other Debian based Linux distributions too): Install ddclient package: $>sudo apt-get install ddclient This command installs the package and starts the DynDNS […]

Get MAC address from file system

On Debian based Linux distributions you can get the MAC address of the respective network adapter from the filesystem like shown below: $> cat /sys/class/net/wlan0/address # WLAN adapter $> 81:82:83:4:85:86 $> cat /sys/class/net/eth0/address # LAN adapter $> 1a:1b:1c:1d:1e:1f As you can see, all adapters have their own folder under  /sys/class/net/ that contains  a address file with the corresponding MAC […]

Get GPIO pin overview (pinout)

On Banana Pi you can call: $> gpio readall This should give you an pinout like that: +———-+-Rev2-+——+——–+——+——-+ | wiringPi | GPIO | Phys | Name | Mode | Value | +———-+——+——+——–+——+——-+ | 0 | 17 | 11 | GPIO 0 | OUT | High | | 1 | 18 | 12 | GPIO 1 […]

Raspbian for Banana Pi default user password (for bananapi)

The default password for the default user bananapi on a Raspbian for Banana Pi operating system is bananapi. You should change it to a secure password on first connect via ssh. Therefore you can use: $> sudo passwd bananapi  

Set static IP

Sometimes its necessary that your machine gets a static IP-address. For example if you want to run a server or a other service on that machine. On Debian based machines you can do this by: Edit /etc/network/interfaces (f.e.: with nano) auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.88.6 netmask 255.255.255.0 […]

Stop blinking of the green led

You can do this on the shell: $> sudo su – $> sudo echo none > /sys/class/leds/green:ph24:led1/trigger $> exit