LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-12-2008, 07:20 AM   #1
pkhera_2001
Member
 
Registered: Mar 2006
Location: New Delhi, India
Distribution: Fedora, CentOS, RHEL, Ubuntu
Posts: 67

Rep: Reputation: 18
Needed help to setup Wake on Lan Feature on Rhel ws4.0 installed on Dell OptiPlex 620


Hi All!

I have been looking to enable WOL(Wake on Lan) Feature on Rhel WS4.0 Installed on Dell OptiPlex 620 Desktops.
Here are the details:
We have a lab of consisting 30 Desktop's out of which 18 are as per above mentioned configuration. Now we have an requirement to enable WOL feature so that user's can wake up these machines in the morning and if there is not activity on the systems for 2 hours then these systems shall get powered down itself. All users have direct access to the Lab Vlan (192.168.212.X/24) so sending any packet to this vlan shall not be any issue.
I can immediately provide the further required information, kindly help me get it resolved.

Regards,
Parveen Khera
pkhera_2001@rediffmail.com
 
Old 02-12-2008, 12:20 PM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
WOL is a feature that is generally activated in your bois rather than the os.
 
Old 02-12-2008, 10:50 PM   #3
pkhera_2001
Member
 
Registered: Mar 2006
Location: New Delhi, India
Distribution: Fedora, CentOS, RHEL, Ubuntu
Posts: 67

Original Poster
Rep: Reputation: 18
Thanks for the inputs

Hi Lazlow!

I know that it's a feature of Hardware(Mainboard supporting this feature)and the machines i mentioned support WOL.

I have found perl package that can be used to send Magic Packet (ARP Protocol)to wake up a machine supporting Wol:
http://gsd.di.uminho.pt/jpo/software/wakeonlan/

Further this script (through Cron jobs) is going to power down the machine if there is not user process running since last 2 hours:

"bash -c "for uid in \`ps -eo uid --no-heading\`; do [[ $uid -ge 500 ]] && /sbin/shutdown -c && exit ; done || /sbin/shutdown -h +120""

I have to test some scenarios on it, like if a user is connected through SSHD or VNC but not working then what to do ...?

I would like to have some inputs on this...

Another task we have under consideration is that if we can use Hibernation in Linux to bring up the machine in minimum time and machines don't need to shutdown completely.

Thanks & Regards,
Parveen Khera

Last edited by pkhera_2001; 02-12-2008 at 10:54 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
10.2 OpenSUSE on a Dell Latitude 620- Cant get 1440x900 resolution zzzbk2002 SUSE / openSUSE 4 08-15-2007 03:49 PM
wake on lan magic packet does not wake. albean Linux - Networking 1 06-30-2007 03:57 PM
RHEL WS4 's Novell Connection Is it possible? Netware 5.00 vipul_patel Linux - Enterprise 21 05-29-2007 06:36 AM
Uninstalling GNOME under RHEL WS4 gotang Red Hat 3 10-28-2006 03:14 PM
RHEL WS4: change installation path ghee22 Red Hat 2 01-10-2006 09:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration