Ubuntu Server 12.04.05 lts installieren ssh only
Sprache des Servers auf deutsch stellen
1 2 |
sudo locale-gen de_DE.UTF-8 sudo update-locale LANG=de_DE.UTF-8 |
NFS Client (optional), Nano und python etc.
1 2 3 |
sudo apt-get install nfs-common sudo apt-get install software-properties-common python-software-properties nano sudo reboot |
VDR Repos hinzufügen
1 |
sudo add-apt-repository ppa:frodo-vdr/stable-vdr |
oder testing
1 |
sudo add-apt-repository ppa:frodo-vdr/testing-vdr |
Danach apt-get update
1 |
sudo apt-get update |
VDR und notwendige Plugins installieren
1 |
sudo apt-get install vdr vdr-plugin-vnsiserver vdr-plugin-wirbelscan vdr-plugin-vdrmanager |
XineS2 ab rev. 6.5 sind die media-build-experimental-dkms notwendig! (DVB Treiber)
1 2 3 |
sudo add-apt-repository ppa:yavdr/unstable-main sudo apt-get update sudo apt-get install dddvb-dkms |
Oder selber bauen … Link
Durchreichen der Karte wird am Client mit
1 |
lspci |
geprüft.
Ausgabe:
1 |
00:00.0 Multimedia controller: Digital Devices GmbH Octopus DVB Adapter |
Das Paket lspci befindet sich in den pciutils!
1 |
sudo apt-get install pciutils |
SC Plugin Repo
1 |
sudo add-apt-repository ppa:gandalf-der-grosse/testing-vdr |
Und wieder sourcen updaten
1 |
sudo apt-get update |
SC Plugin und SC Packete installieren
1 |
sudo apt-get install vdr-plugin-sc vdr-plugin-sc-cardclient |
VDR autostart
/etc/default/vdr editieren
1 |
sudo nano /etc/default/vdr |
1 2 |
# Change to 1 to enable vdr's init-script ENABLED=0 |
ändern in 1 falls nicht schon geschehen
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
<code># /etc/default/vdr # # See also /usr/share/doc/vdr/README.Debian.gz #</code> <code># Change to 1 to enable vdr's init-script ENABLED=1</code> <code>export VDR_LANG=de_DE.UTF-8</code> # Change this to 1 if you want vdr to be able to shutdown the # computer ENABLE_SHUTDOWN=0 # Options that will be passed to vdr's commandline # for example: OPTIONS="-w 15" OPTIONS="-w 60" |
Das init-script liegt nach der Installation des VDR in /usr/share/doc/vdr/examples
vdr-init.d nach /etc/init.d/vdr kopieren (umbenennen)
1 |
sudo cp -a /usr/share/doc/vdr/examples/vdr-init.d /etc/init.d/vdr |
nun noch die Rechte setzen
1 |
sudo chmod 755 /etc/init.d/vdr |
VDR Start in die rc.local eintragen
1 |
sudo nano /etc/rc.local |
/etc/init.d/vdr start vor exit 0 eintragen
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. /etc/init.d/vdr start exit 0 |
nach einem reboot startet nun der VDR-Server
zum Schluß noch das Heimnetzwerk in
1 2 3 |
/etc/vdr/svdrphosts.conf /etc/vdr/plugins/streamdevhosts.conf /etc/vdr/plugins/xvdr/allowed_hosts.conf |
freimachen (192.168.178.0/24)
Nun fehlt noch eine channels.conf. Die muss nach /var/lib/vdr kopiert werden. Vorher VDR mit
1 |
/etc/init.d/vdr stop |
anhalten.
Danach nochmal nen reboot.
1 |
sudo apt-get reboot |
Meldung: VDR fährt runter in … abschalten.
1 |
sudo nano /var/lib/vdr/setup.conf |
Dort die Werte MinEventTimeout und MinUserInactivity anpassen
1 2 |
MinEventTimeout = 30 MinUserInactivity = 0 |
Automatisches hinzufügen neuer Sender in die Channels.conf unterbinden
1 |
sudo nano /var/lib/vdr/setup.conf |
Nach UpdateChannels suchen und Wert auf 3 ändern.
1 |
UpdateChannels = 3 |
Weitere Parameter sind:
1 2 3 4 5 6 |
0 kein Update 1 Update der Kanal-Namen 2 Update der PIDs 3 Update von Kanal-Namen und PIDs 4 Update von Kanal-Namen, PIDs und neu gefundenen Kanälen 5 Update von Kanal-Namen, PIDs sowie neu gefundenen Kanälen und Transpondern (Standard) |
Läuft!