Like @AllUp said, did you change the GDS_USERNAME and IP,etc. with your own GDS3170 parameters?
Also I am not 100% sure about Cinnamon, since I have been using Ubuntu since I can remember, but it could be possible that the md5 could be outputting something different.
Remember a simple space or any other character will change the md5.
I believe you shouldn’t have a problem since most linux systems should be able to run the same or similar commands with the same outputs(I am not a linux expert though, so don’t take my word for it).
Also do some googling.
I am no pro at shell programming either and most of these commands I merely googled to find a working answer.
Let me know the results and if you are still having problems.
Sorry I couldn’t be of more help.