Topic: Wake on lan from chumby

Good morning

I have a chumby one since Christmas and it's an awesome device... now i want to wake on lan a computer.

i have ssh my chumby and now i want to know the command to wake on lan a computer on the same network. I've got the mac address
computer to computer...

thanks you

Re: Wake on lan from chumby

There is another thread which deals with this topic:

http://forum.chumby.com/viewtopic.php?id=3807

Re: Wake on lan from chumby

i saw it but there is no answer for how to

so i ask again, i try find a simple way to wol a computer...

Re: Wake on lan from chumby

It occurs to me that there is now a full version of bash installed, so you might be able to do something like:

/bin/bash -c 'cat magicpacket > /dev/udp/192.168.1.255/9999'

Re: Wake on lan from chumby

Thanks for you reply

I'm no use with linux programmation so i don't know how create the magic packet to wol the computer and use the bash command

can you help me for that

thank you

Re: Wake on lan from chumby

WOL packet

Re: Wake on lan from chumby

You can try with this file:
http://piel.alex.free.fr/download/chumby/bin/wakelan

Have fun ;-)

Re: Wake on lan from chumby

thanks Apiel

i download your file but know what i suppose to do?

copy this file on chumby? where? or on usb?

how does it works?

Re: Wake on lan from chumby

Yeap, you put on the usb, after you connect with ssh and you execute the file: ./wakelan --help

And after say me if that's work because I havent try yet, I am not at home...

Have fun

Re: Wake on lan from chumby

YIPI that's works thanks a lot

i try different syntax but i found the right one

i need to go to usb path : cd /mnt/usb
and write :./wakelan -- 00:01:02:03:04:05 and.....................; the computer turn on youpi!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

now i think i 'll copy the wakelan file on /psp directory to remove the usb stick

thanks again...

Re: Wake on lan from chumby

Nice!! I am happy to heard this ;-)

Re: Wake on lan from chumby

that's works from usb stick but if i put the wakelan file on storage or othe directory on chumby i have this message : -ash ./wakelan: Permission denied

How can i put the file on chumby without usb stick?

thanks

Re: Wake on lan from chumby

It probably isn't marked as executable.  Run this first:

chmod a+x wakelan

Re: Wake on lan from chumby

thanks that's works great

Apiel can you tell me how you make your file please, i want to understand what i do...

Re: Wake on lan from chumby

big_smile
It's very easy wink

(First you need to install the toolchain)

After doanload wakelan-1.1.tar.gz I dont remember where smile and extract.
And ./configure --host=arm-linux --prefix=/usr/arm-linux

But If I remember, this step dont take care about the host parameter then I have
edited the file Makefile
replace CC=gcc by CC=arm-linux-gcc I think it's the only thing to change.
And you finish by a: make

That's all smile

You should try wink you will see, it's realy not difficult...

Have fun

Re: Wake on lan from chumby

this looks cool, any idea how to trigger the sending of the WOL packet once the alarm goes off / the alarm is turned off?

Re: Wake on lan from chumby

You can have a script that gets run when an alarm goes off, and that script can call the wake-on-LAN program.  See http://wiki.chumby.com/mediawiki/index. … rm_actions

Re: Wake on lan from chumby

Funny idea but at the end I am sure you can also do this function directly in the BIOS of your computer wink So Have fun