Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

wake up an other pc with unraid

Featured Replies

Hi,

 

first post, first question :)

 

First let me say welcome, very nice forum, very nice software.

 

Is there any tool for unraid to wake up an other pc in the network. My unraid server is online 24/7 and i will wake up my pc with unraid like etherwake or something. Is there any chance ?

 

Thanks for answer.

 

Greets

Eisi

 

Here is a perl script you may use to wake on lan any computer on the same subnet by sending a Magig Packet. You should install perl packages (best using unMenu 1.3) and configure the target computer network interface (driver) to respond to such a Magic Packet.

wakeonlan.cfg

  • Author

@starcat

 

thx for your answer. But how could i use this cfg from the console. i have only a telnet access from outside of my home network.

 

Thanks again.

 

Greets

Eisi

 

Here is the ether-wake program compiled.

Install it on your flash.

 

I use /boot/custom/bin or /boot/bin

 

 

ether-wake.zip

@starcat

thx for your answer. But how could i use this cfg from the console. i have only a telnet access from outside of my home network.

 

This is not a cfg, it is a perl script. I had to append .cfg because I couln't attach it otherwise. Use the file command to check the filetype. Anyway, you just download and copy it somewhere, set execute permission and call from the the cmdline. If you call it without arguments, you will get a whole list of arguments and how to use it, it is quote powerful and can do WOL different ways.

  • Author

Hi,

 

sorry for late answer.

 

@WeeboTech

that was what i´m searching for, many thx

 

@starcat thx for your info but i´m a linux and perl noob and ether-wake is easy :)

 

Greets

Eisi

 

Hi,

that is what I was looking for but I don´t understand the usage of the files.

 

If I´m sending the array to S3 sleep via the unMENU button I can´t access the it through my SSH console. I also can´t access it via the web admin interface. I thought to include something into my user scripts of unMENU to ease the usage:

 

#define USER_SCRIPT_LABEL WOL
#define USER_SCRIPT_DESCR Wake up Array after S3 Sleep
#define USER_SCRIPT_TEST [  -x /boot/custom/ether-wake e0:cb:4e:42:22:13  ] && echo "WOL"
echo "<pre>"
/boot/custom/ether-wake e0:cb:4e:42:22:13

 

But this is bringing an error message - directly on the button of unMENU:

sh: line 0: [: /boot/custom/ether-wake: binary operator expected

 

What do I understand wrong? Thank you

Hi,

that is what I was looking for but I don´t understand the usage of the files.

 

If I´m sending the array to S3 sleep via the unMENU button I can´t access the it through my SSH console. I also can´t access it via the web admin interface. I thought to include something into my user scripts of unMENU to ease the usage:

 

#define USER_SCRIPT_LABEL WOL
#define USER_SCRIPT_DESCR Wake up Array after S3 Sleep
#define USER_SCRIPT_TEST [  -x /boot/custom/ether-wake e0:cb:4e:42:22:13  ] && echo "WOL"
echo "<pre>"
/boot/custom/ether-wake e0:cb:4e:42:22:13

 

But this is bringing an error message - directly on the button of unMENU:

sh: line 0: [: /boot/custom/ether-wake: binary operator expected

 

What do I understand wrong? Thank you

delete the MAC address from the "test" command.  You are only looking for the existence of the executable file in /boot/custom/ether-wake

(assuming that is where it is located)

 

It should look like this (with the text in RED removed):

#define USER_SCRIPT_LABEL WOL

#define USER_SCRIPT_DESCR Wake up Array after S3 Sleep

#define USER_SCRIPT_TEST [  -x /boot/custom/ether-wake e0:cb:4e:42:22:13  ] && echo "WOL"

echo "<pre>"

/boot/custom/ether-wake e0:cb:4e:42:22:13

Thanks Joe, that did the trick.

 

What it doesn´t is to send the WOL signal. If the array was sent to sleep you can´t reach it via unMENU - correct?

 

So it must something sent from any of the Mac's within the network I guess? I found some Windows programs but not a single one for Mac OS X.

 

Thank you very much.

Thanks Joe, that did the trick.

 

What it doesn´t is to send the WOL signal. If the array was sent to sleep you can´t reach it via unMENU - correct?

 

So it must something sent from any of the Mac's within the network I guess? I found some Windows programs but not a single one for Mac OS X.

 

Thank you very much.

Right, it is useless if your array is sleeping.

 

Perhaps the function you are looking for is built into the MAC

http://en.wikipedia.org/wiki/Apple_Remote_Desktop

It says it can send WOL packets to wake remote machines.

Mac hardware (OS X)

 

Modern Mac hardware features integrated Wake-on-LAN functionality, controlled via the OS X System Preferences Energy Saver panel, in the Options tab. Marking the Wake for Ethernet network administrator access checkbox enables Wake-on-LAN.

 

Apple's Apple Remote Desktop client management system can be used to send Wake-on-LAN packets, but there are also freeware and shareware Mac OS X applications available.

Spot on Joe!

 

Yes that is what I found in parallel but you were faster than me :-)

 

Thank you very much.

 

It´s working well, the array is starting except AFP. I need to check if this was a one time error.

 

Thanks again.

 

Cheers

Oliver

 

[EDIT: It´s working well. Re-checked and AFP is starting too]

Spot on Joe!

 

Yes that is what I found in parallel but you were faster than me :-)

 

Thank you very much.

 

It´s working well, the array is starting except AFP. I need to check if this was a one time error.

 

Thanks again.

 

Cheers

Oliver

 

[EDIT: It´s working well. Re-checked and AFP is starting too]

Which method did you use?  The built-in? or the freeware version I linked to?

From Mac OS X you may use the attached script to wake any computer on the same subnet. This is not a config file, rename to wakeonlan, set execute permission and run. Running it without arguments will print cmd line options.

 

Edit: This can be run on unRAID also as it is a simple perl script.

wakeonlan.cfg

From Mac OS X you may use the attached script to wake any computer on the same subnet. This is not a config file, rename to wakeonlan, set execute permission and run. Running it without arguments will print cmd line options.

 

Edit: This can be run on unRAID also as it is a simple perl script.

 

Joe may even integrate it into unMenu 1.3 in order to wakeup unraid if it is sleeping but gets accessed.

The program you linked generates WOL packets.  It could be used from a different PC with a perl interperter to send a WOL packet to an unRAID server with WOL enabled, but it could not be used from within the unRAID server to wake itself.  In the same way, it could be used to send a WOL packet from the unRAID server to any other PC on the same LAN.  Basically, no PC can send anything to itself if it is sleeping.

 

It is a VERY memory intensive program, unless you happen to already have perl installed and are using it for something else, there are far better solutions to send a WOL packet from the unRAID server.

 

Joe L.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.