NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 … 32 33 34 35 36 … 56 Next »
Wake your pvr Web Site

 
  • 0 Vote(s) - 0 Average
Wake your pvr Web Site
BobBuilder
Offline

Member

Posts: 85
Threads: 18
Joined: Jul 2005
#1
2006-05-29, 09:47 AM
On a couple of occasions Ive been away from home and wanted to shedule a recording but couldnt as my pvr was on standby.

I spent some time looking at wol and found a few useful cmd line driven tools and 1 good website which allowed u to type in your mac address and send a wol packet.
I liked the website method as It meant you didnt have to download a small wol app so could use it in more places.

The web method meant I had to have the mac address details to hand all the time so I decided to put a very very basic website together to send the packets and contain a link to my pvr web admin page.

I imagine every one who needs such a thing will already have somthing setup but I thought Id post it in case anyone found it useful.

You need a web hosting service which has perl scripting enabled, my ISP dosent give me scripting for free so Im using http://www.freehostia.com and am quite happy with the service, and very happy with the price Smile

Im no expert on wol over the internet but have managed to get it working so will answer what questions I can.

Anyway here is a zip of the site, if anyone is interested in "tarting" it up that would be great, maybe it will make a worth addition to the wiki... Smile

I have an initial "home" page which links to the wake page which is under a different directory so I can set a login password, the wol packet is built with a very simple perl script, I also have a simple form for selecting multiple machines.

Anyway I hope someone finds it useful in some way.
stefan
Offline

Posting Freak

Posts: 3,116
Threads: 81
Joined: Oct 2004
#2
2006-05-29, 09:54 AM
Cool. I've been thinking (very vaguely) about something like that, but never got around to actually doing anything about it. Now, since there is quite a good starting point thank's to you, I might actually get around to doing something about it Big Grin
I'm not always right
GB-PVR 1.2.9
Accent HT-400 Case, AMD Athlon 64 3800+ 1024MB, 1TB+300GB+180GB, WinXP Pro-SP2, NVidia 7600GT
Nova-T USB2, PVR-350 recording from Dilog 355 DVB-T box, USB-UIRT (receiving & transmitting)
betlit
Offline

Senior Member

Posts: 449
Threads: 17
Joined: Feb 2005
#3
2006-05-29, 10:23 AM
sorry for the (little) off topic post, but i tried to do something similair... my pvr is not 'directly' connected to the internet in i don't have some port forwarding enabled to it.
instead port 80 of my router is forwarded to a machine with an apache on it (i would not be able to sleep with a iis/.net-whatever-server directly accessable from outside).
the apache has a (password protected) virtual subdir which acts as a reverse proxy to the real pvr.

i wanted to be able to wake up the pvr machine by a perl script sending the magic package.
turns out i do not have to do this... somehow my pvr machine wakes up from _hibernation_ on _any_ incomming traffic (e.g. a simple ping to the machine or trying to access the webguide).
AMD 1600mHz, 512 M RAM, 20+160 GB drive, Hauppauge PVR-350 + PVR-150 + PVR-150MCE, Win XP Pro SP3, using software decoding.


There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.

There is another theory which states that this has already happened.

(The Restaurant at the End of the Universe)
stefan
Offline

Posting Freak

Posts: 3,116
Threads: 81
Joined: Oct 2004
#4
2006-05-29, 10:34 AM
I have never tried that. That means that the simplest form that might work would be to have port forwarding to port 7648, and "allow this device to wake computer" on the network card. At least easy enough to try.
I'm not always right
GB-PVR 1.2.9
Accent HT-400 Case, AMD Athlon 64 3800+ 1024MB, 1TB+300GB+180GB, WinXP Pro-SP2, NVidia 7600GT
Nova-T USB2, PVR-350 recording from Dilog 355 DVB-T box, USB-UIRT (receiving & transmitting)
betlit
Offline

Senior Member

Posts: 449
Threads: 17
Joined: Feb 2005
#5
2006-05-29, 11:16 AM
stefan Wrote:I have never tried that. That means that the simplest form that might work would be to have port forwarding to port 7648, and "allow this device to wake computer" on the network card. At least easy enough to try.
'allow this device to wake computer' sounds like winxp config... i was not aware that there is something like that (just checked the bios settings so far).

if this is the case i will _deactivate_ it. my pvr sometimes wakes up when no recording is due.. i guess one of my compies in the lan has the habit to check the network neighbourhood or something...
AMD 1600mHz, 512 M RAM, 20+160 GB drive, Hauppauge PVR-350 + PVR-150 + PVR-150MCE, Win XP Pro SP3, using software decoding.


There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.

There is another theory which states that this has already happened.

(The Restaurant at the End of the Universe)
stefan
Offline

Posting Freak

Posts: 3,116
Threads: 81
Joined: Oct 2004
#6
2006-05-29, 11:19 AM
Yes, that is usually a problem you get when you set "allow device to wake computer" on a network card... Sad
I'm not always right
GB-PVR 1.2.9
Accent HT-400 Case, AMD Athlon 64 3800+ 1024MB, 1TB+300GB+180GB, WinXP Pro-SP2, NVidia 7600GT
Nova-T USB2, PVR-350 recording from Dilog 355 DVB-T box, USB-UIRT (receiving & transmitting)
BobBuilder
Offline

Member

Posts: 85
Threads: 18
Joined: Jul 2005
#7
2006-05-29, 12:24 PM
If you "allow this device to bring the computer out of standby" any ping or any other type of network traffic will wake the machine, I find this is too sensitive in that the machine will constantly wake up.

On Winxp, there is a further checkbox of "Only allow management stations to bring the machine out of standby".
With this box checked the machine only wakes when the specifc magic packet is sent.
The macig packet is simply the mac address repeated 16 times in a udp packet.

As far as leaving the machine exposed is concerned, I only leave a specific UDP port open forwarding to that machine (pluss the http port to allow web sheduling). I also run a software firewall so Im not that worried, I would rather run this small risk that leave a machine on using power 24/7.



Bob
BobBuilder
Offline

Member

Posts: 85
Threads: 18
Joined: Jul 2005
#8
2006-05-29, 12:29 PM
Just to clarify with it set this way my machine never wakes up when it shouldnt, it only wakes up for a recording or when I deliberatly send a magij packet.

The page that sends the packet is also password protected to ensure Im the only one sending the packets.

Bob
BobBuilder
Offline

Member

Posts: 85
Threads: 18
Joined: Jul 2005
#9
2006-05-29, 12:33 PM
I should also mention, I think the options available for wol under XP such as restricting to specific magic packets in the way Ive mentioed will depend on the network card and the level of wol support.

All my machines support this option, but if u dont see it at your end then I guess your network card dosent support it.
David
Offline

Senior Member

Posts: 435
Threads: 18
Joined: Oct 2005
#10
2006-05-29, 03:27 PM
betlit Wrote:sorry for the (little) off topic post, but i tried to do something similair... my pvr is not 'directly' connected to the internet in i don't have some port forwarding enabled to it.
instead port 80 of my router is forwarded to a machine with an apache on it (i would not be able to sleep with a iis/.net-whatever-server directly accessable from outside).
the apache has a (password protected) virtual subdir which acts as a reverse proxy to the real pvr.

i wanted to be able to wake up the pvr machine by a perl script sending the magic package.
turns out i do not have to do this... somehow my pvr machine wakes up from _hibernation_ on _any_ incomming traffic (e.g. a simple ping to the machine or trying to access the webguide).

Would you be willing to share more details. I mave tried reverse proxy through my apache box, but always get a 'Bad Gateway' error message. My apache experience is limited, but I do have the Popfile web admin working via reverse proxy.

On the other hand, Sub has calmed most of my fears by assuring me that the .net web server is not IIS, and not subject to all the vulnerabilities that it has. The web admin also seems to use reasonable security, though I wouldn't mind figuring out how to password protect and SSL the connection.
David

PVR PC: Win2K3, Athlon x2 64 4600+, 1280MB Ram, 40+400 GB HD's, Gigabyte Network
PVR-250, ATSC-110 digital x2, GBPVR v1.3.7 w/SQLite DB
Extras: Addepisode 41, Comskip 79.46, EWA 76, Zaptools

DSM-520 (D-Link Media Lounge) FW 1.04 using TVersity Media Server 0.9.11.4
DSM-320 (D-Link Media Lounge) FW 1.09
MediaMVP

More specs
« 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
  Possible infection found on GBPVR site? suddste 40 13,331 2008-10-21, 01:06 AM
Last Post: sub
  GBPVR main site down? ptyler13 4 2,181 2006-09-30, 03:06 AM
Last Post: sub
  New GB-PVR web site design Mister Slimm 13 4,251 2006-07-21, 09:45 PM
Last Post: ccsnet
  The Collection web site is back Old Dog 0 1,043 2005-11-26, 06:38 PM
Last Post: Old Dog

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

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

Linear Mode
Threaded Mode