D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-320 => Topic started by: Martin78 on December 10, 2013, 07:17:22 AM

Title: reboot Windows machine from DNS-320
Post by: Martin78 on December 10, 2013, 07:17:22 AM
Hi,

I would like to reboot my windows machine from my DNS-320. Does anyone know solution.? It would really help me.
I have fonz fun plug 0.7 installed. Any help is appreciated.
Title: Re: reboot Windows machine from DNS-320
Post by: hoppo1 on December 10, 2013, 11:03:29 AM
you need to install samba-common on the 320. once installed you can run net rpc shutdown -I IPADDRESS -U USERNAME%PASSWORD which as long as the user has local admin should reboot the windows box. You'll need to look around for how to download and install packages on the 320 and also find a suitable one similar to samba-common which will go on the 320.

good luck.
Title: Re: reboot Windows machine from DNS-320
Post by: albert on December 11, 2013, 10:53:42 PM
Reboot Windows machine remotely via script file? Otherwise it doesn't make sense since one would need a PC to remote into the NAS initially.
Title: Re: reboot Windows machine from DNS-320
Post by: Martin78 on December 13, 2013, 09:28:39 PM
Hi,

After installing samba package command: "net rpc shutdown -r  -I IPADDRESS -U USERNAME%PASSWORD" does its rebooting job.

Reason for this: It's a backup solution for rebooting PC when remote service get stucked. Now I can send reboot or shutdown command easily from my phone via ssh connection too.

Thanks for help.