SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Placeshifter
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Placeshifter Discussion related to the SageTV Placeshifter application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV Placeshifter software application should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-31-2011, 05:23 AM
trini0's Avatar
trini0 trini0 is offline
Sage Aficionado
 
Join Date: Mar 2006
Location: Ft. Lauderdale, FL
Posts: 331
Force Placeshifter to bind to a particular IP Address

It's been a long time since I've used Placeshifter. But I'm heading out of town today, and it would be nice to get it up and running again.
My server has three "live" NICs.
The primary NIC is listed first in it's binding order, and is the only NIC with a gateway specified.
But placeshifter refuses to bind to it, when I configure it. So I doubt it will work if I attempt to connect to it from the Internet.
See my IP Address configuration below.
Placeshifter only binds to 169.254.10.11. I tried reordering the binding order, and restarting the SageTV service, but it doesn't change from 169.254.10.11.
I've checked the properties file hoping that there is somewhere that I can manually bind placeshifter to a particular IP Address.
Hope someone can help with this matter.
Thanks


Code:
Windows IP Configuration

   Host Name . . . . . . . . . . . . : SAGETV
   Primary Dns Suffix  . . . . . . . : foo.com
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : foo.com

Ethernet adapter LAN Connection:

   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller #4
   Physical Address. . . . . . . . . : 00-24-8C-2A-89-58
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.10.11(Preferred) 
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.10.1
   DNS Servers . . . . . . . . . . . : 192.168.20.10
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter SAN Connection:

   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller #2
   Physical Address. . . . . . . . . : 00-24-8C-2A-8A-0A
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.200.11(Preferred) 
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter HDHR Connection:

   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller
   Physical Address. . . . . . . . . : 00-24-8C-2A-8A-88
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 169.254.10.11(Preferred) 
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . . : 
   NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter isatap.{3BAA1F65-47C1-49C6-9041-C4DC1231EFBD}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{9DF1FCB7-61DA-4FD6-A187-0B51F9C3036F}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #4
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{825F6E4E-68A8-4A01-9EAC-2072F8B57BC6}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #5
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
Attached Images
File Type: jpg Placeshifter.JPG (34.4 KB, 293 views)
__________________
Server: ASUS P5BV-C/4L, Celeron E1600, 2GB Ram, Windows 7, 30GB OS/512GB (iSCSI) TV/DVD Storage, SageTV 7.1.9, Java 1.6.0_20, Paterson TV Translator 1.0.19.0
Client(1): SageTV STX-HD100 f/w:20100212 connected to an Onkyo SR-606 and Samsung LN46A650 via HDMI
Client(2): HP Pavilion dv5z-1200 Entertainment Notebook running Windows 7 and SageTV Client 7.1.9
Source(1): DirecTV H21, HD-PVR (E1) driver 1.5.7
Source(2): HDHomeRun, Winegard GS-2200
Reply With Quote
  #2  
Old 02-04-2011, 12:09 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
The placeshifter server socket binds to the wildcard IP address; so it will receieve packets that come in on any IP for that machine.

What you're seeing in that screenshot you posted is for the UPnP automatic port configuration. When SageTV is telling your router what port to forward (if you use the UPnP port forwarding); it then needs to provide a specific IP address to the router.

So if that's not the right IP for port forwarding; you can just manually setup port forwarding on your router and then everything should work fine.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #3  
Old 02-04-2011, 10:38 PM
trini0's Avatar
trini0 trini0 is offline
Sage Aficionado
 
Join Date: Mar 2006
Location: Ft. Lauderdale, FL
Posts: 331
Quote:
Originally Posted by Narflex View Post
The placeshifter server socket binds to the wildcard IP address; so it will receieve packets that come in on any IP for that machine.

What you're seeing in that screenshot you posted is for the UPnP automatic port configuration. When SageTV is telling your router what port to forward (if you use the UPnP port forwarding); it then needs to provide a specific IP address to the router.

So if that's not the right IP for port forwarding; you can just manually setup port forwarding on your router and then everything should work fine.
Let me see if I'm understanding you correctly.
My router doesn't support UPnP. But Placeshifter would listen on any IP Address on the server (regardless of what that screenshot says).
And if I forward the port to the LAN IP address, it should work just fine.
I'll test it out..
__________________
Server: ASUS P5BV-C/4L, Celeron E1600, 2GB Ram, Windows 7, 30GB OS/512GB (iSCSI) TV/DVD Storage, SageTV 7.1.9, Java 1.6.0_20, Paterson TV Translator 1.0.19.0
Client(1): SageTV STX-HD100 f/w:20100212 connected to an Onkyo SR-606 and Samsung LN46A650 via HDMI
Client(2): HP Pavilion dv5z-1200 Entertainment Notebook running Windows 7 and SageTV Client 7.1.9
Source(1): DirecTV H21, HD-PVR (E1) driver 1.5.7
Source(2): HDHomeRun, Winegard GS-2200
Reply With Quote
  #4  
Old 02-04-2011, 11:18 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Yes, I believe placeshifter binds to 0.0.0.0, which means it effectively listens on all adapters.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #5  
Old 02-07-2011, 12:42 PM
sacrament055 sacrament055 is offline
Sage Aficionado
 
Join Date: Jul 2007
Posts: 474
On a related topic I've noticed that my clients folder on my sage server is using the MAC address of the first adapter windows lists. In my case the problem with that is work had added a VPN adapter that has no real connection except when I setup my VPN tunnel. As a result of that every time my sage server reboots it makes me go through the initial config options instead of recognizing that I've connected before and already configured my options.
Reply With Quote
  #6  
Old 02-07-2011, 01:36 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by sacrament055 View Post
On a related topic I've noticed that my clients folder on my sage server is using the MAC address of the first adapter windows lists.
You can force it to use a particular MAC address from the command line:

java -cp MiniClient.jar sage.miniclient.MiniClient -mac clientMAC serverIP

Or leave off the serverIP if you want to choose your server from the menu.
__________________
-- Greg
Reply With Quote
  #7  
Old 02-07-2011, 09:38 PM
sacrament055 sacrament055 is offline
Sage Aficionado
 
Join Date: Jul 2007
Posts: 474
Quote:
Originally Posted by GKusnick View Post
You can force it to use a particular MAC address from the command line:

java -cp MiniClient.jar sage.miniclient.MiniClient -mac clientMAC serverIP

Or leave off the serverIP if you want to choose your server from the menu.
Thanks for the reply. I tried the line you added with my mac (tried with the dashes as listed with ipconfig/all and without dashes) and no server listed so I can choose but when I click on my server I get a series of error messages:
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: javax/med
ia/opengl/GLEventListener
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sage.miniclient.MiniClientManagerFrame.connectToServer(MiniClientMana
gerFrame.java:494)
at sage.miniclient.MiniClientManagerFrame.access$200(MiniClientManagerFr
ame.java:12)
at sage.miniclient.MiniClientManagerFrame$2.mouseClicked(MiniClientManag
erFrame.java:76)
at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: javax.media.opengl.GLEventListener
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 36 more
Reply With Quote
  #8  
Old 02-07-2011, 09:54 PM
sacrament055 sacrament055 is offline
Sage Aficionado
 
Join Date: Jul 2007
Posts: 474
Got a response from Sage support, looks like the command is a little different:

java -cp MiniClient.jar;jogl.jar;gluegen-rt.jar -Xmx192m sage.miniclient.MiniClient -mac XX:XX:XX:XX:XX:XX

seems to be working perfectly now.. Thanks!
Reply With Quote
  #9  
Old 02-07-2011, 10:06 PM
trini0's Avatar
trini0 trini0 is offline
Sage Aficionado
 
Join Date: Mar 2006
Location: Ft. Lauderdale, FL
Posts: 331
Quote:
Originally Posted by trini0 View Post
I'll test it out..
I'm happy to say that all is well.
Thanks all for the knowledge..
__________________
Server: ASUS P5BV-C/4L, Celeron E1600, 2GB Ram, Windows 7, 30GB OS/512GB (iSCSI) TV/DVD Storage, SageTV 7.1.9, Java 1.6.0_20, Paterson TV Translator 1.0.19.0
Client(1): SageTV STX-HD100 f/w:20100212 connected to an Onkyo SR-606 and Samsung LN46A650 via HDMI
Client(2): HP Pavilion dv5z-1200 Entertainment Notebook running Windows 7 and SageTV Client 7.1.9
Source(1): DirecTV H21, HD-PVR (E1) driver 1.5.7
Source(2): HDHomeRun, Winegard GS-2200
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Placeshifter Mac Address Change? voorhees SageTV Placeshifter 6 12-18-2010 08:16 AM
Placeshifter MAC address problem zoundz SageTV Placeshifter 0 04-11-2009 07:37 PM
Placeshifter listening on wrong IP address trini0 SageTV Software 14 02-23-2009 10:42 AM
Can I "bind" SageTV Server to a LAN Adaptor? PVRPhreak SageTV Software 2 12-01-2008 10:56 AM
PlaceShifter Dynamic IP Address Question mike1961 SageTV Placeshifter 7 05-10-2007 01:05 AM


All times are GMT -6. The time now is 04:14 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.