Posts: 24
Joined: Mar 2017
Reputation:
0
I need advice regarding use of Kodi with HDHomeRun Dual tuner(s). There are numerous reports regarding the extremely flaky DHCP capabilities of HomeRun devices, to the point where the only remotely reliable network connections possible are direct links between PC and HDHomeRun device. This renders the things virtually useless with Windows, however given the superior networking capabilities of Unix / Linux, I'm wondering if it is feasible to allow the HDHomeRun devices to have their way with their 169.254 address obsessions and rely on Kodi to deal with other LAN / WAN connections.
What I have in mind is a mini-LAN just for the HDHomeRun tuner(s) and another for the proper LAN. From the perspective of Kodi, will this arrangement allow streaming video to be shared over the LAN ? and Kodi to be configured remotely ?
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
Never had a problem with DHCP on an hdhomerun.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 3,641
Joined: Jan 2011
Reputation:
57
bry
Team-Kodi Member
Posts: 3,641
Do you see the hdhr at all on the router ARP table? If so just set it as a static IP address. That is how I configured mine .
first_time_user (wiki) |
free content (wiki) |
forum rules (wiki) |
PVR (wiki) |
Debug Log (wiki)
IMPORTANT:
The official Kodi version does not contain any content what so ever. This means that you should provide your own content from a local or remote storage location, DVD, Blu-Ray or any other media carrier that you own. Additionally Kodi allows you to install third-party plugins that may provide access to content that is freely available on the official content provider website. The watching or listening of illegal or pirated content which would otherwise need to be paid for is not endorsed or approved by Team Kodi.
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
Connecting them to a backend via a second ethernet card is common practice for mythtv, but this is done in order to keep the traffic off the lan rather than to alleviate any inherent IP problems. I think they will then work via a link-local address, although I have also seen it recommended to run a DHCP server on the second ethernet port to give the HDHR a proper address.
Personally I hate the DHCP server on my router and run a raspberry pi with DNSmasq, and turn off the router DHCP server. That gives me local DNS abilities, which my router doesn't.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 3,641
Joined: Jan 2011
Reputation:
57
bry
Team-Kodi Member
Posts: 3,641
Being involved in the it industry for xx years does nothing but cloud your judgement. Submit an official ticket via the links I provided. Have you tried the CLI configuration utility?
first_time_user (wiki) |
free content (wiki) |
forum rules (wiki) |
PVR (wiki) |
Debug Log (wiki)
IMPORTANT:
The official Kodi version does not contain any content what so ever. This means that you should provide your own content from a local or remote storage location, DVD, Blu-Ray or any other media carrier that you own. Additionally Kodi allows you to install third-party plugins that may provide access to content that is freely available on the official content provider website. The watching or listening of illegal or pirated content which would otherwise need to be paid for is not endorsed or approved by Team Kodi.
Posts: 3,641
Joined: Jan 2011
Reputation:
57
bry
Team-Kodi Member
Posts: 3,641
That's not supported as far as I remember. That will have to be done on the router. Do you have a Windows machine on the network to run the setup utility? You mentioned freebsd for webservers when I asked what is you have tried from.
first_time_user (wiki) |
free content (wiki) |
forum rules (wiki) |
PVR (wiki) |
Debug Log (wiki)
IMPORTANT:
The official Kodi version does not contain any content what so ever. This means that you should provide your own content from a local or remote storage location, DVD, Blu-Ray or any other media carrier that you own. Additionally Kodi allows you to install third-party plugins that may provide access to content that is freely available on the official content provider website. The watching or listening of illegal or pirated content which would otherwise need to be paid for is not endorsed or approved by Team Kodi.
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
2017-03-07, 04:29
(This post was last modified: 2017-03-07, 04:30 by nickr.)
HDHR<---------->Computer<------------->Router<------->Other LAN computers
..............link local....................normal IP
If you put another ethernet card in your computer, you should be able to run the HDHR via a link local network off that card, and your normal network over the other card. However the link local traffic will not be routed to the normal IP LAN.
This is fine if Computer is your PVR backend, but not if you want a direct link from "Other LAN computers" to HDHR.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 806
Joined: Nov 2015
Reputation:
33
I'm chiming in here after the head's up from nickr. My troubles with HDHR tuners and DHCP aren't really relevant to the OP's concern (the Dual's lack GbE, and the DHCP issues seem to be tied to a gigabit connection), however I have learned a few things that might help.
For many months I successfully ran a situation similar to what the OP is acking about: HDHR devices with self-assigned APIPA addresses (169.254.0.0/16). If the computer you are using has 2 NICs, you can set one to have a static IP of 169.254.1.1/16 (actually, anything in the 169.254.0.0/16 subnet should work). Then connect this NIC to a switch that is shared with your HDHR devices. When the HDHR devices cannot contact a DHCP server, they will self-assign themselves APIPA addresses in the 169.254.0.0/16 subnet, allowing you to discover and interact with them on the NIC that you gave the static IP to.
Then, keep the other NIC (ethernet or wifi, doesn't particularly matter) to get its connection for your main network, however that may be.
There are a few caveats with this situation, though. Firstly, if your devices cannot talk to the internet (which will be the case in this situation) you cannot rely upon SiliconDust's servers to give you guide data. The reason for this is that part of the boot process for HDHR tuners is to talk to SD's servers to obtain a "DeviceAuth" token. SD's software (HDHomeRun View, including the Kodi video addon version) using this token to authenticate whether a device/request for guide data is authorized; no token, no data, and therefore no guide. (I believe the pvr.hdhomerun addon, which integrates the HDHR devices into Kodi's native PVR interface, also uses this token and method to obtain guide data.) Short answer, if you run your HDHRs without access to the internet, you cannot use SiliconDust's guide data.
If you use a third-party PVR this is not a problem. I have successfully done this with both Tvheadend and MythTV. Since you are running Windows you would probably have to look at NextPVR or MediaPortal. I don't run Windows on any of my machines, so I can't really help you with that part.
The second part of your question may be a problem. Because of the way APIPA works, devices with self-assigned addresses cannot communicate outside of their subnet. Streaming from HDHR devices is generally a 3-step process: first tune the HDHR to the desired channel or frequency/program; second, the receiving device (such as your computer) opens a port and starts listening for a connection from the HDHR; and finally, the HDHR starts streaming its feed to the address and port requested in the previous step. Since the HDHR cannot see outside its subnet with a self-assigned APIPA address, it cannot stream to computers on your regular LAN.
If you are interested in maintaining your HDHR mini-network in this way, go for it. Just know that you are going to need some software on the computer that interfaces with the HDHRs to handle the streaming to the rest of your network. From my personal experience, MythTV and Tvheadend have worked great with this. With Windows, your mileage may vary.
Hope this helps some.