View previous topic :: View next topic |
Author |
Message |
ColeSlaw Apprentice
Joined: 19 Sep 2003 Posts: 176 Location: Kearney, NE USA
|
Posted: Fri Jul 11, 2008 1:39 am Post subject: WOL (Wake on Lan), an easier way? |
|
|
I have a setup with a main server and several other boxes. (MythTV) I have just finished setting up WOL following the guide at gentoo-wiki. Is there a good way to wake up an individual computer without having to remember it's MAC address? I'm thinking there must be some way to put them in a file somewhere and wake them up by using the host name or something? Perhaps I need to write a script to achieve this? I was considering writing a script that would wake whichever computer I told it, or could be setup to wake all the computers. Anything like that already available?
Any ideas out there?
Thanks for any help or suggestions you may have. _________________ My Folding@home Stats!
Join the GLUE folding Team! |
|
Back to top |
|
|
think4urs11 Bodhisattva
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Fri Jul 11, 2008 6:35 am Post subject: |
|
|
how about using aliases in ~/.bashrc?
Code: | alias power2foo='wakeonlan 00:de:ad:be:ef:00'
alias power2bar='wakeonlan 00:11:22:33:44:55'
alias power2baz='wakeonlan 66:77:88:99:aa:bb'
alias power2all='power2foo ; power2bar ; power2baz' |
_________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|