D-Link Forums
The Graveyard - Products No Longer Supported => D-Link Storage => DNS-320 => Topic started by: zakis_ on March 13, 2012, 12:08:14 PM
-
Hi
I am a happy user of nas d-link sharecenter dns-320 (pulse)
Usually I use this through its web interface, but since I'm
also a happy linux user that always prefers to use
software in command-line so I created a simple script
management p2p and other basic functionality(for now).
I created a Mercurial repository on Bitbucket to this address:
https://bitbucket.org/zakis_/dns-320-command-line
You can download it and use it freely, hopefully useful, for example via
to check your NAS remotely through a linux server.
I hope to use it than you think to help me to add new
useful features, in a short time to cover all aspects of the NAS.
Happy Hacking
zakis_
-
Hello,
Just wondering how different would it be to Fun_Plug. Or what it can do as oppose to Fun_Plug.
Fun_Plug advantages I can think of, add any package which can be better than Dlink's options. Such as UPnP and P2P packages and many others.
-
TS, thanks for sharing. A short write-up on how to setup your CLI tool would be much appreciated.
-
Hello,
Just wondering how different would it be to Fun_Plug. Or what it can do as oppose to Fun_Plug.
Fun_Plug advantages I can think of, add any package which can be better than Dlink's options. Such as UPnP and P2P packages and many others.
this software is different to fun_plug, it does not require the presence of fun_plug. It's 'only a command line interface for almost all of the NAS options. and then the main advantage is that 'you can' control the NAS from a computer that is not 'installed any browser
-
TS, thanks for sharing. A short write-up on how to setup your CLI tool would be much appreciated.
this cli tool is self-explanatory.. you should just have the module curl of php and php5 CLI installed on your system, and run the script for the explanation of features:
$./pulse.php
Usage: pulse.php OPTIONS [host[:port]]
host hostname or ip target, default: pulse
port port number for host, default: 80
-p,--p2p[=on|off] get or set p2p client state
-c,--p2p-clear clear p2p complete list
-l,--p2p-limit[=down[,up]] get or set p2p speed limit, unlimit: -1
-D,--download[=url] list or add url in http downloader
-C,--download-clear clear complete http downloads list
-t,--temp get temperature inside
-T,--time get date and time of nas
-f,--fan[=off|low|high] get or set fan mode
-u,--ups get ups state
-d,--disks get disks usage
-s,--shutdown power off the system
-r,--restart restart the system
-h,--help print this help
like any other linux command