Author Topic: wake on lan query...  (Read 5558 times)

vvulture

  • Newbie
  • *
  • Posts: 12
    • View Profile
wake on lan query...
« on: October 02, 2007, 10:32:22 am »
Hi all...

Would anyone know if it is possible to WOL another PC from within LMCE ?

What i am after is perhaps a button you can click on to wake up the PC in question.

The reason i ask, is because i have a server which is only used for about 2 hrs a day at most, and would be silly to have it sit there running for no reason the rest of the time.

The core server will be on 24/7, but the other ( media ) server need not be.

Any one know how i could achieve this ?   btw..  i know nothing about linux.  I am hopefully migrating over soon.

Thank you

vvulture

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: wake on lan query...
« Reply #1 on: October 03, 2007, 12:22:31 pm »
anyone ???    :(

PeteK

  • Guru
  • ****
  • Posts: 408
    • View Profile
Re: wake on lan query...
« Reply #2 on: October 03, 2007, 04:06:33 pm »
I'm not 100% sure about your question, but I'll go ahead and answer.  While obviously you're going to need the core/hybrid running at all times to have DHCP and the other functionality, you can shut down all the Media  Directors (thin clients) and wake them up as needed via WOL (assuming your MD supports it).  As far as NASs go, I don't think the WOL functionality has been extended to support those.  I don't even know if most of those even support WOL.  But if you are using a PC as a NAS, it might not work out of the box, but it sounds doable.

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: wake on lan query...
« Reply #3 on: October 03, 2007, 05:44:07 pm »
Hi all...

Would anyone know if it is possible to WOL another PC from within LMCE ?

What i am after is perhaps a button you can click on to wake up the PC in question.

The reason i ask, is because i have a server which is only used for about 2 hrs a day at most, and would be silly to have it sit there running for no reason the rest of the time.

The core server will be on 24/7, but the other ( media ) server need not be.

Any one know how i could achieve this ?   btw..  i know nothing about linux.  I am hopefully migrating over soon.

Thank you

Hi,

I think I promised to get back to you on this sorry!

From the command line type;

etherwake <mac-address of device> or even moonID (for MD/PC's)

try;

man etherwake

for more info. This will send a 'magic packet' to the device targeted and as long as that device has the bios & Network interface options to do WOL then your in business. Obviously you could build some scripts to make this work more slickly and also trigger those scripts based on other events or even time of day etc etc.

Hope this helps

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

vvulture

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: wake on lan query...
« Reply #4 on: October 04, 2007, 10:43:31 am »
I'm not 100% sure about your question, but I'll go ahead and answer.  While obviously you're going to need the core/hybrid running at all times to have DHCP and the other functionality, you can shut down all the Media  Directors (thin clients) and wake them up as needed via WOL (assuming your MD supports it).  As far as NASs go, I don't think the WOL functionality has been extended to support those.  I don't even know if most of those even support WOL.  But if you are using a PC as a NAS, it might not work out of the box, but it sounds doable.

thanks pete..
i am in fact using a PC as a server...  i shouldn't say NAS because it's innacurate.
I am a current Media Portal user, but wish to try LMCE..  From within MP, i can select the server and click " WAKE UP ". This sends a WOL packet to the server.

I am looking at being able to do the same thing from within LMCE .

Currently, the server is running Windows Home Server, which i would like to keep.  It's actually a decent piece of software.


Anyway, thanks for the help..   :-)

vvulture

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: wake on lan query...
« Reply #5 on: October 04, 2007, 10:46:17 am »


Hi,

I think I promised to get back to you on this sorry!

From the command line type;

etherwake <mac-address of device> or even moonID (for MD/PC's)

try;

man etherwake

for more info. This will send a 'magic packet' to the device targeted and as long as that device has the bios & Network interface options to do WOL then your in business. Obviously you could build some scripts to make this work more slickly and also trigger those scripts based on other events or even time of day etc etc.

Hope this helps

Andrew

Thanks for the reply Andrew..
I sorta understand what you are saying, but again i know only just enought to install LMCE and get it running...   beyond that i am about as usefull as tits on a bull...    so as far as scripst are concerned, it's way out of my scope..

but anyway, thank you for trying..    :-)