Koozali.org: home of the SME Server

Wake On Lan

eric

Re: Wake On Lan
« Reply #15 on: December 18, 2002, 11:22:10 AM »
fisrt thx for your response !

when i try to decompress the file I have this message:

[root@adele files]# gzip -d ether-wake.gz
gzip: ether-wake.gz: not in gzip format

thx for you help

Eric

Bob

Re: Wake On Lan
« Reply #16 on: December 18, 2002, 11:25:43 AM »
Here is how I did it.

WOL how-to

login as root

first download the Scyld Wake-up program:

type from the hash prompt.

#wget ftp://ftp.scyld.com/pub/diag/ether-wake.c

once downloaded you must use the 'compile-command' at the end of file by typing the following:

#pico ether-wake.c

go to the end of the file and type:

compile-command

now use ctrl-X to exit when asked to save changes answer yes.

If you don't yet now the mac address of your windows PC go to a command prompt and type in:

IPCONFIG / ALL

You should see your MAC address of your card XX:XX:XX:XX:XX:XX

this will now work just by typing:

ether-wake XX:XX:XX:XX:XX:XX (being the mac address)

To make it easier you can write a shell script for each machine name to execute the command.

type the following to make the script file:

pico machine_name.sh (machine_name being your personal preference for the name the file will be called) now type:

ether-wake XX:XX:XX:XX:XX:XX (being the mac address)


now use ctrl-X to exit when asked to save changes answer yes.

now you need to set execute permissions on the file by typing the following:

chmod 755 file_name.sh

Type:

#./file_name.sh

Your PC should now boot.

Ian Wells

Re: Wake On Lan
« Reply #17 on: December 18, 2002, 11:28:29 PM »
Eric,  If you get

bash-2.05a$ gzip -d ether-wake.gz
gzip: ether-wake.gz: not in gzip format

then your web-browser may have decompressed the file for you.

try ls -l and you should get something very like
-rwxrw----    1 wellsi   shared      19270 Dec 18 20:20 ether-wake.gz

in which case just rename the file.

I didn't know that this happened

I have checked that downloaded file is identical to the uploaded file, and that it works (on my machine)

Of course - if you have got another RedHat box with gcc then I recommend building from source, as Bob demonstrated.

eric

Re: Wake On Lan
« Reply #18 on: January 10, 2003, 01:32:50 PM »
Hello Bob it's me again ;-))

I have follow your How to but after this point:

ether-wake XX:XX:XX:XX:XX:XX (being the mac address)


E-smith say me :

bash: ether-wake : command not found ....

all files are in a ibays....


do you_ now where is the probleme ??

thanks for you help again and happy new year !!

Eric

Bob

Re: Wake On Lan
« Reply #19 on: January 12, 2003, 01:40:27 PM »
Hi Eric,
Happy new year to you too.

I have put the files in the root of my e-smith, purely because when you log in you don’t have to navigate to any other directories.
Try going to your ibays where the file is located and execute it from there.
Hope this helps.

Regards,

Bob.