Pages

Saturday, January 11, 2020

Adblock with BIND DNS

If you're annoyed as me, watching all these advertisement when surfing the web, then this article might be something for you. In this article I will explain how to modify BIND to use as an Adblocker.

Saturday, January 4, 2020

Orange Pi Zero NAS

Today my Orange Pi Zero with the NAS Extension Board arrived and I decided immediatly to setup it up as a very minor NAS. So here is what I am using:

Orange Pi Zero with an Allwinner H2+ and 512MB RAM
NAS Extension Board with 1x SATA and 1x mSATA
Adata SP310 128GB mSATA
Samsung Evo 840 250GB SATA

Thursday, December 26, 2019

DIY Digital Photo Frame

Once I stumbled upon the Orange Pi Zero Plus2, which comes with the following features and is perfect to setup a simple DIY Digital Photo Frame:

CPU: Cortax-A53 (4 64bit cores up to 816 MHz (H5))
Memory: 512MB
EMMC: 8GB
MicroSD Slot, HDMI, WIFI and more

Monday, December 23, 2019

TFA SINUS + te923tool

I have a small weather station, a TFA SINUS. Last year, I started to capture the data from the weather station. To do so, I needed a software that can communicate with the weather station. And that is where te923tool comes in handy.

In this article I will explain, how to install the te923tool and how to run it.

Sunday, December 22, 2019

Framebuffer

Just some quick notes about framebuffer.

Clear screen

To clear the screen, write zeros on the framebuffer device with dd:

# dd if=/dev/zero of=/dev/fb0
dd: writing to '/dev/fb0': No space left on device
301+0 records in
300+0 records out
153600 bytes (154 kB, 150 KiB) copied, 0.00251834 s, 61.0 MB/s

Thursday, August 20, 2015

ext4 block reservation

The filesystem ext4 has a feature called block reservation. When you create an ext4 filesystem then 5% of your available space will be reserved for block reservation by default. For an 20GB filesystem it is only 1GB of reserved space. But if you have an 1.5TB filesystem then 5% are about 75GB already. And that is my case. I have a 1.5TB partition with an ext4 filesystem:

Wednesday, July 8, 2015

Turning off the Leds on the Cubietruck

Since the Cubietruck (running Linaro) has replaced my home server and has its place in my living room I figured out that the Leds are very annoying! So I deceided to turn them off - all of them! The easiest way is to set the brightness to 0:

Thursday, May 28, 2015

Extend a VXFS filesystem in HP-UX with LVM

Today I needed to extend a VXFS filesystem in HP-UX with LVM. The first thing I did was to figure out the logical volume, the volume group and the size of the volume:

# mount
...
/u04 on /dev/vg02/u04 ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40020003 on Thu May 28 11:11:30 2015

Friday, April 3, 2015

Implementing autofs

On the NFS server create your shares by editing the /etc/exports file:

# vi /etc/exportfs
/local/music    192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check)
/local/movie    192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check)

Saturday, January 17, 2015

mupen64plus for Slackware

mupen64plus is a N64 emulator. I haven't to much experience with this emulator but the emulator seems to do the job pretty well. So here is a little installation instruction for Slackware.
Start by creating a location were you can store all packages:

# mkdir -p /usr/src/mupen64plus

Before you can install mupen64plus you need three additional libraries: