Skip to content

markuslindenberg/dvbheadend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

Introduction

This is a Raspberry Pi 4 firmware image for running Tvheadend on a local network in the most reliable way possible.

Installation

Supported hardware

Adding support for other models/boards supported by buildroot is possible.

Download

Releases are not yet available on the releases page.

Currently, SD card images are built automatically and can be downloaded from the latest successful Github Actions run.

Setup

  • Write sdcard.img on an empty SD card.
  • Plug in SD card DVB USB tuner(s) and wired ethernet.
  • Browse to http://dvbheadend.local/ to configure tvheadend.

Tvheadend uses HTTP port 9981 and HTSP port 9982. It works perfectly with Kodi / LibreELEC mediacentre on a Raspberry Pi 3 with MPEG-2 license key.

Operation

The firmware is running a Linux initramfs in RAM as root filesystem. All changes except on the /boot and /home/tvheadend partitions are lost on reboot.

Updating

Instead of re-flashing the SD card you can just replace the Image file on the SD card (or scp to /boot/) and reboot.

Network

DHCP / auto configuration and link local addressing are enabled. Additionally to IPv6, the device fully supports legacy IP. NTP server can be set using DHCP, otherwise pool.ntp.org will be used.

Accessible ports

Port Process
22 SSH
9981 tvheadend HTTP
9982 tvheadend HTSP
9100 node_exporter

Discovery

LLMNR and DNS-SD/Bonjour will announce http://dvbheadend.local/.

Monitoring

node_exporter for Prometheus is running on http://dvbheadend.local:9100/metrics.

Access

Console

Use a serial console at 115200 or keyboard & monitor to access the console. Password for root is empty.

SSH

Keys only. Put an authorized_keys file on the FAT partition, reboot.

ssh root@dvbheadend.local

Development

This repository is a Buildroot br2-external tree, see the Buildroot manual for build instructions.