![]() |
|
|||||||
| 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 |
|
|
|
#1
|
||||
|
||||
|
HD200 - Rebooting From Command Line
With the HD100 there was a mini-application/script I could call to reboot the box. This doesnt seem to work with the HD200
Does anyone have a way to remotely reboot? My server and extender are the closet and I am controlling via CQC. anytime I reboot the machine the connection drops and I have head down to the closet to reboot. |
|
#2
|
|||
|
|||
|
telnet into the hd200 and i believe the login ID=root with no password.
and issue the reboot command at the shell. That worked for me
|
|
#3
|
|||
|
|||
|
I am assuming you want to reboot your server not the HD200
![]() create a batch file called whatever, mine is called reboot.bat. Inside that put the following command - shutdown -r t 05 the -r tells it to reboot and the t 05 says to wait for 5 seconds. Then just add this as an external command on your menu somewhere. I also schedule this to run at 7 am becuase I have it on Windows XP and it seems to perform better with a daily reset. |
|
#4
|
||||
|
||||
|
I think he means the extender. The server gets rebooted, but then the extender is out of sync, and needs to be restarted too.
__________________
Server (headless): WinXP (SP3) with Sage v7 running on an Intel Core 2 Duo 2.2Ghz with 4Gb RAM in service mode. STV: Tuners: HDHR (Comcast QAM); HDHR (OTA) Extenders: HD200 connected to a Philips 26" LCD HDTV; HD300 connected to a Visio 42" LCD HDTV |
|
#5
|
||||
|
||||
|
Can you give me the syntax to use telnet in this way? This would be great to set up each time the server reboots (for whatever reason!) WAF would go up a few tenths...
__________________
Eckwell / Chicago, IL SERVER: AMD Phenom III 8750 Black / 4 GB / XP Pro / JV1.6.24 / V7 / 2 PVR-HD (DirectTV) & HDHR (2xATSC) STORAGE: WD Raptor36GB boot / 11TB in 2 eSATA enclosure DEFAULT STV Comskip triggered by DirMON2 --- HD100 / HD200 /HD300 BMI fanart |
|
#6
|
||||
|
||||
|
Quote:
Start--Run--cmd telnet 192.168.1.200 root [NO PASSWORD] reboot
__________________
Mike Janer SageTV HD200 Extender X2 Sage Server: AMD X4 620,2048MB RAM,SageTV 6.5.x ,2X HDPVR, 2x HDHomerun. 80GB OS Drive, Video Drives: Samba Share, Ubuntu Server with 5x1500 GB RAID5 Last edited by mikejaner; 01-26-2009 at 11:33 AM. |
|
#7
|
|||
|
|||
|
Simple:
meSvr$: telnet 192.168.1.13 Trying 192.168.1.13... Connected to 192.168.1.13. Escape character is '^]'. STP-HD200 login: root Once you are in... simply issue the command: meSvr$: reboot now thats it... |
|
#8
|
||||
|
||||
|
Or you can use the Neilm's webadmin and has an option to power off or reboot.
Last edited by QueOnda; 01-26-2009 at 01:09 PM. |
|
#9
|
||||
|
||||
|
I found a good solution. the file that is attached will script a batch file for reboot the HD200. just edit the ip file with the of your extender(s)
I found the application here, I take no claim to it other then it seems to work good http://www.techidiots.net/autoit-scripts/telnet-batch |
|
#10
|
||||
|
||||
|
Quote:
Does this utility reboot EXE not work to reboot the HD200? http://forums.sagetv.com/forums/down...do=file&id=251 I don't have a HD200 so I can't test it, but if you give me the exact log of the console displayed when accessing it via TELNET, I can update this program to fix it. For example, here is how the current version works against the HD100 Login Prompt: Code:
em86xx login: root<enter> password: <enter> Code:
login incorrect Code:
em86xx[/root]# Code:
killall waitpower<enter> Code:
killall miniclient<enter> Code:
reboot<enter> If somebody can update the telnet command syntax for the HD200, I will be happy to update this utility program. Thanks, SB
__________________
Server Hardware: Intel Core 2 Quad Q6700 2.66GHz CPU, 4GB DDR2 RAM, NVIDIA nForce 780i SLI Motherboard, GeForce 8600 GT, Seagate Barracuda 7200.11 2.5TB Operating System: Windows XP Professional HTPC/DVR Software: SageTV 7 Capture Devices: 2 @ Hauppauge HD-PVR (1212), Hauppauge WinTV-HVR-1600 ATSC/QAM, HD Homerun Media Extenders: 2 @ Sage HD100 & 1 @ Sage HD200 Signals/Providers: AT&T UVerse, OTA ATSC Set-Top-Box: 2 @ Motorola Box VIP 1200 |
|
#11
|
|||
|
|||
|
The syntax for the HD200 is in this thread and is quite simple I think.
Code:
root reboot now
__________________
m2 |
|
#12
|
||||
|
||||
|
Quote:
Thanks, SB
__________________
Server Hardware: Intel Core 2 Quad Q6700 2.66GHz CPU, 4GB DDR2 RAM, NVIDIA nForce 780i SLI Motherboard, GeForce 8600 GT, Seagate Barracuda 7200.11 2.5TB Operating System: Windows XP Professional HTPC/DVR Software: SageTV 7 Capture Devices: 2 @ Hauppauge HD-PVR (1212), Hauppauge WinTV-HVR-1600 ATSC/QAM, HD Homerun Media Extenders: 2 @ Sage HD100 & 1 @ Sage HD200 Signals/Providers: AT&T UVerse, OTA ATSC Set-Top-Box: 2 @ Motorola Box VIP 1200 |
|
#13
|
|||
|
|||
|
I logged in, here is a dump of what I have so far, I can't reboot yet, the wife is still using it. I tried l to login the first time so you can see an invalid login. I'll get you more later, but I didn't want to forget at least this.
Code:
STP-HD200 login: l Password: Login incorrect STP-HD200 login: root login: can't chdir to home directory '/root' STP-HD200[/]# killall miniclient reboot all work like the HD100 Last edited by aflat; 04-06-2009 at 07:52 PM. |
|
#14
|
|||
|
|||
|
Yes,
All three of those commands posted earlier work from telnet. Your exe does not work. It appears to wait for the "password" prompt. C:\Users\Dave>C:\Users\Dave\Desktop\sageextctrl.exe 192.168.1.24 off ------------------------------------------------ SageTV HD-100 Extender Controller ------------------------------------------------ [CONNECTED SUCCESSFULLY] @ 192.168.1.24 ^C C:\Users\Dave> |
|
#15
|
|||
|
|||
|
It's probably looking for the incorrect prompt, since it changed between the HD100 and HD200. Before it was waiting for em86xx[/root]#, now it has to look for STP-HD200[/]#
|
|
#16
|
||||
|
||||
|
OK, I modified the logic to accept the sequence that 'aflat' posted. I am still issuing 'reboot' and not 'reboot now' based on 'hugenbdd' comments.
Thank you both for posting your findings. I have posted the updated version to this thread, if somebody can test this updated version, that would be very helpful. Thanks, SB REMOVED FILE FROM THIS POST, YOU CAN DOWNLOAD THE UPDATED FILE HERE
__________________
Server Hardware: Intel Core 2 Quad Q6700 2.66GHz CPU, 4GB DDR2 RAM, NVIDIA nForce 780i SLI Motherboard, GeForce 8600 GT, Seagate Barracuda 7200.11 2.5TB Operating System: Windows XP Professional HTPC/DVR Software: SageTV 7 Capture Devices: 2 @ Hauppauge HD-PVR (1212), Hauppauge WinTV-HVR-1600 ATSC/QAM, HD Homerun Media Extenders: 2 @ Sage HD100 & 1 @ Sage HD200 Signals/Providers: AT&T UVerse, OTA ATSC Set-Top-Box: 2 @ Motorola Box VIP 1200 Last edited by shadeblue.com; 04-07-2009 at 12:00 AM. |
|
#17
|
||||
|
||||
|
Getting status (on/off) from HD200
I would like to monitor the status of when our HD200s are turned on and off for various reasons (track the kids usage, make sure the TV is turned off if the HD200 is off, etc).
Obviously Nielm's Web Server shows the status, but I am looking for a more direct way that can be accessed through a batch file or script? I am thinking of such methods being able to use telnet to get the status, a TCP port type of inquiry, or other command line type of interface. Any help would be greatly appreciated. Thanks! |
|
#18
|
|||
|
|||
|
If you telnet in, do a "ps -as" and if /client/miniclient is running, it's on, if /client/waitpower is running, it's off.
|
|
#19
|
||||
|
||||
|
Quote:
Or you can check out Nielm's GetStatus plug-in. (http://tools.assembla.com/sageplugin...etStatusPlugin). If it contains the data you are looking for, then it is just a TCP connect and the status data is dumped to your socket.
__________________
Server Hardware: Intel Core 2 Quad Q6700 2.66GHz CPU, 4GB DDR2 RAM, NVIDIA nForce 780i SLI Motherboard, GeForce 8600 GT, Seagate Barracuda 7200.11 2.5TB Operating System: Windows XP Professional HTPC/DVR Software: SageTV 7 Capture Devices: 2 @ Hauppauge HD-PVR (1212), Hauppauge WinTV-HVR-1600 ATSC/QAM, HD Homerun Media Extenders: 2 @ Sage HD100 & 1 @ Sage HD200 Signals/Providers: AT&T UVerse, OTA ATSC Set-Top-Box: 2 @ Motorola Box VIP 1200 |
|
#20
|
||||
|
||||
|
tHANKS.
Both are great suggestions and just what I needed. Thanks!!
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HD200 HDMI not not working | RodEvan | SageTV Media Extender | 2 | 01-17-2009 01:05 PM |
| WHo was provided client license to use HD200 in 6.4? | TwistedMelon | SageTV Media Extender | 4 | 12-22-2008 10:03 PM |
| HD200 as Germany-US placeshift clieent | HellerMD98 | SageTV Media Extender | 4 | 12-22-2008 06:00 AM |
| Sigma SMP8635LF (HD200) vs EM8620L (HD100) & Capability Video/Audio | voidpt | SageTV Media Extender | 4 | 12-10-2008 03:56 PM |
| HD200 initial impressions | jmv | SageTV Media Extender | 12 | 12-10-2008 10:56 AM |