Pages

Saturday, February 15, 2020

dreamcast.local IV - Routing

To connect your Dreamcast to the ineternet again, you need to activate routing from your ppp0 (172.16.12.1) device to your eth0 (192.168.3.1) device on the Dreamcast server. Start by checking if routing is activated in your kernel:

# sysctl net.ipv4.ip_forward
net.ipv4.ip_forward = 0

Friday, February 14, 2020

dreamcast.local III - Webserver with Nginx

In part III of this mini-series I will show you how to install Nginx on your Dreamcast server and how to use it with your Dreamcast. Start by install Nginx first:

# apt install nginx
...

Thursday, February 13, 2020

dreamcast.local II - DNS

As I stated in the first article, I have setup a dedicated domain called dreamcast.local. To do the same, you need to install bind first:

# apt install bind9
...

Monday, February 10, 2020

dreamcast.local I - Basic connection

In this mini-series I will describe my current project: the Dremacast Server

The Dreamcast is a game console, released by Sega 14. October 1999 in Europe. The Dreamcast was also my first console and I still use it from time to time.
Besides a lot of great games, the Dreamcast has a build in analog modem, which would allow you to connect your Dreamcast to the internet and play games online with your friends. Of course, most services and websites are not available anymore, why I have decided to start this small project.

Wednesday, February 5, 2020

Nginx server_names_hash_bucket_size

Today I installed nginx to support multiple Server Blocks/Virtual Hosts. When I configured the second or third Server Block and restarted Nginx, I encountered the following error:

# systemctl start nginx
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.

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