WOL after Update to Amahi 7

rdagijones
Posts: 274
Joined: Thu Jan 26, 2012 7:56 am

WOL after Update to Amahi 7

Postby rdagijones » Fri Jul 18, 2014 10:46 am

I just realized that Wake-on-lan is not where I use to find it since I upgraded to Amahi 7. Can someone tell me where it is located? I use to assign static IPs to client computers on the Dashboard under Network > Fixer IPs and then the WOL link was under each computer. How do I use WOL on Amahi 7?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: WOL after Update to Amahi 7

Postby bigfoot65 » Fri Jul 18, 2014 5:38 pm

That feature was left out of Amahi 7. Not sure if it was due to lack of popularity or for another reason. It was not a widely used function that I am aware.

Not sure how you can use it now other than via command line or an application installed on a client.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

rdagijones
Posts: 274
Joined: Thu Jan 26, 2012 7:56 am

Re: WOL after Update to Amahi 7

Postby rdagijones » Sat Jul 19, 2014 1:50 am

It is very helpful for Remote Desktop. Here is the challenge: If computers in my network are set to sleep while one is away (saves a bit of energy in a good-sized office) one has to wake them before RDP is possible. That is how I used WOL. Perhaps there is another solution out there. Any suggestions?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: WOL after Update to Amahi 7

Postby bigfoot65 » Sat Jul 19, 2014 6:55 am

I understand the use, just not sure how you can implement it with Amahi 7. Command line is not ideal in your case, so maybe there is a web solution on the internet somewhere.

Recommend you do some research and maybe we can create an app or plug-in for it.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

rdagijones
Posts: 274
Joined: Thu Jan 26, 2012 7:56 am

Re: WOL after Update to Amahi 7

Postby rdagijones » Sat Jul 19, 2014 3:12 pm

I found this fun little piece of Java software (http://sourceforge.net/projects/guijavawol/) that could be used as an extension for OpenVPN ALS, I think. Problem is to make an extension one has to write an .xml file and package the program properly to upload it to OpenVPN ALS. I cannot seem to find a simple explanation for the .xml config file. My xml is horrible and java non-existent. If I, or anyone else for that matter, gets anywhere with it I will post here.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: WOL after Update to Amahi 7

Postby bigfoot65 » Sat Jul 19, 2014 3:30 pm

Nothing can ever be easy.

I did submit a feature request for a plugin to be built to provide the WOL capability. It will be racked and stacked with all the other work, but it has been identified.
https://bugs.amahi.org/issues/1480
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

rdagijones
Posts: 274
Joined: Thu Jan 26, 2012 7:56 am

Re: WOL after Update to Amahi 7

Postby rdagijones » Sun Jul 20, 2014 7:46 pm

Ignore the java program I listed earlier. It only works in the network which one is presently connected. To wake a computer in a network from a remote device one would need a device in that network to send the "magic packet." That is why WOL on the Amahi dashboard is such a handy thing. I am learning.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: WOL after Update to Amahi 7

Postby bigfoot65 » Mon Jul 21, 2014 4:54 am

No problem. I am sure you will find something.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

rdagijones
Posts: 274
Joined: Thu Jan 26, 2012 7:56 am

Re: WOL after Update to Amahi 7

Postby rdagijones » Tue Jul 22, 2014 8:34 am

OK, I received some advice to check out making a WOL script (http://bash.cyberciti.biz/misc-shell/si ... computers/), make a script for each computer I want to wake, give them privileges and make them executable, and store those on the server. Then use the Putty extension for OpenVPN ALS to tell the scripts to execute. My goal is to make a single-click icon for each client on OpenVPN ALS so that the "tech challenged" at the office can wake their computer remotely easily. I am working hard on this since Remote Desktop is almost useless without WOL in my network situation.

Questions:
  • * Could I use the "remote command" function in Putty from outside the network to tell my Amahi server to execute a script stored on the server?
    * Where is the best place to store these WOL scripts?
    * Will the scripts need root privileges to work properly?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: WOL after Update to Amahi 7

Postby bigfoot65 » Tue Jul 22, 2014 1:25 pm

Not sure if this helps, but thought I would try.
* Could I use the "remote command" function in Putty from outside the network to tell my Amahi server to execute a script stored on the server?
Not sure, this is something you may need to research. There is an admin guide for OpenVPN ALS (Adito).
https://wiki.amahi.org/index.php/Adito
* Where is the best place to store these WOL scripts?
I would place them in a share directory that way you can adjust them as needed.
* Will the scripts need root privileges to work properly?
Depends on who is running them, apache or user. I would try as user first, then apache, and root as a last resort.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 3 guests