rhel 4 linux WOL wake on lan


 
Thread Tools Search this Thread
Operating Systems Linux rhel 4 linux WOL wake on lan
# 1  
Old 02-17-2009
rhel 4 linux WOL wake on lan

Hi guys,

Two boxes on the same .23 subnet 192.168.1.x
The box I wanted to shutdown and restart remotely
went down, but didn't come back up when I used ether-wake 00:11:22:etc:etc:
The sleeper has two nics, but only one with cable. I configured both nics to wake on lan using the g option.
The sleeper is an IBM 336

I thought I'd setup the remoteMachine, by using ethertool to set Wake-on to g, which is supposed to mean it'll repond to the MagicPacket.

The thing is, I wasn't able to get a monitor onto the sleeper, or a keyboard,
so I had to pull the power cable to get it backup. Not great you'll agree.

So, with the above information in mind, where would you start in order to figure out why my ether-wake isn't waking the sleeper?

I even modifed the sleepers /etc/init.d directory so that it contains an executable file called wol.sh, but as the sleeper didn't reboot, I'm not sure that even worked. Do I have to do something with chkconfig so that my ethtool tweak is persistent?

Many questions, any help, as always, is very much appreciated.

The reason I'm doing this:
We have an electricity bill we'd like to reduce.
Is using wake on lan a good idea, or something to be avoided.
I'm looking for the voice of experience, to help me stand on the shoulders of giants.

Last edited by Bloke; 02-18-2009 at 08:14 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Red Hat

PC cannot reach two lan card Linux box

we have red hat 6 linux box There are two lan card one lan card eth0 have ip 10.82.190.31/24 GW 10.82.190.254 2th lan card eth1 have ip 10.82.188.33/24 GW 10.82.188.254 I have below route ... I use two route table root@xxx# netstat -rn Kernel IP routing table Destination Gateway ... (5 Replies)
Discussion started by: chuikingman
5 Replies

2. UNIX for Dummies Questions & Answers

Trouble Configuring Wake On Lan

As the title implies I'm having trouble setting up Wake-On-LAN with my Debian box. Here is the output from ethtool and my /etc/network/interfaces: # cat /etc/network/interfaces # /etc/network/interfaces - configuration file for ifup(8), ifdown(8) # The loopback interface auto lo iface lo... (2 Replies)
Discussion started by: Azrael
2 Replies

3. IP Networking

Local Lan, no-ip directed DNS forward, surf within lan

Hi, We have a website running on a local centos 5.4 surfer, static IP. The domain.com uses no-ip.com to take care of the DNS, it forwards all to my server. My router receives the port 80 call, routes it to my server and the world can see domain.com perfectly fine. However, we cannot see... (3 Replies)
Discussion started by: lawstudent
3 Replies

4. UNIX for Dummies Questions & Answers

Linux Device Driver: how can an ISR wake up a user-thread?

Hi all, Is it possible to do the following in Linux (kernel 2.6.x): - A user-space thread goes to "sleep". Using any call/mechanism - On a hardware generated interrupt, the Interrupt handler (ISR) "wakes" the sleeping user-thread. I have seen wait_event() and wake_up() but it appears... (1 Reply)
Discussion started by: agaurav
1 Replies

5. Solaris

How to configure private LAN and coporate LAN on the same machine-Solaris10

Hi , I am trying to configure a private LAN and corporate LAN on the same machien on Solaris 10. How can I achieve this? Thanks (1 Reply)
Discussion started by: deedee
1 Replies

6. Shell Programming and Scripting

Wake on LAN script

m old to Unix but new to scripting I have a MacBook running osx that I want to use as an nfs client. The server will be a linux box with a wake on lan card. Here's the idea. Run a cron command on the mac every minute that checks if I am on my home wireless network (the linux box is wired to... (6 Replies)
Discussion started by: anon0mus
6 Replies

7. UNIX for Advanced & Expert Users

Wake on Lan script

Im old to Unix but new to scripting I have a MacBook running osx that I want to use as an nfs client. The server will be a linux box with a wake on lan card. Here's the idea. Run a cron command on the mac every minute that checks if I am on my home wireless network (the linux box is wired to... (0 Replies)
Discussion started by: anon0mus
0 Replies
Login or Register to Ask a Question
condor_power(1) 					      General Commands Manual						   condor_power(1)

Name
       condor_power send - packet intended to wake a machine from a low power state

Synopsis
       condor_power [-h]

       condor_power[-d] [-m MACaddress] [-s subnet] [ClassAdFile]

Description
       condor_powersends  one UDP Wake on LAN (WOL) packet to a machine specified either by command line arguments or by the contents of a machine
       ClassAd. The machine ClassAd may be in a file, where the file name specified by the optional argument ClassAdFileis given  on  the  command
       line. With no command line arguments to specify the machine, and no file specified, condor_powerquietly presumes that standard input is the
       file source which will specify the machine ClassAd that includes the public IP address and subnet of the machine.

       condor_powerneeds a complete specification of the machine to be successful. If a MAC address is provided on the command line, but no subnet
       is  given,  then  the  default value for the subnet is used. If a subnet is provided on the command line, but no MAC address is given, then
       condor_powerfalls back to taking its information in the form of the machine ClassAd as provided in a file or on standard input.	Note  that
       this case implies that the command line specification of the subnet is ignored.

Options
       -h

	  Print usage information and exit.

       -d

	  Enable debugging messages.

       -m MACaddress

	  Specify the MAC address in the standard format of six groups of two hexadecimal digits separated by colons.

       -s subnet

	  Specify  the subnet in the standard form of an IP address. Without this option, the default subnet used will be 255.255.255.255, causing
	  a broadcast.

Exit Status
       condor_powerwill exit with a status value of 0 (zero) upon success, and it will exit with the value 1 (one) upon failure.

Author
       Condor Team, University of Wisconsin-Madison

Copyright
       Copyright (C) 1990-2012 Condor Team, Computer Sciences Department, University of  Wisconsin-Madison,  Madison,  WI.  All  Rights  Reserved.
       Licensed under the Apache License, Version 2.0.

       See the Condor Version 7.8.2 Manualor http://www.condorproject.org/licensefor additional notices. condor-admin@cs.wisc.edu

								  September 2012						   condor_power(1)