NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) MVP & NMT MVPMCX2 and other NMT stuff v
« Previous 1 … 3 4 5 6 7 … 37 Next »
Dummies guide to NMT start via USB, WOL and Index.htm

 
  • 0 Vote(s) - 0 Average
Dummies guide to NMT start via USB, WOL and Index.htm
soccerdad
Offline

Posting Freak

Posts: 1,198
Threads: 137
Joined: Feb 2005
#1
2011-07-25, 02:26 AM (This post was last modified: 2011-07-25, 11:06 AM by soccerdad.)
Below is something I wrote up to document what I have been through the last few days setting up my system. Perhaps it could become a sticky or added into the wiki. Comments are welcome. I think it is technically correct, but am open to changes for clarity. The word document is also attached.

DUMMIES GUIDE TO STARTING NPVR ON THE NMT ON A USB DRIVE, HAVING THE SERVER WAKE ON LAN, AND ADDING AN INDEX FILE TO MAKE IT EASIER TO LAUNCH INTO NPVR.

This is a guide to how I set up my system to meet the needs of my family. Everyone's needs are different, but this setup works well and is easy for my wife and kids to use.

Goals:
To start the PCH interface into NPVR with the push of a single button
To allow the NPVR server to sleep and have it wake up when the PCH is used.

Background:
I had a working PCH installation using a share to my Vista server. While this worked fine, I like to let my server (and all other PCs sleep) when not in use. Since I don't have an internal hard drive in the PCH, I chose to use a USB drive at the PCH to launch to NPVR.

My setup uses a PCH A100 without an internal hard drive.
My server is running Windows Vista

Prepare Server to allow it to wake on LAN activity: In Device Manager->network adapters, pick your network adapter and select power management tab. Check “allow this device to wake the computer” and “ only allow a magic packet to wake the computer” This will keep the computer from waking on basic LAN traffic but will allow a WOL packet to wake it up.

Install mvpmc to a USB stick:
Insert a USB stick that you will dedicate to the project in your NPVR server PC. Use the NMT Install 2 found here http://forums.gbpvr.com//showthread.php?47179. Select the USB drive and install to the stick. You will need the PCH MAC address that is found on the PCH setup screens. If you already have NPVR installed, you won't have to reinstall it so you can uncheck those boxes. More detailed installation information is found on the link above.

Test the installation:

Put the USB stick into the PCH and cycle power to the PCH. If all goes well, once the PCH loads, it will eventually switch over to the Start screen. You can navigate to the selection (files) on the far right and then find the mvpmc folder. In the folder select NPVR and you should get a start box. Choose start NPVR via USB from the list and it should connect to and start you in NPVR. Get this working before you attempt to do anything else.

Set up Wake On Lan to wake the Server from the PCH
Download the ether-wake file from here- http://www.mvpmc.org/~mvallevand/ether-wake.zip
Unzip the files into your mvpmc folder on your USB drive.

Next open the usb_a.cgi file on your USB stick to edit it. You can't use notepad to edit it. A free editor is editpad lite which can be found here- http://download.jgsoft.com/editpad/SetupEditPadLite.exe

Insert the highlighted line below into the .cgi file. Replace the mac address shown with your mac address from LAN card on your server PC. You can find this address by typing ipconfig/ all from a dos prompt on your server PC.


echo "Telnetd started on port 23............";
fi
/etc/mvpmc/ether-wake 00:00:00:00:00:00 <--- add this line
killall gaya
sh -c /etc/mvpmc/startmeup 2>/dev/null >/dev/null &
exit 0;
Test the Wake on LAN
You can now put the USB drive back into the PCH and cycle power. Put the server PC into sleep mode, then start NPVR from the USB drive. The PC should start. If it does not, very that you have the MAC address correct in the line you added and that you have placed the ether-wake file in the mvpmc folder.

At this point, you should have a working system that will WOL when you launch NPVR. You can stop here, but to make it more user friendly, you can add a start script. This will allow you to launch into NPVR with a single button push after you turn the PCH on. This is done with an index.htm file.

Build an index.htm file
There are a variety of index files you can create. Many of these are discussed on the NPVR wiki here- http://www.nextpvr.com/nwiki/pmwiki.php?...t.NMT#toc3 . One of the easiest index files to create is to use editpad to copy the contents of the NPVR.html file into a new file named index.htm. Place this index file in the root of the USB drive. Now when you power up the PCH, it will automatically go to the launch screen without any additional navigation.

Hopefully this has helped to get you going. PLEASE remember to get your basic PCH configuration running smoothly first, before you try any advanced installations.


Soccerdad- 7/11
[ATTACHMENT NOT FOUND]
[SIZE="1"] Server= Asus M3A78-EM, 4 gigs ram, AMD A64 5200+, Windows 7 home premium 32, 1 HVR-1800, 1 PCH A-100, Test Rig, Biostar 880g+, AMD X2 260, 4 gb ram, Windows, 7 Home Premium 32, 1 DCR-2650 cablecard tuner [/SIZE]
[SIZE="1"][/SIZE]
hasso
Offline

Senior Member

Posts: 465
Threads: 81
Joined: Dec 2004
#2
2011-08-11, 07:40 PM
Thanks for sharing this. I've now setup something similar with WOL functionality. In my case I only wanted to start nPVR from a USB drive, so I took out all the index and index_sd options except for starting from USB and returning to NMT. I also didn't want the NMT to auto start the nPVR client... as everytime I put the thing in standby, it would restart nPVR. I also included some images... looks OK through index_sd using a CRT TV, but don't know how it'll look in HD.

[ATTACH=CONFIG]31303[/ATTACH]

I've include my files if anyone wants to try. Using a linux friendly text editor, in usb_a.cgi you need to change:
- the MAC address of the server you want to wake up
- the usb drive name if necessary. In my case the NMT showed it as USB_DRIVE_A.
In index.htm and index_sd.htm you may also need to change the usb drive name as well (in multiple places).

index.htm and index_sd.htm go to the root of the usb drive, while all the other files go into the mvpmc folder of the usb drive.
Regards,
Hasso

[SIZE="2"]Server: NPVR 2.2.6, Asus E35M1-M PRO motherboard, 2 x 2GB DDR-1333 memory, 1 x 1.5TB SATA Samsung HD, 2 x 2TB SATA Seagate Green HD, 1 x Hauppauge HD4400, 2 x Hauppauge Nova T 500, Windows 7 Home.
Clients: EGreat M34A with MVPMCX2; HDX1000 with MVPMCX2 and internal 2TB SATA Seagate Green HD.[/SIZE]
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,625
Threads: 148
Joined: Mar 2006
#3
2011-08-11, 08:13 PM
hasso Wrote:Thanks for sharing this. I've now setup something similar with WOL functionality. In my case I only wanted to start nPVR from a USB drive, so I took out all the index and index_sd options except for starting from USB and returning to NMT.

Yes that is something I have been "going to do" & upload onto the wiki for ages..... time..... oh for some free time.....

Quote: I also didn't want the NMT to auto start the nPVR client... as everytime I put the thing in standby, it would restart nPVR. I also included some images... looks OK through index_sd using a CRT TV, but don't know how it'll look in HD.

You do realise you need to press the power button on you remote twice when running the auto start index scripts to get it into standby don't you? once to drop back to the nmt screen & the second time to put it into standby.
hasso
Offline

Senior Member

Posts: 465
Threads: 81
Joined: Dec 2004
#4
2011-08-11, 08:45 PM
Jaggy Wrote:You do realise you need to press the power button on you remote twice when running the auto start index scripts to get it into standby don't you? once to drop back to the nmt screen & the second time to put it into standby.

You mean "standby button", not "power button"? On my remote power switches it totally off (requiring 45 seconds to reboot when I press the power button again). If you mean standby, then yes, I do need to press standby twice (once to exit NPVR, and the second time after the NMT menu starts to reappear). I guess it may just be my preference to not autostart NPVR as there were a number of times where I pressed standby, was doing something else waiting for the NMT menu to appear, and then missed the autostart starting up NPVR again.
Regards,
Hasso

[SIZE="2"]Server: NPVR 2.2.6, Asus E35M1-M PRO motherboard, 2 x 2GB DDR-1333 memory, 1 x 1.5TB SATA Samsung HD, 2 x 2TB SATA Seagate Green HD, 1 x Hauppauge HD4400, 2 x Hauppauge Nova T 500, Windows 7 Home.
Clients: EGreat M34A with MVPMCX2; HDX1000 with MVPMCX2 and internal 2TB SATA Seagate Green HD.[/SIZE]
soccerdad
Offline

Posting Freak

Posts: 1,198
Threads: 137
Joined: Feb 2005
#5
2011-08-11, 09:11 PM
I am glad it was useful. Thanks for sharing your files. It looks really nice. I will play with it and get it up on my 42"LCD and see how it looks.
[SIZE="1"] Server= Asus M3A78-EM, 4 gigs ram, AMD A64 5200+, Windows 7 home premium 32, 1 HVR-1800, 1 PCH A-100, Test Rig, Biostar 880g+, AMD X2 260, 4 gb ram, Windows, 7 Home Premium 32, 1 DCR-2650 cablecard tuner [/SIZE]
[SIZE="1"][/SIZE]
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,930
Threads: 956
Joined: May 2006
#6
2011-08-11, 09:59 PM (This post was last modified: 2011-08-11, 10:49 PM by mvallevand.)
hasso Wrote:You mean "standby button", not "power button"?

The advanced EGreat remote with the colour buttons has both standby and power buttons. The PCH A1x00 remote doesn't have a "real" power off, and the basic EGreat remote doesn't have standby.

That looks nice too.

Martin
hasso
Offline

Senior Member

Posts: 465
Threads: 81
Joined: Dec 2004
#7
2011-08-11, 10:46 PM
mvallevand Wrote:The advanced EGreat remote with the colour buttons has both standby and power buttons. The PCH A1x00 boxes doesn't have a "real" power off, and the basic EGreat remote don't have standby.

Ah, OK. Mine's the advanced EGreat remote so has both "Power" and "Standby" buttons.
Regards,
Hasso

[SIZE="2"]Server: NPVR 2.2.6, Asus E35M1-M PRO motherboard, 2 x 2GB DDR-1333 memory, 1 x 1.5TB SATA Samsung HD, 2 x 2TB SATA Seagate Green HD, 1 x Hauppauge HD4400, 2 x Hauppauge Nova T 500, Windows 7 Home.
Clients: EGreat M34A with MVPMCX2; HDX1000 with MVPMCX2 and internal 2TB SATA Seagate Green HD.[/SIZE]
soccerdad
Offline

Posting Freak

Posts: 1,198
Threads: 137
Joined: Feb 2005
#8
2011-08-11, 11:45 PM
Cool, it worked great and looks nice on HD. A little grainy perhaps, but very attractive.

For others that might try this, I found that my USB was called USB_DRIVE_A-1 instead of just A. It was not obvious at first and I had a few problems until I found it.
[SIZE="1"] Server= Asus M3A78-EM, 4 gigs ram, AMD A64 5200+, Windows 7 home premium 32, 1 HVR-1800, 1 PCH A-100, Test Rig, Biostar 880g+, AMD X2 260, 4 gb ram, Windows, 7 Home Premium 32, 1 DCR-2650 cablecard tuner [/SIZE]
[SIZE="1"][/SIZE]
hasso
Offline

Senior Member

Posts: 465
Threads: 81
Joined: Dec 2004
#9
2011-08-12, 12:02 AM
soccerdad Wrote:A little grainy perhaps....

Yes, I took the original high resolution 1920x1080 (something like 900K, I think) background png image from NPVR and wittled it down to something like 90K. In my case the original high-res image took too long to load. You may want to try it. It certainly would look better (if it loads).
Regards,
Hasso

[SIZE="2"]Server: NPVR 2.2.6, Asus E35M1-M PRO motherboard, 2 x 2GB DDR-1333 memory, 1 x 1.5TB SATA Samsung HD, 2 x 2TB SATA Seagate Green HD, 1 x Hauppauge HD4400, 2 x Hauppauge Nova T 500, Windows 7 Home.
Clients: EGreat M34A with MVPMCX2; HDX1000 with MVPMCX2 and internal 2TB SATA Seagate Green HD.[/SIZE]
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,930
Threads: 956
Joined: May 2006
#10
2011-08-12, 12:23 AM
Background images on the NMT should actually be 1280x720 or less. I was using this one for a while http://img188.imageshack.us/img188/1282/...ehires.jpg and the speed wasn't bad.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can NMT start with Recording screen? zaldwaik 1 2,372 2012-05-11, 02:45 AM
Last Post: mvallevand
  USB and index.htm soccerdad 5 2,161 2011-07-24, 01:58 AM
Last Post: soccerdad
  Can't start GBPVR mvallevand 0 1,551 2010-05-10, 04:45 PM
Last Post: mvallevand
  Start and end time -25:-49:-45 on PCH, but looks OK on PC client Sheik Yerbouti 59 16,864 2010-03-02, 04:54 PM
Last Post: mvallevand
  Dummies guide to installing mvpmc2 mvallevand 4 44,412 2010-01-16, 11:08 PM
Last Post: mvallevand
  Can't play recordings - followed the dummies guide Esteban 20 6,126 2010-01-15, 11:15 PM
Last Post: mvallevand
  index.htm & CSI web service wndrbear 6 2,568 2009-11-30, 11:10 PM
Last Post: wndrbear
  Too stupid for the dummies guide: Request cannot be proccessed cjohns38 34 9,192 2009-10-27, 04:07 AM
Last Post: mvallevand
  index.htm question soccerdad 8 2,870 2009-09-27, 11:56 PM
Last Post: roy
  Dummies Guide Problems stoenjes 12 5,308 2008-12-20, 04:39 AM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode