PDA

View Full Version : Splitting signal with cat5 splitter to 2 TVs



Human 19
02-01-16, 13:56
I have already connected the computer upstairs to the VU+ duo 2 downstairs, for streaming, via a cat5 cable from the ethernet port.
I have also recently set up a raspberry pi 2B with Kodi and can stream from the box also. I want to put this pi2B in the kitchen.
I bought a cat5 splitter to be inserted into the ethernet port of the VU+ , and plan to run the 2nd cable to the kitchen.
Unfortunately, I can only connect to either device from 1 particular side of the splitter.

This is regardless of whether I have 1 or both devices connected at the same time. Even with my normal PC connection, if I move the cable to the other outlet of the splittter, it no longer connects.

Is this a problem with the splitter or something to do with the VU+?
Thanks

EDIT: I should have posted this in the VU+ Duo2 thread. Hopefully it is still relevant here**

DaMacFunkin
02-01-16, 14:18
You ain't going to achieve what you want with a splitter, you need an unmanned network switch.

pac2000
02-01-16, 19:44
Get An 8 Port Gigabit Switch... They're Quite Cheap, And Everything Will Be Able To Connect To Everything...


http://www.amazon.co.uk/NETGEAR-GS308-100UKS-Gigabit-Ethernet-Switch/dp/B00AWM7PKO/ref=sr_1_72?ie=UTF8&qid=1451760188&sr=8-72&keywords=8+port+gigabit+switch

Human 19
08-01-16, 22:01
Thanks guys.
I went for this ,locally, for 29 Euro
http://www.tp-link.com/res/down/doc/TL-SG1005D_V6_Datasheet.pdf
Both devices connect but when both are connected at the same time , even if only 1 is actually streaming from the VU+ duo2, the stream just drops after about 10 seconds
I had a look at bwm-ng on the linux PC which showed a constant streaming rate and then a cut-off

Am I missing something simple?
After having a look around the net, I saw a comment that some switches from TP-link may not support multicasting.Could that be it? There is no mention either way on their products about multicasting.

birdman
09-01-16, 00:25
After having a look around the net, I saw a comment that some switches from TP-link may not support multicasting.Could that be it? There is no mention either way on their products about multicasting.You aren't multi-casting, so that won't be an issue.

birdman
09-01-16, 00:32
Am I missing something simple?I take it that you have configured the PC and the raspi with different IP addresses?

abu baniaz
09-01-16, 00:33
Sorry to ask what may be a stupid question. Are devices connected to the router/switch or directly to each other? Do they all have valid IP addreses?

Human 19
09-01-16, 02:13
To both above... thanks for the replies.

I have the switch connected to the ethernet port of the vu+Duo2 and both the linux box and the raspi both connected to the vu+ box address via the switch.
I just wanted to get them both set up just to receive the stream. I didnt configure either the pi or the PC with addresses.

ifconfig on thePC shows (connecting to the vu+)
eth0 Link encap:Ethernet HWaddr ............
inet addr:10.42.0.1 Bcast:10.42.0.255 Mask:255.255.255.0

I put these addresses in the raspi wired network configuration to also connect that to the vu+. (with the PC it is just set up as "shared to other computers" in the network manager settings.)

I hope this makes sense. Unfortunately I know sod-all about networking and got this set up through trial and error

DaMacFunkin
09-01-16, 07:18
I really think you are making this more difficult than it needs to be, connect everything that is close enough to your router into your router making sure you have one empty LAN port, run a cable from your router LAN port to the switch, and then connect other devices to the switch. Set DCHP to on on all your devices and boot everything including switch and router in sequence. All should be assigned their own ip address automatically, you can then if you want turn off DCHP and set the devices to use their assigned ip statically.
As for sharing and streaming that should just be as simple as setting up SMB shares from PC and SMB or NFS shares from the VU+.
You don't need to share your PC connection if you have a router...

mrmad1966
09-01-16, 08:22
The ip address on your pc 10.42.0.1 looks like it could be from your isp. Ideally your router should be issuing the addresses. Normally the range issued by a router is 192.168.0.1 or similar, have a look at all devices to ensure they all have similar addresses to ensure they are all on the same network.

Sent from my HTC One_M8 using Tapatalk

mrmad1966
09-01-16, 08:23
The ip address on your pc 10.42.0.1 looks like it could be from your isp. Ideally your router should be issuing the addresses. Normally the range issued by a router is 192.168.0.1 or similar, have a look at all devices to ensure they all have similar addresses to ensure they are all on the same network.

Sent from my HTC One_M8 using Tapatalk
DaMacFunkin is spot on...

To both above... thanks for the replies.

I have the switch connected to the ethernet port of the vu+Duo2 and both the linux box and the raspi both connected to the vu+ box address via the switch.
I just wanted to get them both set up just to receive the stream. I didnt configure either the pi or the PC with addresses.

ifconfig on thePC shows (connecting to the vu+)
eth0 Link encap:Ethernet HWaddr ............
inet addr:10.42.0.1 Bcast:10.42.0.255 Mask:255.255.255.0

I put these addresses in the raspi wired network configuration to also connect that to the vu+. (with the PC it is just set up as "shared to other computers" in the network manager settings.)

I hope this makes sense. Unfortunately I know sod-all about networking and got this set up through trial and error


Sent from my HTC One_M8 using Tapatalk

birdman
09-01-16, 12:18
The ip address on your pc 10.42.0.1 looks like it could be from your isp. Ideally your router should be issuing the addresses. There is no mention of a router anywhere - only a switch (which won't issue any IP addresses).

birdman
09-01-16, 12:21
ifconfig on thePC shows (connecting to the vu+)
eth0 Link encap:Ethernet HWaddr ............
inet addr:10.42.0.1 Bcast:10.42.0.255 Mask:255.255.255.0

I put these addresses in the raspi wired network configuration to also connect that to the vu+. (with the PC it is just set up as "shared to other computers" in the network manager settings.)Each device (or rather, each network interface) needs its own IP address - you can't just copy them from one device to another.


I hope this makes sense. In terms of describing your problem, it does. In terms of having a working network, it doesn't.

Human 19
09-01-16, 14:43
Hi guys,
I dont have a router.
Just an unmanaged switch I was recommended to buy in order to split the TV stream from the vu+ Duo2 to 2 computers:
a linux box upstairs and a raspi in the kitchen.

I am not looking to include an internet connection in this setup. Just split the TV stream.

Edit: So I just ran the network setup again on the vu+ with dhcp enabled, while it was only connected to the linux PC, and while the PC was not connected to the internet.

Then I went into the adapter settings , got the new IP address, 10.42.0.65 , entered that into firefox to get the Open webif page.
ifconfig on the PC now gives :
inet 10.42.0.1 netmask 255.255.255.0 broadcast 10.42.0.255

This PC is connected to the Vu+ under the IPV4 tab of the network settings manager as "shared with other computers" , so it doesnt look for an internet connection.

abu baniaz
09-01-16, 14:57
You still need something to manage the IP addresses.

mrmad1966
09-01-16, 15:07
Is the Duo connected to the Internet ?

Sent from my HTC One_M8 using Tapatalk

mrmad1966
09-01-16, 15:11
When you typed ifconfig into your PC you saw your network address and subnet mask 10.42.0.1 and 255.255.255.0 respectively. Where did you get that address from ? Is that PC connected to the Internet ?

Sent from my HTC One_M8 using Tapatalk

mrmad1966
09-01-16, 15:21
What do you see when you type arp -a into your PC ?

Sent from my HTC One_M8 using Tapatalk

Human 19
09-01-16, 19:02
10.42.0..... is the wired adderss to the VU+ box, as determined by the box when it sets up its network connections
This is relevant whether the PC happens to be connected to the internet or not

arp-a outputs : hi.link (192.168.1.1) at 00:0d:8............... , which is my Huawei broadband dongle which seperatly connects to the internet

I think I have just grasped something fundamental. I will go and experiment now

birdman
10-01-16, 02:25
I am not looking to include an internet connection in this setup. Just split the TV stream.

Edit: So I just ran the network setup again on the vu+ with dhcp enabled, while it was only connected to the linux PC, and while the PC was not connected to the internet.This throws up a few scenarios.


Do you actually have an Internet connexion (I assume so, as you are posting here form somewhere)?
Are you disconnecting your PC from the Internet connexion in order to connect it to the VU+?
Or are you using two interfaces on the PC, one for the Internet and one for the VU+?

Basically, you seem to be making life difficult for yourself and you'd get better advice if you gave an explanation of the whole set-up, rather than dribbling in information a bit at a time.

judge
10-01-16, 03:21
What you're wanting to do sounds fine though.
A PC set up to share network connection.
A switch serving boxes that connection.
Just sounds like you're confused on IP addresses to use?

mrmad1966
10-01-16, 06:42
10.42.0..... is the wired adderss to the VU+ box, as determined by the box when it sets up its network connections
This is relevant whether the PC happens to be connected to the internet or not

arp-a outputs : hi.link (192.168.1.1) at 00:0d:8............... , which is my Huawei broadband dongle which seperatly connects to the internet

I think I have just grasped something fundamental. I will go and experiment now
Birdman does make an important point. Without more detailed information it is very difficult fit anyone to be of much use to you. The one thing that appears to be clear is you have two different networks as indicated by the addresses you have supplied so your devices will never see each other. I feel including a router into your scenario will probably achieve your desired end result..

Sent from my HTC One_M8 using Tapatalk

Grenadekid
10-01-16, 19:24
Sorry for wading in and maybe its not clear to UK users, in Ireland some people use sim dongles because of the possible lack of broadband infrastructure and pricing, if he hasn't overcome this problem with assigning ip addresses he could just get a sim router (mentioned in the above post) which would overcome any problems with the dongle as I don't think it can assign ip addresses.(not familiar with sim dongles)
Just trying to be helpful in the thread

Human 19
10-01-16, 21:44
I do have an internet connection but am trying to leave it out of this equation, as I am just trying to find a way split the tv stream between a linux box and a another device. I am only mentioning the internet in response to others who bring it up. I have no problem attaching the vu+ or other devices to the internet if required.

Setup: for some years I have directly connected a linux box upstairs to the vu+ duo, now duo2, downstairs with a cat5 cable. The wired network connection on the linux box is set to "shared with other computers" . I then ran the network setup on the vu+ which always gave an IP address of 10.42.0.*** with a gateway of 10.42.0.1. So I enter the Ip address of the VU+ into the browser and can stream live TV

Now I wanted to buy a raspberry pi to put in the kitchen and also connect this to the VU+ with a 2nd cat5 cable, so I can also stream live TV, as I do upstairs. This means I need to split the signal from the VU+ so I can connect to it either upstairs or in the kitchen.

I tried the cheapest option, a cat5 spliter connected into the back of the VU+ with 2 cat 5 cables coming out of it, which didnt work.
I was informed on this thread that I should buy an unmanaged switch, which I did.
I have connected this into the back of the VU+ with 2 cat 5 cables coming out of it.
One cable remains connected to the linux box upstairs, the other to either the raspi, or a laptop, for testing

Due to connection issues with the raspi, I decided to replace it tonight, connecting to my laptop with Debian. So at the moment the vu+ is connected, via the switch, to the linux box upstairs and the laptop downstairs with cat5 cables.

The same issue occurs when the vu+ is connected to both devices at the same time, even if only 1device is streaming TV from the vu+ at the time... the stream stops after about 10secs.

I am now thinking that all these are being connected "backwards". Both the linux box and the laptop are connecting using the gateway 10.42.0.1 and that this is causing the problem when both devices try to use this gateway at the same time to communicate. After about 10secs of the 1st device starting to stream, the 2nd device communicates to the vu+ using 10.42.0.1, causing the stream on the 1st device to stop. Would something like that be correct?

Would any of the "apps" in the vix Network menu be the correct on to use to set up this network and allow uninterrupted streaming?

abu baniaz
10-01-16, 21:55
You do not need a WAN (connected to the internet), you need a LAN.

What are you using to manage the IP addreses of your devices within your Local Area Network?

birdman
11-01-16, 03:05
I do have an internet connection but am trying to leave it out of this equationWhich is not a good idea.

as I am just trying to find a way split the tv stream between a linux box and a another device.You don't want to split anything. You want to get all of the systems onto the same network (and this means that their IP addresses are in the same network, not that they are connected to the same wires).

I am only mentioning the internet in response to others who bring it up. I have no problem attaching the vu+ or other devices to the internet if required.If that is the case, then if you say how you do this it will give a better picture of your set-up and allow others to provide solutions to your problem(s).



Setup: for some years I have directly connected a linux box upstairs to the vu+ duo, now duo2, downstairs with a cat5 cable. The wired network connection on the linux box is set to "shared with other computers" .Whnat wired connexion? Is this the same connexion that you use to connect to the Internet (somehow)?

I then ran the network setup on the vu+ which always gave an IP address of 10.42.0.*** with a gateway of 10.42.0.1. So I enter the Ip address of the VU+ into the browser and can stream live TV


Now I wanted to buy a raspberry pi to put in the kitchen and also connect this to the VU+ with a 2nd cat5 cable, so I can also stream live TV, as I do upstairs. This means I need to split the signal from the VU+ so I can connect to it either upstairs or in the kitchen.As I say, you aren't going to be splitting anything. You will have separate streams for the RasPi and LinuxPC.


One cable remains connected to the linux box upstairs, the other to either the raspi, or a laptop, for testingWhich is fine, but you need to configure all three systems with different IP address on the same IP network.


I am now thinking that all these are being connected "backwards". Both the linux box and the laptop are connecting using the gateway 10.42.0.1You don't have a gateway system (or if you do, you shouldn't). You have 3 isolated systems. A gateway would be a means of getting to some others systems (such as the Internet, which you say you don't want to do).

Human 19
11-01-16, 12:23
thanks for the comprehensive response, Birdman



[QUOTE]Which is not a good idea.
I connect the vu+ to the internet as required either via a broadband dongle connected to the Linux box (to which the vu+ is connected via cat5) , or else wirelessly direct to the VU+ Duo 2 using wifi hotspot transmitter. I don't have a wired internet connection into the house.


You don't want to split anything. You want to get all of the systems onto the same network (and this means that their IP addresses are in the same network, not that they are connected to the same wires).

Ok, that explains why the current setup is not working. So I need to find out the best way to do that



If that is the case, then if you say how you do this it will give a better picture of your set-up and allow others to provide solutions to your problem(s).
As above



Whnat wired connexion? Is this the same connexion that you use to connect to the Internet (somehow)?
Yes, it is the same cat5 connection between the Vu+ and the Linux box, which can be further connected to the internet if required using the broadband dongle plugged into the Linux box, or else wirelessly using the wifi hotspot transmitter


As I say, you aren't going to be splitting anything. You will have separate streams for the RasPi and LinuxPC.
Which is fine, but you need to configure all three systems with different IP address on the same IP network.

Grand. Duly noted.So I just need to find out how to set up this system.


You don't have a gateway system (or if you do, you shouldn't). You have 3 isolated systems. A gateway would be a means of getting to some others systems (such as the Internet, which you say you don't want to do).
Duly noted

2stein
11-01-16, 14:28
isn't the linux pc working as a kind of router if the connection is setup as "shared with other computers"? in that case vu+ and raspi would get ip adresses via dhcp. and thru a network switch linux pc and raspi would be able to get streams from the vu+. (linux pc must be running though, when raspi is streaming)
no?

birdman
11-01-16, 19:53
isn't the linux pc working as a kind of router if the connection is setup as "shared with other computers"?Probably.

in that case vu+ and raspi would get ip adresses via dhcp.Only if there is a DHCP server running....
If he is content for the LinuxPC to have to be up for the Vu+ to be able to reach the internet then yes, the LinuxPC can run as a router (between the internal Ethernet network and the external dongle).
However - I'm a little worried/confused as there is now mention of "using the wifi hotspot transmitter". What Wifi hotspot??

Human 19
11-01-16, 22:31
However - I'm a little worried/confused as there is now mention of "using the wifi hotspot transmitter". What Wifi hotspot??

I have a mobile broadband dongle and a wifi hotspot. I just tansfer the sim card between them depending on where I am around the house. It's not a big deal

http://shop.vodafone.ie/shop/mobile-broadband/vodafone-mobile-wifi-r209

Human 19
11-01-16, 22:55
Thank you all for putting up with my ignorance over the past while.


isn't the linux pc working as a kind of router if the connection is setup as "shared with other computers"? in that case vu+ and raspi would get ip adresses via dhcp. and thru a network switch linux pc and raspi would be able to get streams from the vu+. (linux pc must be running though, when raspi is streaming)
no?



I originally thought that the VU+ was setting its address (and the gateway address) for other devices to connect to.. acting as a server of sorts.
I only realised yesterday that the linux PC , as you say, is acting like a router. The mistake was entering the IP and gateway addresses into the other devices rather than using dchp. This was connecting them to the PC rather than to the VU+.

So tonight I connected the Debian laptop , wired through, with the ipv4 connection set to "automatic" rather than "shared" which solved the problem. I now assume that "automatic" is equivalent to dchp.
I then reset up Kodi on the raspi , wired,with the ipv4 connection set to dhcp to make the connection, with the VU+ ip address entered into the enigma 2 PVR client. This also worked

I can now stream the same, or even different, channels on the PC and the raspi (or laptop) .

I even switched off the PC after the connections were set up , and was still able to stream. Maybe it needs to be switched on to set up the connections in the first place, I dont know. I will experiment.

Anyway people, at least I have a working network. Thanks again for all your help.

The other option I have seems to be going down the router route. The lack of cabled internet coming into the house seems it might be a problem as any I have seen so far seem to want to use an WAN input and then ethernet or wireless output. I havent seen one with wireless input yet. That problem is for another day.:)

2stein
12-01-16, 00:13
glad, it works.

birdman
12-01-16, 03:06
I have a mobile broadband dongle and a wifi hotspot. I just tansfer the sim card between them depending on where I am around the house. It's not a big deal

http://shop.vodafone.ie/shop/mobile-broadband/vodafone-mobile-wifi-r209Ah yes - someone mentioned Ireland earlier.

Well, one potential problem is that the the Wifi hotspot will have a DHCP server in it. But, on thinking about it, any system connecting to it will be using a Wifi interface, so there won't be any configuration conflict with an Ethernet interface.

And provided you would only use Wifi on the laptop for a connexion when outside of you house things might become a little simpler.

Then all you need to do is to configure the Ethernet interfaces on your laptop, LinuxPC and Vu+ to be on the same network. You don't want this to be the network that would be used by the Wifi hot-spot clients.

Also, since they are fixed and you won't be adding arbitrary clients you might as well just pick a private network address and give each system it's own address on it.

So something like:


LinuxPC 192.168.7.1
laptop 192.168.7.2
Vu+ 192.168.7.3
Netmask 192.168.7.255
You wont have any DNS servers.
If you set the LinuxPC to share it's internet connexion then that (192.168.71) would be the router address to set for the Vu+ and RasPi. You could then also set the DNS server address to be the one that gets set for the dongle interface. However, if you have these set all of the time and the LinuxPC+dongle isn't always on then you might get a few pauses on the systems.

judge
12-01-16, 03:34
Don't get confused by previous nonsense & long winded posts tho. It's a simple solution.