SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Media Extender

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-21-2009, 07:11 PM
personalt's Avatar
personalt personalt is offline
Sage Advanced User
 
Join Date: Apr 2008
Posts: 227
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.
Reply With Quote
  #2  
Old 01-22-2009, 11:55 AM
cenwesi cenwesi is offline
Sage Aficionado
 
Join Date: Aug 2005
Posts: 311
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
Reply With Quote
  #3  
Old 01-25-2009, 08:48 PM
jwpicard jwpicard is offline
New Member
 
Join Date: Jan 2008
Posts: 4
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.
Reply With Quote
  #4  
Old 01-26-2009, 02:07 AM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,067
Quote:
Originally Posted by jwpicard View Post
I am assuming you want to reboot your server not the HD200
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
Reply With Quote
  #5  
Old 01-26-2009, 08:13 AM
Eckwell's Avatar
Eckwell Eckwell is offline
Sage Aficionado
 
Join Date: Apr 2007
Posts: 271
Quote:
Originally Posted by cenwesi View Post
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
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
Reply With Quote
  #6  
Old 01-26-2009, 11:29 AM
mikejaner's Avatar
mikejaner mikejaner is offline
Sage Icon
 
Join Date: Oct 2003
Location: Chantilly VA
Posts: 1,876
Send a message via AIM to mikejaner Send a message via MSN to mikejaner Send a message via Skype™ to mikejaner
Quote:
Originally Posted by Eckwell View Post
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...
[If your HD200's ip was 192.168.1.200]

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.
Reply With Quote
  #7  
Old 01-26-2009, 11:31 AM
cenwesi cenwesi is offline
Sage Aficionado
 
Join Date: Aug 2005
Posts: 311
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...
Reply With Quote
  #8  
Old 01-26-2009, 01:07 PM
QueOnda's Avatar
QueOnda QueOnda is offline
Sage Icon
 
Join Date: Jan 2008
Posts: 1,055
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.
Reply With Quote
  #9  
Old 01-31-2009, 08:35 PM
personalt's Avatar
personalt personalt is offline
Sage Advanced User
 
Join Date: Apr 2008
Posts: 227
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
Attached Files
File Type: zip telnet_batch2.zip (181.2 KB, 170 views)
Reply With Quote
  #10  
Old 04-04-2009, 08:00 PM
shadeblue.com's Avatar
shadeblue.com shadeblue.com is offline
Sage Aficionado
 
Join Date: Jun 2008
Posts: 408
Quote:
Originally Posted by personalt View Post
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.

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>
If login attempt is invalid, the following is returned by the extender:
Code:
login incorrect
If login attempt is successful, the following is returned by the extender:
Code:
em86xx[/root]#
To issue a POWER ON instruction, I send this command:
Code:
killall waitpower<enter>
To issue a POWER OFF instruction, I send this command:
Code:
killall miniclient<enter>
To issue a REBOOT instruction, I send this command:
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
Reply With Quote
  #11  
Old 04-05-2009, 12:21 PM
mangriotis mangriotis is offline
Sage Aficionado
 
Join Date: Mar 2003
Location: Elgin, IL
Posts: 329
The syntax for the HD200 is in this thread and is quite simple I think.

Code:
root
reboot now
the vbs solution is working for me, and your exectrl seemed to only indicate the HD100, so I didn't try it.
__________________
m2
Reply With Quote
  #12  
Old 04-05-2009, 06:49 PM
shadeblue.com's Avatar
shadeblue.com shadeblue.com is offline
Sage Aficionado
 
Join Date: Jun 2008
Posts: 408
Quote:
Originally Posted by mangriotis View Post
The syntax for the HD200 is in this thread and is quite simple I think.

Code:
root
reboot now
the vbs solution is working for me, and your exectrl seemed to only indicate the HD100, so I didn't try it.
Do you know if the POWER ON and POWER OFF commands are the same?

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
Reply With Quote
  #13  
Old 04-06-2009, 07:36 PM
aflat aflat is offline
Sage Aficionado
 
Join Date: Feb 2009
Posts: 295
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 waitpower
killall miniclient
reboot

all work like the HD100

Last edited by aflat; 04-06-2009 at 07:52 PM.
Reply With Quote
  #14  
Old 04-06-2009, 07:45 PM
hugenbdd hugenbdd is offline
Sage User
 
Join Date: Feb 2009
Location: Cincinnati, KY
Posts: 50
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>
Reply With Quote
  #15  
Old 04-06-2009, 07:56 PM
aflat aflat is offline
Sage Aficionado
 
Join Date: Feb 2009
Posts: 295
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[/]#
Reply With Quote
  #16  
Old 04-06-2009, 08:03 PM
shadeblue.com's Avatar
shadeblue.com shadeblue.com is offline
Sage Aficionado
 
Join Date: Jun 2008
Posts: 408
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.
Reply With Quote
  #17  
Old 04-09-2009, 07:28 AM
lamanmi's Avatar
lamanmi lamanmi is offline
Sage Advanced User
 
Join Date: Sep 2004
Location: Kirtland, Ohio
Posts: 192
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!
Reply With Quote
  #18  
Old 04-09-2009, 10:30 AM
aflat aflat is offline
Sage Aficionado
 
Join Date: Feb 2009
Posts: 295
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.
Reply With Quote
  #19  
Old 04-09-2009, 10:57 AM
shadeblue.com's Avatar
shadeblue.com shadeblue.com is offline
Sage Aficionado
 
Join Date: Jun 2008
Posts: 408
Quote:
Originally Posted by lamanmi View Post
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!
aflat's suggestion will work with TELNET.

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
Reply With Quote
  #20  
Old 04-09-2009, 02:46 PM
lamanmi's Avatar
lamanmi lamanmi is offline
Sage Advanced User
 
Join Date: Sep 2004
Location: Kirtland, Ohio
Posts: 192
tHANKS.

Both are great suggestions and just what I needed. Thanks!!
Reply With Quote
Reply


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

Advanced Search
Display Modes

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
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


All times are GMT -6. The time now is 05:34 AM.


Powered by vBulletin® Version 3.7.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2003-2005 SageTV, LLC. All rights reserved.