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..
7 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
2. Shell Programming and Scripting
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
3. Solaris
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
4. UNIX for Dummies Questions & Answers
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. IP Networking
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
6. UNIX for Dummies Questions & Answers
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
7. Red Hat
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
LEARN ABOUT DEBIAN
etherwake
ETHERWAKE(8) System Manager's Manual ETHERWAKE(8)
NAME
etherwake - A tool to send a Wake-On-LAN "Magic Packet"
SYNOPSIS
etherwake [options] Host-ID
DESCRIPTION
This manual page documents the usage of the ether-wake command.
etherwake is a program that generates and transmits a Wake-On-LAN (WOL) "Magic Packet", used for restarting machines that have been soft-
powered-down (ACPI D3-warm state). It generates the standard AMD Magic Packet format, optionally with a password included. The single
required parameter is a station (MAC) address or a host ID that can be translated to a MAC address by an ethers(5) database specified in
nsswitch.conf(5)
OPTIONS
etherwake needs a single dash ('-') in front of options. A summary of options is included below.
-b Send the wake-up packet to the broadcast address.
-D Increase the Debug Level.
-i ifname
Use interface ifname instead of the default "eth0".
-p passwd
Append a four or six byte password to the packet. Only a few adapters need or support this. A six byte password may be specified in
Ethernet hex format (00:22:44:66:88:aa) or four byte dotted decimal (192.168.1.1) format. A four byte password must use the dotted
decimal format.
-V Show the program version information.
EXIT STATUS
This program returns 0 on success. A permission failures (e.g. run as a non-root user) results in an exit status of 2. Unrecognized or
invalid parameters result in an exit status of 3. Failure to retrieve network interface information or send a packet will result in an
exit status of 1.
SEE ALSO
arp(8).
SECURITY
On some non-Linux systems dropping root capability allows the process to be dumped, traced or debugged. If someone traces this program,
they get control of a raw socket. Linux handles this safely, but beware when porting this program.
AUTHOR
The etherwake program was written by Donald Becker at Scyld Computing Corporation for use with the Scyld(tm) Beowulf System.
Scyld March 31, 2003 ETHERWAKE(8)