News:

Latest versions:
Server plugin: 0.5.1
MVP dongle: 0.5.2
Raspberry Pi client: 0.5.2
Windows client: 0.5.2-1

Main Menu

wake on lan with vomp

Started by pompase, August 17, 2006, 09:14:39

Previous topic - Next topic

pompase

Hello,
as I want to use the vomp as a station in my bedroom, but vdr is not always available, I implemented the wol feature to get my vdr started in case it is switch off. As I am a very lazy person I do not want to get up to the livingroom to watch TV or a recording. Therefore I implemented wol everytime the vomp is switched on. In case vomp lost its power it boots not directly from my vdr, but uses my server, that is always running. Currently it works for me. This means the ethernet address of the vdr is hardcoded.
But this is not the way it should be implemented. Currently my only idea how to get rid of this problem is to keep in memory what was the ethernet address of the last vdr that was connected and to use this one to send out the magic wol packet for. This means that atleast the first time vomp starts up it is necessary to have a running vdr. This avoids the need to input the pretty long ethernet address.
If you have any better ideas please send them to me.

Planned additions to the wol feature:
- shutdown vdr remotly
- add a sleep timer to shutdown vdr and vomp
Both additions imply that vdr does not shutdown in case there is a recording or any additional stuff

If there are any suggestions please report. As soon as wol is implemented cleanly with a useful way to set the ethernet address I will release a patch.  ;D

Harry

now THIS is a feature i've been waiting for.

sounds nice to me.
at the moment i'm using telephone equipment and
a good old "US Robotics Sportster Flash" to wake my
server remotely via telephone  ;D.
however... that's not a very convenient way.

any plans of making the current code available, even
though it would mean to hardcode the server MAC into VOMPclient?

as for your planned features:
can only judge from my environment/needs.
since i'm using the vdr-incorporated timeout/shutdown feature
i'd say there's no need for this feature in the VOMPclient.
the other one sounds nice.
i would extend the feature to
"- add a sleep timer to shutdown vdr and/or vompclient"

sleep timer would a bit tricky i can imagine. the user would have to be
able to stop/delete the sleep timer for whatever reason and to display
the remaining time.
a warning one minute (or so) prior to shutdown of the vompclient would
be nice.

i'm pretty certain "VOMPers" will like those new features.

cheers,
Harry

pompase

Hello Harry,
Quote from: Harry on August 17, 2006, 09:48:45
any plans of making the current code available, even
though it would mean to hardcode the server MAC into VOMPclient?
I think I will release a first shot at the beginning of next week. I will set a link in this forum.
Quote from: Harry on August 17, 2006, 09:48:45
as for your planned features:
can only judge from my environment/needs.
since i'm using the vdr-incorporated timeout/shutdown feature
i'd say there's no need for this feature in the VOMPclient.
the other one sounds nice.
i would extend the feature to
"- add a sleep timer to shutdown vdr and/or vompclient"
This sounds good. When I implement this the sole feature "shutdown vdr" is a side effect of that.

Thank you for your suggestions.

pompase


Harry

thanks mate,
also for the dongle  ;D ;D

will test tonight.
hopefully, if stable, this will make it's way into SVN.

cheers
Harry

Harry

works like a charm!
many thanks mate!

Harry

hello,

your WOL code still works like a charm  :).
i just want to quickly add that obviously the busybox code (now)
contains an "ether-wake" applet that could be used to do the trick.

well... this would only save a couple of lines in the code of the vompclient
binary and bloat busybox instead...

cheers
Harry

Chris

I have imported WOL support to vomp cvs. It will be in the next release.

Thanks pompase for the work.

Harry

thanks!

this means no more patching 4 me *gg*.

kv0s

Hi!

I've just searched at many different places - but nothing found ...


How can i apply the patches? Is there any new menu-entry for shutdown of the vdr-box? I can't see anything new ...

... how can i apply the patches to my vdr? must i instal a vomp-developing-enviroment?

Greetings, Kai

pompase

Quote from: kv0s on April 15, 2007, 20:40:28

How can i apply the patches? Is there any new menu-entry for shutdown of the vdr-box? I can't see anything new ...

... how can i apply the patches to my vdr? must i instal a vomp-developing-enviroment?


Hello Kai,
as long as you only want to use the wake on lan stuff you only have to patch the sources of the vomp hardware box. You apply the patches to the sources of the client, that runs in the vomp. This is only needed in case you want to create a dongle bin file of your own. In case it is sufficient for you to only have the wol functionality, you can also simply download the patched dongle.bin file provided at my homepage. Then you do not have to patch anything. It is only necessary in both scenarios to do modification at the vomp client's side.
There are no optical changes in the menu. It is only required to have the vdr running while you powerup your vomp-client. It then remembers the mac address of the vdr server as long as it is connected to the powerplug.

I hope this helped you out.

Matthias

In case you want to know more about patching have a look at "man patch" :-)