Community discussions

MikroTik App
 
ptsip
newbie
Topic Author
Posts: 43
Joined: Fri Jan 20, 2006 7:17 pm

Custom tools in Dude!

Fri May 04, 2007 5:42 am

If possible, pls a wishlist for custom tools for device, such as Remote Desktop connection, VNC Viewer, Radmin, etc.
Currently, from tools only: WinBox, Telnet, etc.
Thx.
 
firebat
Member
Member
Posts: 389
Joined: Mon Apr 11, 2005 8:38 am

Fri May 04, 2007 7:38 am

Please add this request to the Wiki Feature request page. See Sticky link at the top of the forum.
 
miko5881
just joined
Posts: 7
Joined: Thu Oct 26, 2006 12:09 am

Feature is already there

Fri May 04, 2007 3:10 pm

You can already do this. Just double click tools on the left and you can add all the custom tools you want. I have them for remote desktop, VNC, SSH, and a few custom URLs. You may have to find out how the commands work though. with vnc you can just put
vncviewer [Device.FirstAddress]
but for remote desktop you have to use
mstsc /v:[Device.FirstAddress]
 
ptsip
newbie
Topic Author
Posts: 43
Joined: Fri Jan 20, 2006 7:17 pm

Mon May 07, 2007 7:22 pm

Miko:

Thx u so much, it works perfectly.
 
CR24
Frequent Visitor
Frequent Visitor
Posts: 61
Joined: Wed Dec 04, 2013 10:32 pm

Re: Custom tools in Dude!

Fri Jul 28, 2017 2:44 am

Is it possible to send a terminal command with a custom tool? I get an error no matter what command I try to push.

Example: "/system reboot" (Yes I know there is a reboot option this is just an example)
You do not have the required permissions to view the files attached to this post.
 
eriitguy
Member Candidate
Member Candidate
Posts: 197
Joined: Thu Jan 26, 2017 1:16 pm

Re: Custom tools in Dude!

Fri Jul 28, 2017 9:22 am

CR24,
/system reboot
Command/Tool you defined is started on your local PC.

If you want to run a command on remote device from Dude, you may try:
plink.exe [Device.FirstAddress] -P 22 -l [Device.UserName] -pw [Device.Password] "/system reboot"
Thank you!
 
CR24
Frequent Visitor
Frequent Visitor
Posts: 61
Joined: Wed Dec 04, 2013 10:32 pm

Re: Custom tools in Dude!

Fri Jul 28, 2017 11:48 pm

Same error "The system cannot find the file specified."
 
eriitguy
Member Candidate
Member Candidate
Posts: 197
Joined: Thu Jan 26, 2017 1:16 pm

Re: Custom tools in Dude!

Sat Jul 29, 2017 11:48 pm

CR24,

Dude client should be able to run plink.exe, it should knot full path to it.
For more information, please see The_Dude_v6/Tools

Thank you!
 
CR24
Frequent Visitor
Frequent Visitor
Posts: 61
Joined: Wed Dec 04, 2013 10:32 pm

Re: Custom tools in Dude!

Sun Jul 30, 2017 12:05 am

Can you tell me how to setup a proper SSH tool? Ive been trying this.

ssh [Device.FirstAddress] -l [Device.UserName] -pw [Device.Password] "/system reboot"
 
eriitguy
Member Candidate
Member Candidate
Posts: 197
Joined: Thu Jan 26, 2017 1:16 pm

Re: Custom tools in Dude!

Sun Jul 30, 2017 1:10 am

CR24,

1. Download plink.exe https://www.chiark.greenend.org.uk/~sgt ... atest.html
2. Place it in desired location, for example in C:\Tools
3. Create a custom tool:
C:\Tools\plink.exe [Device.FirstAddress] -l [Device.UserName] -pw [Device.Password] "/system reboot"
You also may copy plink.exe in Dude client folder and in such case you can use it without full path.

Thank you!
 
CR24
Frequent Visitor
Frequent Visitor
Posts: 61
Joined: Wed Dec 04, 2013 10:32 pm

Re: Custom tools in Dude!

Sun Jul 30, 2017 1:24 am

Just did this, still getting the error, grr.
C:\Program Files\PuTTY\plink.exe [Device.FirstAddress] -l [Device.UserName] -pw [Device.Password] "/system reboot"
 
CR24
Frequent Visitor
Frequent Visitor
Posts: 61
Joined: Wed Dec 04, 2013 10:32 pm

Re: Custom tools in Dude!

Sun Jul 30, 2017 1:31 am

made a folder C:\DudeTools and now its working. Thanks for your help.
 
CR24
Frequent Visitor
Frequent Visitor
Posts: 61
Joined: Wed Dec 04, 2013 10:32 pm

Re: Custom tools in Dude!

Sun Jul 30, 2017 2:01 am

One more thing. Is there an argument to have plink run silently?
 
sid5632
Long time Member
Long time Member
Posts: 554
Joined: Fri Feb 17, 2017 6:05 pm

Re: Custom tools in Dude!

Sun Jul 30, 2017 3:15 am

Just did this, still getting the error, grr.
C:\Program Files\PuTTY\plink.exe [Device.FirstAddress] -l [Device.UserName] -pw [Device.Password] "/system reboot"
Not exactly suprising is it, since you have a space between "Program" and "Files" ?
 
CR24
Frequent Visitor
Frequent Visitor
Posts: 61
Joined: Wed Dec 04, 2013 10:32 pm

Re: Custom tools in Dude!

Sun Jul 30, 2017 3:18 am

Yeah I noticed "Files" was in purple so I made a new folder and it worked. Guess ROS/Dude doesn't like spaces in paths.
 
eriitguy
Member Candidate
Member Candidate
Posts: 197
Joined: Thu Jan 26, 2017 1:16 pm

Re: Custom tools in Dude!

Sun Jul 30, 2017 11:25 am

CR24,

Patch with spaces should be quoted:
"C:\Program Files\PuTTY\plink.exe" [Device.FirstAddress] -l [Device.UserName] -pw [Device.Password] "/system reboot"
 
sid5632
Long time Member
Long time Member
Posts: 554
Joined: Fri Feb 17, 2017 6:05 pm

Re: Custom tools in Dude!

Mon Jul 31, 2017 9:56 pm

Guess ROS/Dude doesn't like spaces in paths.
Of course it doesn't. How would it know?
A space is used as a separator between the various parameters, so it's perfectly obvious that you can't use one in a path name.
Blame those idiots at Micro$oft for the stupidity of putting spaces in path names.

Who is online

Users browsing this forum: Amazon [Bot] and 61 guests