Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: nefkho on June 03, 2008, 03:37:40 AM

Title: wake on lan from sme 7.3
Post by: nefkho on June 03, 2008, 03:37:40 AM
Hi,

i have sme 7.3 and wanted it to wake-up my other pc, anyone knows how?

SME 7.3 ------> wake up lan ------ w2k3

thanks,
Title: Re: wake on lan from sme 7.3
Post by: thomasch on June 03, 2008, 05:23:52 AM
Hi,

i have sme 7.3 and wanted it to wake-up my other pc, anyone knows how?

SME 7.3 ------> wake up lan ------ w2k3

thanks,

nefkho,

If you do search this forum first, you will find this topic discussed:

http://forums.contribs.org/index.php?topic=39268.msg179356#msg179356

thomas
Title: Re: wake on lan from sme 7.3
Post by: nefkho on June 03, 2008, 07:01:25 AM
Thanks,

i have dl it and tried wol -host=XXX.XXX.X.X YY:YY:YY:YY:YY:YY

where X is the ip and Y is the mac address and nothing happens, i tried from xp machine nat the w2k3 wake up no problem any idea?

thanks,

i plan to have a script run on a shceduled time to start the w2k3 from sme7.3 since my sme7.3 runs 24x7.
Title: Re: wake on lan from sme 7.3
Post by: thomasch on June 03, 2008, 07:27:06 AM
i plan to have a script run on a shceduled time to start the w2k3 from sme7.3 since my sme7.3 runs 24x7.

To automatically power on your W2K everyday you can use automatic power on/scheduler from motherboard BIOS setup.
Then to shutdown automatically maybe you can use this free software:
 http://www.geocities.com/pbornet/autoclose.htm (http://www.geocities.com/pbornet/autoclose.htm)

However this is how I run wol on SME server :

Code: [Select]
wol XX:XX:XX:XX:XX:XX
XX:XX:XX:XX:XX:XX is the MAC  address.


thomas
Title: Re: wake on lan from sme 7.3
Post by: jokiin on August 16, 2009, 08:02:02 AM
nefkho,

If you do search this forum first, you will find this topic discussed:

http://forums.contribs.org/index.php?topic=39268.msg179356#msg179356

thomas

anyone know if there is an updated version of this (or something else even) that will work with a 7.4 server, looking for something I can login to my server remotely and wake up a machine on the lan, tried this it it doesn't work for me, have searched all through the forums and everything seems out of date, any ideas?
Title: Re: wake on lan from sme 7.3
Post by: Igi2003 on August 17, 2009, 09:05:30 AM
Install ethtool on SME, there is an WOL Client ether-wake in this Package.
ether-wake XX:XX:XX:XX:XX:XX (Mac Adress)

regards
Title: Re: wake on lan from sme 7.3
Post by: jokiin on August 17, 2009, 09:12:56 AM
Install ethtool on SME, there is an WOL Client ether-wake in this Package.
ether-wake XX:XX:XX:XX:XX:XX (Mac Adress)

regards

any idea where to find this package, don't seem to turn up any info on this site when searching ethtool and not a lot (not much that is recent at least) in Google either
Title: Re: wake on lan from sme 7.3
Post by: Igi2003 on August 17, 2009, 07:22:00 PM
Yes, you can find this on Sourceforge

http://sourceforge.net/projects/gkernel/files/ethtool/6/ethtool-6.tar.gz/download (http://sourceforge.net/projects/gkernel/files/ethtool/6/ethtool-6.tar.gz/download)

For this package you need kernel-devel and gcc-c++ compiler installed

regards
Title: Re: wake on lan from sme 7.3
Post by: Stefano on August 17, 2009, 07:48:11 PM
jokiin:
you can find it with google.. download the rpm from
ftp://mirror.switch.ch/pool/3/mirror/centos/4.7/os/i386/CentOS/RPMS/ethtool-6-1.i386.rpm

Igi2003: please don't give solutions that imply compilation as there are many repositories where to find rpms
generally speaking, compiling is not needed on centos/SME

Stefano
Title: Re: wake on lan from sme 7.3
Post by: jokiin on August 18, 2009, 12:19:41 AM
jokiin:
you can find it with google.. download the rpm from
ftp://mirror.switch.ch/pool/3/mirror/centos/4.7/os/i386/CentOS/RPMS/ethtool-6-1.i386.rpm

Igi2003: please don't give solutions that imply compilation as there are many repositories where to find rpms
generally speaking, compiling is not needed on centos/SME

Stefano

I did Google but wasn't clear exactly on what I was looking for, thank you very much for that though, appreciate your help :)
Title: Re: wake on lan from sme 7.3
Post by: jokiin on August 18, 2009, 02:29:15 AM
just for reference (in case anyone else comes looking) neither answer above was needed but it did lead to the result, ethtool is already installed (a stock install of one of the earlier versions 7.x that has been upgraded as the updates have been released) so I would assume it's a default package these days, either way it's working so I now have access to boot my machine up when O/S which is what I needed