basildane / WakeOnLAN

Wake On LAN, WakeOnLAN, shutdown software for Windows. A powerful WOL, ping, shutdown, GUI application.
http://wol.aquilatech.com
Other
1.01k stars 147 forks source link

Linux Shutdown #46

Open danielalpha007 opened 7 years ago

danielalpha007 commented 7 years ago

I tried to shutdown my Linux Computer in the Local Network with the given example and replaced it with my own.

In German the Error Code says: Datei nicht gefunden what means something like: file not found

Do i have to install Putty separately?

basildane commented 7 years ago

Putty is not included in this install. You would have to configure that separately.

danielalpha007 commented 7 years ago

Thank you very much

Am 10.12.2016 00:20 schrieb "Basildane" notifications@github.com:

Putty is not included in this install. You would have to configure that separately.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/basildane/WakeOnLAN/issues/46#issuecomment-266150054, or mute the thread https://github.com/notifications/unsubscribe-auth/AXWcMA8ZQmC5kZ_5fMVsTESq57l5_G6oks5rGeJDgaJpZM4LJbvQ .

danielalpha007 commented 7 years ago

But how Exactly i have to configure plink now ?

danielalpha007 commented 7 years ago

I put the plink in the Main Directory of WakeOnLan now. When I execute the function to shutdown, the Timer goes to zero and the windows is closing. But there is no Function at the Target.

danielalpha007 commented 7 years ago

There is no Error in the Log.

basildane commented 7 years ago

Hi, Installing and configuring putty/plink is completely separate to WOL. Please install plink into it's own default location. By default it will go to \program files (x86)\Putty, because it is a 32 bit application.

You need to get it working on it's own before you try and make it work with WOL. I gave an example command that I use plink.exe -ssh -pw myPassword root@scratchy.aquila.local /sbin/poweroff. The user "root" in this example would have to have authority to poweroff.

Keep in mind, WOL and plink are not related. You are just calling plink to pass the command to your linux hosts.

I hope this helps.

danielalpha007 commented 7 years ago

Thanks I will give it a try next week end

Am 13.12.2016 18:55 schrieb "Basildane" notifications@github.com:

Hi, Installing and configuring putty/plink is completely separate to WOL. Please install plink into it's own default location. By default it will go to \program files (x86)\Putty, because it is a 32 bit application.

You need to get it working on it's own before you try and make it work with WOL. I gave an example command that I use plink.exe -ssh -pw myPassword root@scratchy.aquila.local /sbin/poweroff. The user "root" in this example would have to have authority to poweroff.

Keep in mind, WOL and plink are not related. You are just calling plink to pass the command to your linux hosts.

I hope this helps.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/basildane/WakeOnLAN/issues/46#issuecomment-266811780, or mute the thread https://github.com/notifications/unsubscribe-auth/AXWcMJYqjmCqhFfRNKi2ntFFy6ZV3BHnks5rHtwsgaJpZM4LJbvQ .

danielalpha007 commented 7 years ago

I´ve set up Plink now. It doesnt Work for me. In the Shutdown Window the Status is Changing to "Please wait" and the Window is Closing. No Reaction at the Linux Host.

danielalpha007 commented 7 years ago

Awesome, got it now. I didnt used the IPv4... That was my Fault. Nice Tool!! Thanks very Much!

danielalpha007 commented 7 years ago

So this is bad now. Its working on My Computer, but i tried to move the Programm to another Computer and tried again and the old Problem again. 1:1 the Same Configs.

Do i have to run the Installer of Putty for Plink ? I tried just to set in the .exe file right now. I will be wondered if Putty brings some Requieremets with it.

basildane commented 7 years ago

We need to have plink and putty before moving on to using them with WOL. Please make sure you can shutdown a remote computer by command line first, then put the command line into WOL.

The putty family have their own requirements, and I think you need to install them on each computer you are going to use them on, however, I have not tested that.

Just test using plink by command line and you will see where you are at. You can't move on to more complex situations until you have that working.

danielalpha007 commented 7 years ago

Hey, I said, I got it working on one computer. I will try to install putty the normal way and test it again..

Am 17.12.2016 02:06 schrieb "Basildane" notifications@github.com:

We need to have plink and putty before moving on to using them with WOL. Please make sure you can shutdown a remote computer by command line first, then put the command line into WOL.

The putty family have their own requirements, and I think you need to install them on each computer you are going to use them on, however, I have not tested that.

Just test using plink by command line and you will see where you are at. You can't move on to more complex situations until you have that working.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/basildane/WakeOnLAN/issues/46#issuecomment-267731918, or mute the thread https://github.com/notifications/unsubscribe-auth/AXWcMH0diqCi-21opLQgMV63CAj6O_jLks5rIzWVgaJpZM4LJbvQ .

danielalpha007 commented 7 years ago

Okay.. i tried now with a full installation of Putty, but it doesnt Work anyways... I dont know what im doing wrong..