Temat: Tvheadend

On the Tvheadend forum there was a post about Tvheadend and OpenWrt which mentioned this forum.

How do I get it installed on OpenWrt? Is there a package available?

2

Odp: Tvheadend

Yes, just install via opkg.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Tvheadend

Cezary napisał/a:

Yes, just install via opkg.

# opkg install tvheadend
Unknown package 'tvheadend'

4

Odp: Tvheadend

opkg update; opkg install tvheadend

http://downloads.lede-project.org/relea … x86_64.ipk

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: Tvheadend

Cezary napisał/a:

opkg update; opkg install tvheadend

http://downloads.lede-project.org/relea … x86_64.ipk

So this is for 17.01.... whereas I am running 15.05.1. I guess I must install the latest version to be able to run Tvheadend...

6 (edytowany przez Cezary 2018-06-23 21:24:31)

Odp: Tvheadend

Ehm... now we have 18.06-rc1...

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: Tvheadend

Cezary napisał/a:

Ehm... now we have 18.05-rc1...

Where?

8

Odp: Tvheadend

http://downloads.lede-project.org/releases/18.06.0-rc1/

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

9

Odp: Tvheadend

Bleeding edge... smile

Looking at:-

http://downloads.lede-project.org/relea … 6/generic/

I don't see a description of these six files, so am never sure which I need to be able to install OpenWrt...

The instructions here - https://openwrt.org/start?id=docs/guide … penwrt_x86 are not very clear.

10

Odp: Tvheadend

Use combined-ext4.img.gz file, unpack, connect disk to normal PC and write image using dd (on linux systems) or winmager or sth like this.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

11

Odp: Tvheadend

Many thanks. I have it installed now.

Unfortunately there is no driver for my NIC - I need e1000e.

Also what is the best way to expand rootfs to use the whole partition?

12

Odp: Tvheadend

opkg install kmod-e1000e? OpenWrt images does not include all drivers, just install what you need.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

13

Odp: Tvheadend

opkg does not work when I do not have network access. Without a driver I don't have network access.

How do I install a driver manually?

14

Odp: Tvheadend

Download module to pendrive, connect drive to pc/router, mount and install via opkg install /mnt/sda1/here-full-path-to-ipk

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

15

Odp: Tvheadend

I presume I'm looking for kmod-e1000e....

I did not find it in - https://wiki.openwrt.org/doc/packages#package_sources

Where should I look?

Eventually I solved the problem by installing my disk in an old ThinkPad T42 which can use the e1000 driver.

16

Odp: Tvheadend

http://downloads.lede-project.org/relea … /packages/

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

17

Odp: Tvheadend

How do start Tvheadend automatically on boot on OpenWrt?

18

Odp: Tvheadend

/etc/init.d/tvheadend enable

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

19

Odp: Tvheadend

Nearly there now...

I have two USB dongles:-

- Integrated Technology Express - IT9135 BDA Afatech DVB-T HDTV Dongle       ID 048d:9006
- Hauppauge PCTV Systems 46ie DVB-S2  HDTV Dongle                                    ID 2013:0258

Neither of them are seen by Tvheadend so I - just need to find some drivers....

Any idea where to look?

20

Odp: Tvheadend

dvb drivers is not compiled by openwrt. Best option is compile whole system and required modules.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

21

Odp: Tvheadend

Cezary napisał/a:

dvb drivers is not compiled by openwrt. Best option is compile whole system and required modules.

Where do I get code for drivers?

22

Odp: Tvheadend

Exists in kernel tree. Compile system, make kernel_menuconfig and select what you need, compile again.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

23

Odp: Tvheadend

Cezary napisał/a:

Exists in kernel tree. Compile system, make kernel_menuconfig and select what you need, compile again.

Do you have a guide for doing this?  I'm new to OpenWrt and don't know where to find the kernel tree or how to compile the system.

24

Odp: Tvheadend

Read: https://wiki.openwrt.org/doc/howto/build

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

25

Odp: Tvheadend

Can I use OpenWrt as a host for the build system? 

I have read this but it seems very complicated.