Currently browsing category

Software

HowTo backup Raspberry Pi’s SD-Card

Here’s a short and useful line to backup raspberrys entire SD Card: dd if=/dev/mmcblk0 of=/path/to/image.img bs=1M This creates the file image.img, which contains the entire SD-Card, you can write it back to the SD Card to restore it. For this you can use ImageWriter, or just use the reverse command: …

Network RAID with DRBD on Ubuntu

In this tutorial i will show you how to setup drbd on two Ubuntu machines. I used Ubuntu 12.04 and VirtualBox for this. first, make sure that the two machines can resolve the hostnames. You can do that by either using DNS or the “/etc/hosts” file. Server 1&2 “/etc/hosts”: 127.0.0.1 …

Linux UART With Perl

Thats a small program i wrote for debugging. Probably its useful for some of you too. Its the first version and only sends data from keyboard input. Interface and baudrate can be set in the file. Code: uart.txt (save as uart.pl and make executable) Please note that it needs root …