|
SageTV Media Extender Discussion related to any SageTV Media Extender used directly by SageTV. Questions, issues, problems, suggestions, etc. relating to a SageTV supported media extender should be posted here. Use the SageTV HD Theater - Media Player forum for issues related to using an HD Theater while not connected to a SageTV server. |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
|||
|
|||
I filed it too, no doubt I will get the same reponse. I also mentioned the behaviour of the Hd200 when it loses contact with the server (loss of network, been put into standby etc) unlike my PC client which says 'lost connection with server' the hd200 just hangs on the screen you were on (STV behaviour is slightly different, Default STV recovers when the server comes back, SageMC needs the HD200 to be powered off/on on the remote)
Tim
__________________
Tecra M5, 2 x HD200, 2 x HD300 2 x PCTV 290e Win 7, Sage 7.1.9, Phoenix 2 STV Stephane's XMLTV Importer, Digiguide, |
#22
|
||||
|
||||
Good luck with that. The same request/report was made about the HD100 and that hasn't happened either.
__________________
Server: Core 2 Duo E4200 2 GB RAM, nVidia 6200LE, 480 GB in pool, 500GB WHS backup drive, 1x750 GB & 1x1TB Sage drives, Hauppage HVR-1600, HD PVR, Windows Home Server SP2 Media center: 46" Samsung DLP, HD-100 extender. Gaming: Intel Core2 Duo E7300, 4GB RAM, ATI HD3870, Intel X-25M G2 80GB SSD, 200 & 120 GB HDD, 23" Dell LCD, Windows 7 Home Premium. Laptop: HP dm3z, AMD (1.6 GHz) 4 GB RAM, 60 GB OCZ SSD, AMD HD3200 graphics, 13.3" widescreen LCD, Windows 7 x64/Sage placeshifter. |
#23
|
|||
|
|||
Magic Packet would do it
I am also trying to be greener by not having servers run 24/7. I managed to get down to only one running all the time, and it sends a "magic packet" to another server to wake it up from shutdown state, at a fixed time, everyday.
The server has to support "Wake-on-LAN" - in other words the BIOS has to support it, and the network card on the server has to support it, and you have to tweak control panel settings for the network card to turn it on. Most modern motheboards / network cards do support this. On the "sending" PC or device, you have to program in the MAC address of the "target" server's network card. Seems to me that the extender could do this with a firmware upgrade.
__________________
[SIZE="1"][I]Server 1: i5-2500k, Win10 Pro, Cisco 4642HD -> Hauppauge HD-PVR Server 2: Thinkpad W530, Win10 Pro, Cisco 9865HD -> Hauppauge HD-PVR Server 3: Thinkpad W530, Win10 Pro, Cisco 4642HD -> Hauppauge HD-PVR Clients: (3x) SageTV HD-200, (1x) SageTV HD-300, SageTV Client on several PC's, SageTV Android on FireSticks and Nvidia Shield Pro/SIZE] |
#24
|
||||
|
||||
I think we all agree it should be possible with the extenders. However it apprently hasn't been very high on the to-do list for either extender.
__________________
Server: Core 2 Duo E4200 2 GB RAM, nVidia 6200LE, 480 GB in pool, 500GB WHS backup drive, 1x750 GB & 1x1TB Sage drives, Hauppage HVR-1600, HD PVR, Windows Home Server SP2 Media center: 46" Samsung DLP, HD-100 extender. Gaming: Intel Core2 Duo E7300, 4GB RAM, ATI HD3870, Intel X-25M G2 80GB SSD, 200 & 120 GB HDD, 23" Dell LCD, Windows 7 Home Premium. Laptop: HP dm3z, AMD (1.6 GHz) 4 GB RAM, 60 GB OCZ SSD, AMD HD3200 graphics, 13.3" widescreen LCD, Windows 7 x64/Sage placeshifter. |
#25
|
|||
|
|||
Hi, just had a response from them on mine and they seemed quite responsive on it - were clarifying a couple of things. Hopefully now they know a few of us are interested they'll have a look at it for us. I'm sure these sort of things come down to how much work they are to implement and what the risk/testing requirements are.
Quote:
|
#26
|
||||
|
||||
The thing is I do not even need that, while that would be more reliable and would work for waking up a server in hibernate mode. You can setup the server to wake on ANY packet sent to its ip. So if they would just modify the auto-connect to first try to connect to the manual entry that would wake the server. However the manual entries are not even used during HD200 auto-connect.
|
#27
|
|||
|
|||
Just wanted to let you know that I've received a very positive response from Sage support. They are considering the possibility of sending out magic packets or traffic during the auto-discovery phase to servers on the list (if we have auto-connect set). No guarantees of course, but here's hoping we'll see something along these lines implemented in a future firmware.
|
#28
|
||||
|
||||
This probably doesn't help too many folks but I have a linux box on the net that's set to listen for the broadcast UDP packets on port 31100 that are sent by extenders at startup, and send a WOL packet to the server.
|
#29
|
||||
|
||||
Quote:
Course to do this hack one must have a linux server on their network running which if you already have one for something else makes sense, but as you said probably not really a solution for everyone. |
#30
|
||||
|
||||
Thanks. You're right, I have this box set up as router, dhcp server, etc.. so it's easy to throw this in there. But it wouldn't make sense to set up a box for this alone unless perhaps if it were very small, like an embedded device.
|
#31
|
|||
|
|||
I have a small embedded device (slug) running debian and would be interested in your script, any chance you could attach it to this thread?
|
#32
|
||||
|
||||
Quote:
1. /etc/xinetd.d/sagewake: Code:
service sagewake { port = 31100 socket_type = dgram protocol = udp user = root server = /usr/bin/sagewake type = UNLISTED wait = yes only_from = 192.168.1.0 instances = 1 log_on_success -= EXIT DURATION } Code:
#!/bin/bash /sbin/ether-wake <MAC address of server> |
#33
|
|||
|
|||
Brilliant.
Here I was thinking that it would be a script that would have to run listening to a port, then I would have to monitor somehow it was still running, but your solution is not only the right way to do it's simple as well. thanks heaps it works a treat For debian it needs to be slightly changed its /usr/sbin/etherwake availiable by running "apt-get install etherwake' and if you dont want to load xinetd you can just add to /etc/services something like # Local services sage 31100/udp # sage extenders broadcast on bootup and then add to /etc/inetd.conf #:OTHER: Other services sage dgram udp wait root /usr/bin/sagewake Last edited by cheekymonkey; 03-07-2009 at 02:23 AM. Reason: added debian details |
#34
|
|||
|
|||
solve final problem!
Quote:
Unfortunately, now that the server is waking up a few seconds after the extender sends out its poll to port 31100 I still end up in the extender's stand-alone UI. How should I set up the HD 200 to see the server automatically? - I have tried 1, 5 and 15 seconds delay - I have tried setting up the server by static IP address. - I have tried with and without the AutoConnect setting None of these combinations seem to result in the server connecting without my manually setting it. Very low WAF! Any suggestions on the way to set up the extender to see the server automatically would be greatly appreciated. Thanks, Lynn
__________________
Server: Sage 7.1.9, service only, Java 1.6, Win XP Pro sp2, Asus M2A-VM, Athlon 64X2 4000+, 2 GB RAM, 2 x HDHR, 2 x WD 320 GB for media, OS on OCZ Vertex 60GB Client: Sage 7.1.9, Java 1.6.0_15, Win XP Pro sp3, Asus A8N5X, Athlon 64 3500+, 1 GB RAM, Asus Silent nVidia 8400GS, WD 250 GB SATA for OS and local storage, Sanyo PLV-Z4 1280x720 LCD Sage HD300 with Sony KDL40XBR9 and Sony HTCT100 Soundbar |
#35
|
||||
|
||||
Quote:
|
#36
|
|||
|
|||
Wow that's terrific - my one outstanding issue with Sage. Unfortunately though I have no experience of Linux so would be extremely grateful if you could post some instructions for my DNS-323.
Plus have you got it waking correctly into extender mode yet? Jonathan
__________________
Server: Intel Core Duo E8600 / 4gb RAM / Win7 Home Premium Tuners: 2 x HDHR for OTA Clients: 3 HD200 extenders Network: GB Ethernet / DLink DNS-323 |
#37
|
|||
|
|||
Quote:
I am not experienced with Linux either but I have pieced together a solution that almost works. Unfortunately, Sage has left us with a Catch 22 situation. They have a server that is designed to sleep until it needs to wake up for a scheduled recording, they sell an extender that does not know how to wake up its own sleeping server to watch what the server has recorded (no provision to send a WOL magic packet) and, finally, if an external WOL is provided, the extender never does a retry to see if the server has become available. So, I have to turn the HD 200 on to wake the Server, then turn it off again so it will retry finding the Server when I turn it back on a second time. This rates a zero-plus on my WAF scale! I hope they add a real WOL capability to the HD 200 in a firmware upgrade SOON. In any case my DNS-323 is modified to allow a more user-configurable Linux environment. There is an active community of users that have developed a suite of tools that make this possible. Go to: http://forum.dsmg600.info/f3-DNS323-...iscussion.html to get started and also to: http://wiki.dns323.info/ for more resources. The key to all of this is the installation of a tool called fun_plug on your DNS-323. I will not try to duplicate all of the install info here, as I have not looked at that for a long time. I had already added scripts to better manage the disk drive sleep behavior and to control the fan speed. The main script that sends the WOL to wake the server is “sagewake”: Code:
#!/bin/sh PATH=/ffp/bin:/bin:usr/sbin:/sbin:/usr/bin /ffp/bin/ether-wake -b -i egiga0 00:1e:8c:86:6b:ed # Kill inetd so it can be restarted, only works once? PID=$(/bin/pidof inetd) if [ -n "$PID" ] then kill -9 $PID fi sleep 1 # restart it for the next time /ffp/sbin/inetd This line needs to be added to the file “services” which, in my system, is located in ffp/etc: Code:
sage 31100/udp # sage extenders broadcast on boot up This line needs to be added to inetd.conf, which, in my system, is also in ffp/etc: Code:
sage dgram udp wait root /ffp/start/sagewake I found that because the services and inetd.conf files reside in flash I needed to copy them to RAM so that my edits would stick. Also, I found that inetd wasn’t even running by default so I needed to start it for the first use then it would be restarted by sagewake for subsequent use. I added these files to the master fun_plug script but I suspect that there is a more appropriate place for them. Code:
# copy modified "services" and inetd.conf file to RAM cp -p -f /ffp/etc/services /etc/services echo "++++++++copy services to RAM++++++++++++" cp -p -f /ffp/etc/inetd.conf /etc/inetd.conf echo "++++++++copy inetd.conf to RAM++++++++++++" # start inetd /ffp/sbin/inetd echo "+++++starting inetd+++++" Good luck! Lynn ps: I don't see any reason why the HD 200 couldn't do this same thing, without much effort. As far as I can see it too is running some form of Linux.
__________________
Server: Sage 7.1.9, service only, Java 1.6, Win XP Pro sp2, Asus M2A-VM, Athlon 64X2 4000+, 2 GB RAM, 2 x HDHR, 2 x WD 320 GB for media, OS on OCZ Vertex 60GB Client: Sage 7.1.9, Java 1.6.0_15, Win XP Pro sp3, Asus A8N5X, Athlon 64 3500+, 1 GB RAM, Asus Silent nVidia 8400GS, WD 250 GB SATA for OS and local storage, Sanyo PLV-Z4 1280x720 LCD Sage HD300 with Sony KDL40XBR9 and Sony HTCT100 Soundbar Last edited by ellweber; 11-11-2009 at 07:53 PM. |
#38
|
|||
|
|||
Hmm. Thanks for the sharing the scripts. Do you think I could run a similar WOL script from an HD100 extender to DD-WRT router to SageTV server? I have some reading to do on DD-WRT...
|
#39
|
||||
|
||||
DD-WRT supports WOL and xinetd, so this should be no problem.
|
#40
|
|||
|
|||
I've just been down the same path and my DNS-323 now wakes up my Sage server when it sees the 31100 UDP broadcast.
Unless I've missed something, this doesn't leave us much better off though, does it? The problem is that the extender only broadcasts to 31100 when it is first powered on, or forced to simulate a power-on by pressing the Home key or the Menu button while on standby. Is that correct? Usually an extender is resumed from standby, not started from cold, at least in my house, but this does not generate a 31100 broadcast, even if repeated attempts to reach the last-used server fail. I've traced it and it just sends packets to port 31099 at the last-used server IP address, over and over, forever. I can see the point of it retrying a few times, but FOREVER? Surely better to give up, tell the user the last-used server is unavailable and broadcast on 31100 to see if there are any alternative servers available? It's much quicker to go and resume the server myself than force the extender to cold-start just to get it to generate a 31100 packet. Or have I missed something? Edit: I should mention that I am using HD100s, maybe HD200s behave differently? Last edited by fac13; 01-16-2010 at 07:14 AM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HD200 - How to get back to home screen after attaching to SageTV Server? | Fountainhead | SageTV Media Extender | 11 | 02-08-2009 06:57 PM |
SageMC ...Wake Server/PC to Record... | joelinkup | SageTV Software | 4 | 01-10-2009 02:49 PM |
HD Media Extender does not find Server | HiDefDon | SageTV Media Extender | 25 | 11-10-2008 08:55 AM |
Ubuntu Hardy (8.04) - Client | RazorJack | SageTV Linux | 4 | 05-02-2008 08:17 PM |
Sage server upgrade to Xeon, client help. | mleonard | Hardware Support | 1 | 07-08-2007 10:45 AM |