Ok danke schonmal
hab in der conf Datei die IP für meinen Fall abgeändert.
In Systeminfo steht jetzt IP 192.168.178.31(WLAN IP) und der Pi ist auch nur unter der pingbar, unter 192.168.178.30 ist er NICHT pingbar, allerdings kann ich jetzt mit der 192.168.178.31 eine SSH Verbindung starten. GEIL
Ich frag mich nur, ob ich in den Raspbmc Settings jetzt wired oder wireless angeben soll?
Ok zum Schritt 2
Wie starte ich den Server den manuell?
Und hat jemand ne Idee, wie der Fehler weggeht?
[hr]
Jetzt, wo SSH geht, kann ich ja nochmal alles laufen lassen und euch die Shell zeigen
Schritt 1
apt-get update
root@raspbmc:/home/pi# apt-get update
Hit http://archive.raspbian.org wheezy Release.gpg
Hit http://archive.raspbian.org wheezy Release
Hit http://apt.tvheadend.org wheezy Release.gpg
Hit http://apt.tvheadend.org wheezy Release
Hit http://archive.raspbian.org wheezy/main armhf Packages
Hit http://archive.raspbian.org wheezy/contrib armhf Packages
Hit http://apt.tvheadend.org wheezy/main armhf Packages
Hit http://archive.raspbian.org wheezy/non-free armhf Packages
Ign http://apt.tvheadend.org wheezy/main Translation-en
Ign http://archive.raspbian.org wheezy/contrib Translation-en
Ign http://archive.raspbian.org wheezy/main Translation-en
Ign http://archive.raspbian.org wheezy/non-free Translation-en
Reading package lists... Done
W: Duplicate sources.list entry http://apt.tvheadend.org/stable/ wheezy/main armhf Packages (/var/lib/apt/lists/apt.tvheadend.org_stable_dists_wheezy_main_binary-armhf_Packages)
W: You may want to run apt-get update to correct these problems
Display More
apt-get install unzip git-core pkg-config dvb-apps
root@raspbmc:/home/pi# apt-get install unzip git-core pkg-config dvb-apps
Reading package lists... Done
Building dependency tree
Reading state information... Done
dvb-apps is already the newest version.
git-core is already the newest version.
pkg-config is already the newest version.
unzip is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 77 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up nfs-common (1:1.2.6-4) ...
insserv: Service rpcbind has to be enabled to start service nfs-common
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing nfs-common (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
nfs-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
Display More
apt-get install g++-4.7 build-essential
root@raspbmc:/home/pi# apt-get install g++-4.7 build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
g++-4.7 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 77 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up nfs-common (1:1.2.6-4) ...
insserv: Service rpcbind has to be enabled to start service nfs-common
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing nfs-common (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
nfs-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
Display More
apt-get install libcurl4-openssl-dev libavahi-client-dev zlib1g-dev libavcodec-dev libavutil-dev libavformat-dev libswscale-dev
root@raspbmc:/home/pi# apt-get install libcurl4-openssl-dev libavahi-client-dev zlib1g-dev libavcodec-dev libavutil-dev libavformat-dev libswscale-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libavahi-client-dev is already the newest version.
libavcodec-dev is already the newest version.
libavformat-dev is already the newest version.
libavutil-dev is already the newest version.
libcurl4-openssl-dev is already the newest version.
libswscale-dev is already the newest version.
zlib1g-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 77 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up nfs-common (1:1.2.6-4) ...
insserv: Service rpcbind has to be enabled to start service nfs-common
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing nfs-common (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
nfs-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
Display More
export CC=gcc-4.7 und export GCC=gcc-4.7 geben keine Meldung aus.
Schritt 2
git clone https://github.com/andoma/tvheadend.git
root@raspbmc:/home/pi# git clone https://github.com/andoma/tvheadend.git
fatal: destination path 'tvheadend' already exists and is not an empty directory.
Hab ja alles schon mal installiert, also kein Wunder
Schritt 3
cd tvheadend gibt auch keine Meldung aus
./configure && make && make install
root@raspbmc:/home/pi/tvheadend# ./configure && make && make install
checking for cc execinfo.h ... ok
checking for cc -mmmx ... fail
checking for cc -msse2 ... fail
checking for cc getloadavg ... ok
checking for py module gzip ... ok
checking for bzip2 ... ok
checking for pkg openssl ... ok
checking for pkg zlib ... ok
checking for pkg avahi-client ... ok
Compiler:
Using C compiler: gcc-4.7
Build for arch: armv6l
Binaries:
Using PYTHON: python
Options:
cwc: yes
v4l: yes
linuxdvb: yes
dvbscan: yes
avahi: yes
zlib: yes
bundle: no
execinfo: yes
getloadavg: yes
py_gzip: yes
bin_bzip2: yes
ssl: yes
Packages:
openssl: 1.0.1e
zlib: 1.2.7
avahi-client: 0.6.31
Installation paths:
Prefix: /usr/local
Binaries: ${prefix}/bin
Libraries: ${prefix}/lib
Data files: ${prefix}/share
Man pages: ${datadir}/man
Final Binary:
/home/pi/tvheadend/build.linux/tvheadend
Tvheadend Data Directory:
/usr/local/share/tvheadend
CC build.linux/src/main.o
CC build.linux/src/utils.o
CC build.linux/src/wrappers.o
CC build.linux/src/access.o
CC build.linux/src/dtable.o
CC build.linux/src/tcp.o
CC build.linux/src/http.o
CC build.linux/src/notify.o
CC build.linux/src/epg.o
CC build.linux/src/epgdb.o
CC build.linux/src/epggrab.o
CC build.linux/src/spawn.o
CC build.linux/src/packet.o
CC build.linux/src/streaming.o
CC build.linux/src/teletext.o
CC build.linux/src/channels.o
CC build.linux/src/subscriptions.o
CC build.linux/src/service.o
CC build.linux/src/psi.o
CC build.linux/src/parsers.o
CC build.linux/src/parser_h264.o
CC build.linux/src/parser_latm.o
CC build.linux/src/tsdemux.o
CC build.linux/src/htsp.o
CC build.linux/src/serviceprobe.o
CC build.linux/src/htsmsg_xml.o
CC build.linux/src/settings.o
CC build.linux/src/htsbuf.o
CC build.linux/src/trap.o
CC build.linux/src/rawtsinput.o
CC build.linux/src/iptv_input.o
In file included from /usr/include/linux/kernel.h:4:0,
from /usr/include/linux/netlink.h:4,
from /usr/include/linux/if_link.h:5,
from /usr/include/linux/netdevice.h:31,
from /home/pi/tvheadend/src/iptv_input.c:34:
/usr/include/linux/sysinfo.h:8:2: error: unknown type name '__kernel_long_t'
/usr/include/linux/sysinfo.h:9:2: error: unknown type name '__kernel_ulong_t'
/usr/include/linux/sysinfo.h:10:2: error: unknown type name '__kernel_ulong_t'
/usr/include/linux/sysinfo.h:11:2: error: unknown type name '__kernel_ulong_t'
/usr/include/linux/sysinfo.h:12:2: error: unknown type name '__kernel_ulong_t'
/usr/include/linux/sysinfo.h:13:2: error: unknown type name '__kernel_ulong_t'
/usr/include/linux/sysinfo.h:14:2: error: unknown type name '__kernel_ulong_t'
/usr/include/linux/sysinfo.h:15:2: error: unknown type name '__kernel_ulong_t'
/usr/include/linux/sysinfo.h:18:2: error: unknown type name '__kernel_ulong_t'
/usr/include/linux/sysinfo.h:19:2: error: unknown type name '__kernel_ulong_t'
/usr/include/linux/sysinfo.h:21:22: error: '__kernel_ulong_t' undeclared here (not in a function)
make: *** [build.linux/src/iptv_input.o] Error 1
Display More
Schritt 4
groupadd tvheadend
root@raspbmc:/home/pi/tvheadend# groupadd tvheadend
groupadd: group 'tvheadend' already exists
useradd -g tvheadend -G video -m tvheadend
root@raspbmc:/home/pi/tvheadend# useradd -g tvheadend -G video -m tvheadend
useradd: user 'tvheadend' already exists
usermod -G audio -a tvheadend gibt keine Meldung aus
Schritt 5
nano /etc/init.d/tvheadend
Die Textdatei habe ich wie im Link eingefügt
Schritt 6
chmod +x /etc/init.d/tvheadend gibt nichts aus
Schritt 7
update-rc.d tvheadend defaults
root@raspbmc:/home/pi/tvheadend# update-rc.d tvheadend defaults
update-rc.d: using dependency based boot sequencing
update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match tvheadend Default-Stop values (0 1)
Schritt 8
/etc/init.d/tvheadend start
root@raspbmc:/home/pi/tvheadend# /etc/init.d/tvheadend start
Starting tvheadend: start-stop-daemon: unable to stat /usr/local/bin/tvheadend (No such file or directory)
Done.
Schritt 9
ps aux | grep -v grep | grep tvhead gibt nichts aus
Mein erster Fehler ist vermutlich
Service rpcbind has to be enabled to start service nfs-common
Wobei ich nicht weiss ob der jetzt elementar ist.
Aber jetzt ist mal das gesamte Log da, vllt hilfts ja