Sundtek Support Forum

English => Sundtek MediaTV Pro (Europe) => Thema gestartet von: Sundtek am November 30, 2009, 08:00:18 Vormittag

Titel: Networksupport, Howto use Sundtek MediaTV in a homenetwork
Beitrag von: Sundtek am November 30, 2009, 08:00:18 Vormittag
The Driver softwarepackage also includes networking support. The TV tuner can also be used on other PCs in your homenetwork.

DVB-C via W-Lan:
(http://www.sundtek.de/images/network-small.png) (http://www.sundtek.de/images/network.png)

(http://www.sundtek.de/images/network2-small.png) (http://www.sundtek.de/images/network2.png)

Acer Aspire One Netbook (DVB-C via W-LAN):
(http://www.sundtek.de/images/aspireone-small.png) (http://www.sundtek.de/images/aspireone.png)


In order to activate the network feature you have to enable network support in the driver:

1. Activating networksupport (on the server)
Zitat
# /opt/bin/mediaclient --enablenetwork=on

2. determining the deviceid of the device which you want to connect to (by default the deviceid will be 0)
Zitat
# /opt/bin/mediaclient -e
**** List of Media Hardware Devices ****
device 0: [ Sundtek MediaTV Pro]  DVB-C, DVB-T, ANALOG-TV, FM-RADIO, OSS-AUDIO, RDS
  [DVB-C]:
     FRONTEND: /dev/dvb/adapter0/frontend0
     DVR: /dev/dvb/adapter0/dvr0
     DMX: /dev/dvb/adapter0/demux0
  [DVB-T]:
     FRONTEND: /dev/dvb/adapter0/frontend0
     DVR: /dev/dvb/adapter0/dvr0
     DMX: /dev/dvb/adapter0/demux0
  [ANALOG-TV]:
     VIDEO0: /dev/video1
     VBI0: /dev/vbi0
  [FM-RADIO]:
     RADIO0: /dev/radio0
     RDS: /dev/rds0
  [REMOTECONTROL]:
     INPUT0: /dev/mediainput0
  [OSS]:
     OSS0: /dev/dsp0

3. determine the IP address of the PC which the device is connected to:
Zitat
# /sbin/ifconfig | grep "inet addr"
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet addr:192.168.1.15  Mask:255.255.255.0

The networksupport binds itself to all available network interfaces on port 9234

or run /opt/bin/mediaclient --scan-network on the client.


4. Connect the device on a remote PC:

Zitat
# /opt/bin/mediaclient --mount=192.168.1.15

# /opt/bin/mediaclient -e
**** List of Media Hardware Devices ****
device 0: [Sundtek MediaTV Pro (192.168.1.15)]  DVB-C, DVB-T
  [DVB-C]:
     FRONTEND: /dev/dvb/adapter0/frontend0
     DVR: /dev/dvb/adapter0/dvr0
     DMX: /dev/dvb/adapter0/demux0
  [DVB-T]:
     FRONTEND: /dev/dvb/adapter0/frontend0
     DVR: /dev/dvb/adapter0/dvr0
     DMX: /dev/dvb/adapter0/demux0

When no deviceid is given the driver tries to bind to deviceid 0 by default, in order to connect to other deviceids you have to use following syntax --mount=IP:DEVICEID

After this you can use your Sundtek MediaTV device remotely just as if it would be connected locally, this feature is currently only available for DVB-C and DVB-T. The driver only submits the requested Channel PIDs to the network in order to keep the bandwidth requirement low.

In order to lower the required USB bandwidth you can also enable hardware PID filtering. This can be done with following command:

Zitat
# /opt/bin/mediaclient -P on

To unload the device:

Zitat
# /opt/bin/mediaclient --unmount=0

Network PCs:

http://i.gizmodo.com/5126038/pogoplug-turns-any-hard-drive-into-a-network-share-for-79

http://www.sheevaplug.de

please note at this time this requires the latest driver version:
http://www.sundtek.de/media/sundtek_installer_development.sh
Titel: Re:Networksupport, Howto use Sundtek MediaTV in a homenetwork
Beitrag von: willem2 am Mai 07, 2010, 01:33:36 Nachmittag
I connected the Sundtek to my Bubba Two server: http://www.excito.com/
On the server side everything seems to be OK, but I can't connect on client side.

Which software/commands can I use to check what's wrong or am I doing wrong?
Titel: Re:Networksupport, Howto use Sundtek MediaTV in a homenetwork
Beitrag von: Sundtek am Mai 07, 2010, 01:51:10 Nachmittag
Maybe you missed enabling the Server?
Although we have some updates pending for the streaming feature which will be available around mid next week.

please use http://www.sundtek.de/media/sundtek_installer_development.sh it contains the latest network implementation.
Titel: Re:Networksupport, Howto use Sundtek MediaTV in a homenetwork
Beitrag von: willem2 am September 30, 2010, 12:39:19 Nachmittag
After trying several "development" releases I finally had success with the latest stable driver (16 September 2010).
The Sundtek is now connected to the Bubba Two server and everything works as described in this thread  :)

Someone thinking of the same solution, consider the following:
* DVB-C - Belgian Telenet Cable - VRT1 LD 16/9

My conclusion: the Bubba Two hasn't enough CPU power to realize this, but the Sundtek works like a charm  :)
Titel: Re:Networksupport, Howto use Sundtek MediaTV in a homenetwork
Beitrag von: Sundtek am September 30, 2010, 03:08:03 Nachmittag
What kind of server is this 'bubba server'?

ARM, MIPS, X86?

There are 2 ways to lower the CPU requirement

1. enable hardware pid filter (/opt/bin/mediaclient -P on)
2. there's an acceleration kernel module available, this can be compiled in order to optimize the speed on the used architecture
http://www.sundtek.de/support/khelper.tar.gz

Another option would be:
3. You can buy a Seagate Dockstar (1.3 Ghz 128 MB ram for 25$ or 25 EUR, it's available nearly everywhere right now).

The easiest way would be #3 followed by #1 and #2 would probably be most difficult since you need to compile the driver for it
Titel: Re:Networksupport, Howto use Sundtek MediaTV in a homenetwork
Beitrag von: willem2 am September 30, 2010, 11:18:36 Nachmittag
Zitat
What kind of server is this 'bubba server'?
I do have a Bubba Two, which has a 333 MHz PPC and 256 mb ram (Excito has recently released the Bubba 3 with 1.2 GHz ARM and 512 mb ram).
More information: http://www.excito.com/bubba/products/technical-specifications.html

Zitat
1. enable hardware pid filter (/opt/bin/mediaclient -P on)
I tried this option but results remain the same.
Zitat
2. there's an acceleration kernel module available, this can be compiled in order to optimize the speed on the used architecture
http://www.sundtek.de/support/khelper.tar.gz
Not tested yet.
Zitat
3. You can buy a Seagate Dockstar (1.3 Ghz 128 MB ram for 25$ or 25 EUR, it's available nearly everywhere right now).
I can find the Dockstar but the price in Belgian shops is between 55 and 100 EUR  :(

The Bubba Two handles the DVB stream quite well, but the problem is I'm using it as router, wifi AP, (personal) file- and webserver, ... and all these things together are to much for the PPC processor.
Titel: Re:Networksupport, Howto use Sundtek MediaTV in a homenetwork
Beitrag von: michel30 am Dezember 30, 2011, 02:28:56 Vormittag
Hello,

I install the sundtek driver on a ubuntu pc.
Now I want connect my dreambox with the sundtek control center to the ubuntu pc.

can this work?

I type the ip number of my ubuntu pc on the dreambox in the sundtek control panel, I restart but I don'n get any thing to see?

I restart the ubuntu pc, but still noting, do I need to do more things?

Thanks for help..

Regards,
Michel
Titel: Re:Networksupport, Howto use Sundtek MediaTV in a homenetwork
Beitrag von: Sundtek am Januar 06, 2012, 05:18:04 Nachmittag
Did you run /opt/bin/mediaclient --enablenetwork on your ubuntu PC?

This constellation Ubuntu <-> Dreambox via Network is supported
Titel: Re:Networksupport, Howto use Sundtek MediaTV in a homenetwork
Beitrag von: fullcorn am November 16, 2012, 03:59:24 Nachmittag
That seems to be interesting.

Is it also possible to stream to a windows pc?
Titel: Re:Networksupport, Howto use Sundtek MediaTV in a homenetwork
Beitrag von: Sundtek am November 16, 2012, 11:38:19 Nachmittag
yes, it's possible to stream to Windows.
Titel: Re:Networksupport, Howto use Sundtek MediaTV in a homenetwork
Beitrag von: cody_rocco am Dezember 29, 2012, 03:44:22 Nachmittag
given the presence of multiple networks, how can i specify to StreamlineScanner which network to use? just asking, because i'm using the device in a virtualised environment - i'm able to find the remote device only if i'm disabling all other networks.
Titel: Re:Networksupport, Howto use Sundtek MediaTV in a homenetwork
Beitrag von: Sundtek am Dezember 29, 2012, 09:12:18 Nachmittag
what does your ipconfig /all show up when all networks are enabled?
Titel: Re:Networksupport, Howto use Sundtek MediaTV in a homenetwork
Beitrag von: cody_rocco am Dezember 30, 2012, 11:47:45 Vormittag
as you can see in this ipconfig output (http://zt.ro/ipconfig.txt), there are 4 networks - one wired, one wireless, two belonging to vmware.
as the main network is 192.168.123. (internet connection, using a dlink dir-825 router - where i tested, as a matter of fact, the media tvpro first, working excellent), there are 192.168.252. and 192.168.221.; the last one is used for an ubuntu virtual machine (NAT).
unless i disconnect all networks but 221, streamline scanner will not find any networked device. after finding and connecting, though, i can reconnect other networks without problems.
Titel: Re:Networksupport, Howto use Sundtek MediaTV in a homenetwork
Beitrag von: Sundtek am Dezember 30, 2012, 01:00:15 Nachmittag
For the next step you will have to wait a few more days Sundtek is officially off until 3rd January.
I think it shouldn't be a problem to check all networks for devices (Linux obviously does, Windows only takes the first broadcast in the list)
Titel: Re:Networksupport, Howto use Sundtek MediaTV in a homenetwork
Beitrag von: cody_rocco am Dezember 30, 2012, 04:26:19 Nachmittag
first i was thinking the same - and let streamline scanner few more minutes, to scan all networks, without results.
maybe passing the ip range / ip address directly to the software will help. also, it will be useful to know which the mediaserver port is, if it's fixed or dynamic - to set the firewall, when needed.
may you have a happy new year :)
Titel: Re:Networksupport, Howto use Sundtek MediaTV in a homenetwork
Beitrag von: cody_rocco am Januar 12, 2013, 01:23:24 Nachmittag
the problem is still there, with latest windows network driver [9 jan].can't find devices in other networks than that with default gateway (but ping / telnet on mediaclient listening port is working)
Titel: Re:Networksupport, Howto use Sundtek MediaTV in a homenetwork
Beitrag von: Sundtek am Januar 14, 2013, 01:15:26 Nachmittag
it's still on the list for one of the next updates, a windows server will also be added soon there's still some work going on in that Area.
Titel: Re:Networksupport, Howto use Sundtek MediaTV in a homenetwork
Beitrag von: Sundtek am Januar 17, 2013, 08:41:14 Nachmittag
the problem is still there, with latest windows network driver [9 jan].can't find devices in other networks than that with default gateway (but ping / telnet on mediaclient listening port is working)

problem solved, thanks for the private message/feedback.
Titel: Re:Networksupport, Howto use Sundtek MediaTV in a homenetwork
Beitrag von: cody_rocco am April 27, 2013, 05:50:53 Nachmittag
after installing latest openwrt [12.09, 25 apr] on my dir-825, i found that the windows network scanner isn't discovering any device. i used latest drivers for both devices, router and pc.
the router is identified as openwrtmipsr3. after installation / restart i must run manually /opt/bin/mediaclient --start. then, after enabling network in driver, i can see the device locally:

root@home:/# /opt/bin/mediaclient  --scan-network
Scanning network for IPTV media servers
------------------------------------------------------------------------------
 IP address       | ID  |  devicename          | Users | Capabilities | Serial
------------------------------------------------------------------------------
 192.168.99.1     | 0   | Sundtek MediaTV Pro (USB 2.0)  |  0   | DVB-T, DVB-C | U111029013012
-  1 IPTV server found -------------------------------------------------------

checking for ports:

root@home:/etc/config# netstat -a -p | grep media
tcp        0      0 0.0.0.0:9234            0.0.0.0:*               LISTEN      2880/mediasrv
udp        0      0 0.0.0.0:35245           0.0.0.0:*                           2880/mediasrv
udp        0      0 0.0.0.0:26362           0.0.0.0:*                           2880/mediasrv
unix  2      [ ACC ]     STREAM     LISTENING       3791 2880/mediasrv       @/de/sundtek/mediasocket
unix  3      [ ]         STREAM     CONNECTED       3838 2880/mediasrv       @/de/sundtek/mediasocket
unix  3      [ ]         STREAM     CONNECTED       3818 2880/mediasrv

i can access port 9234 via telnet, from windows [7, 64 bit] - but that's all.

---later edit---
without any modification, the device is now shown in windows network scanner. but now dvbviewer (default settings and codecs + your recommendation), will only scan channels; selecting any of them will give 0% signal. if i'm setting manually the device, eq
mediaclient -m DVBC -f 306000000 -S 6900000 -M Q64i'm able to use channels on that transponder.
progdvb will function correct.
Titel: Legacy readsignal
Beitrag von: Tryon am Februar 28, 2016, 10:59:09 Vormittag
Zitat von: cody_rocco
root@home:/# /opt/bin/mediaclient  --scan-network
Scanning network for IPTV media servers
------------------------------------------------------------------------------
 IP address       | ID  |  devicename          | Users | Capabilities | Serial
------------------------------------------------------------------------------
 192.168.99.1     | 0   | Sundtek MediaTV Pro (USB 2.0)  |  0   | DVB-T, DVB-C | U111029013012
-  1 IPTV server found -------------------------------------------------------

if i'm setting manually the device, eq
mediaclient -m DVBC -f 306000000 -S 6900000 -M Q64i'm able to use channels on that transponder.
progdvb will function correct.
another small improvements:
Scanning network for IPTV media server

╔═══════════════╤═════╤══════════════════════════════════╤════════╤═════════════════╤═════════════════╗
║  IP address   │  ID │           devicename             │  Users │  Capabilities   │     Serial      ║
╠───────────────┼─────┼──────────────────────────────────┼────────┼─────────────────┼─────────────────╢
║ 192.168.99.1  │  0  │  Sundtek MediaTV Pro (USB 2.0)   │    2   │  DVB-T, DVB-C   │  U111029013012  ║
╠───────────────┴─────┴──────────────────────────────────┴────────┴─────────────────┴─────────────────╢
╙< - 1 IPTV server found >════════════════════════════════════════════════════════════════════════════╝

more importantly for DVB-S
╔══════════════════════════════════╤══════════════════════════════════╗
║          Signal:   %             │            Quality:   %          ║
╠──────────────────────────────────┼──────────────────────────────────╢
║██████████████████████████████    │█████████████████████████         ║
╠──────────────────────────────────┴──────────────────────────────────╢
╙BER: 0.00E-           SNR:  dB

It should be easy to count number of chars(correct alignment even if IPv6 address)?