-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to a make it work in DSM (Synology) #57
Comments
Not familiar with it. What error do you get there? |
It wont work on a Synology NAS by default because it is missing |
Is there a tool similar to dig in there at least? What type of shell (and version) is included? |
The latest Synology DSM (7.1.1) is running GNU bash version 4.4.23(1)-release, on a highly customized/butchered Debian Linux kernel. It's unfortunately not possible to install Debian packages on it. It also does not come with full/standard utility set that you would expect. I can help you with any insider knowledge and list of tools, as best I can, that are available on a "stock" system. I really appreciate your interest to this issue. |
Please pardon my ignorance, but if I'm understanding the necessity of
|
Again forgiving my linux ignorance, but I've been diving into this more from the Synology environment perspective (while continuing to try to expand my linux knowledge). The last thing I wanted to do was alter the code- so going back to my initial approach I continued to try to solve the riddle of I discovered that older versions of the Synology DSM (the customized version of their Debian OS) actually came with BusyBox is actually an easy drop-in binary on Synology. However, because its an embedded app, you have to create a link in your PATH from That said, I think that |
Note/caveat: I would consider myself a bash novice. What I am proposing could very well be stupid. Looping back to this, I was able to successfully substitute bc with awk, with this:
Using That bit done, there were still other modifications that had to be made to get the code to work properly on a Synology:
I also added some code to dynamically resize the first column to compact the information as much as possible. Example output:
Note: I set the All that said and done, it can run properly in a Synology DSM environment. Any comments, suggestions, etc are very much welcome. |
I've continued to make improvements to how the information is logged and processed, as well as adjustments for broader system compatibility. I invite anyone interested to check out my fork: https://github.com/michealespinola/syno.dnsperftest An example of the current output can be found in the README.md |
Old thread here, but I am running this script on Syno by installing the |
...modification to script for tabs vs spaces resolved in #86 |
Hi, I found your bash script interesting but I want to use it on my Synology server. It is possible to modify it to make it works or install something for this to happen?
Thank you in advance!
The text was updated successfully, but these errors were encountered: