Manual:The Dude/Tools: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[File:20100813-151545.png]]
The Tools pane manages the utilities and programs that can be [[The_Dude/Device_settings#Tools|run when right-clicking a device]]. Tools can be useful for executing custom programs and passing them variables, which can be practically anything the Dude knows about the device.   
The Tools pane manages the utilities and programs that can be [[The_Dude/Device_settings#Tools|run when right-clicking a device]]. Tools can be useful for executing custom programs and passing them variables, which can be practically anything the Dude knows about the device.   
Built in tools are the following:
* '''Ping''' opens the Ping interface. Uses ICMP echo request packets to determine if host is responsive
* '''Traceoute''' uses ICMP to determine the patch to the selected device
* '''SNMP walk''' uses SNMP walk tool to look for information that is available over SNMP
* '''Scan'''
* '''Winbox'''** opens Winbox utility to connect to RouterOS devices
* '''Terminal'''** Opens Winbox Terminal window to connect to the command line interface of the device
* '''Remote connection'''** Gives ability to connect to some other device ''from'' the selected device via various methods
* '''Torch'''** opens Torch interface to display detailed traffic information on selected RouterOS router
* '''Bandwidth Test''' ** opens Bandwidth Test interface, for testing available bandwidth speed to this device
* [[Manual:Spectral_scan|'''Spectral scan''']]** uses RouterOS spectral scan ability to show detailed spectrogram of available Wireless network
* '''Telnet''' connects via standard Telnet protocol
* '''Web''' opens the selected IP address in your default web browser
* '''FTP''' opens a command line FTP connection to this IP
* '''Dude''' connects to a Dude server
<nowiki>** - only works on RouterOS devices</nowiki>


[[File:SS-2010-07-13 13.11.08.png]]
[[File:SS-2010-07-13 13.11.08.png]]
Line 21: Line 42:


== Examples ==  
== Examples ==  
Add Winbox to tools:
<pre>
C:\Users\support\Desktop\winbox.exe [Device.FirstAddress] [Device.UserName] "[Device.Password]"
</pre>


The following '''Command''' shuts down Windows devices that support Remote Shutdown:  
The following '''Command''' shuts down Windows devices that support Remote Shutdown:  


<pre>c:\windows\system32\shutdown.exe -s -t 30 /m \\[Device.FirstAddress]</pre>
c:\windows\system32\shutdown.exe -s -t 30 /m \\[Device.FirstAddress]


This calls an ssh connection depending on which operating system you are currently running:
This calls an ssh connection depending on which operating system you are currently running:


<pre>cmd /C  (IF NOT EXIST \\dude\tools (start z:\usr\bin\nautilus sftp://[Device.FirstAddress] ))  
cmd /C  (IF NOT EXIST \\dude\tools (start z:\usr\bin\nautilus sftp://[Device.FirstAddress] ))  
&& IF EXIST \\dude\tools start  \\dude\tools\WinSCPPortable\WinSCPPortable.exe     
&& IF EXIST \\dude\tools start  \\dude\tools\WinSCPPortable\WinSCPPortable.exe     
%USERNAME%@[Device.FirstAddress]</pre>
%USERNAME%@[Device.FirstAddress]
 
 
 
[[Category:Dude]]

Latest revision as of 14:54, 27 December 2016

The Tools pane manages the utilities and programs that can be run when right-clicking a device. Tools can be useful for executing custom programs and passing them variables, which can be practically anything the Dude knows about the device.

Built in tools are the following:

  • Ping opens the Ping interface. Uses ICMP echo request packets to determine if host is responsive
  • Traceoute uses ICMP to determine the patch to the selected device
  • SNMP walk uses SNMP walk tool to look for information that is available over SNMP
  • Scan
  • Winbox** opens Winbox utility to connect to RouterOS devices
  • Terminal** Opens Winbox Terminal window to connect to the command line interface of the device
  • Remote connection** Gives ability to connect to some other device from the selected device via various methods
  • Torch** opens Torch interface to display detailed traffic information on selected RouterOS router
  • Bandwidth Test ** opens Bandwidth Test interface, for testing available bandwidth speed to this device
  • Spectral scan** uses RouterOS spectral scan ability to show detailed spectrogram of available Wireless network
  • Telnet connects via standard Telnet protocol
  • Web opens the selected IP address in your default web browser
  • FTP opens a command line FTP connection to this IP
  • Dude connects to a Dude server

** - only works on RouterOS devices

There are predefined tools, that can't be changed, and you can also add new tools.

It is possible to edit some of the predefined tools to see how the tools are made, so you can easily add your own. For example the FTP tool:

Adding tools

When adding a new tool, you will be prompted for the following settings:

  • Type - custom tools can only be Execute, ie. run external program with given options
  • Name - whatever you wish to call your new tool
  • Command - the program that will be called and it's parameters. Can insert OID variables
  • Device - Which types of devices will have this tool available

Examples

Add Winbox to tools:

C:\Users\support\Desktop\winbox.exe [Device.FirstAddress] [Device.UserName] "[Device.Password]"

The following Command shuts down Windows devices that support Remote Shutdown:

c:\windows\system32\shutdown.exe -s -t 30 /m \\[Device.FirstAddress]

This calls an ssh connection depending on which operating system you are currently running:

cmd /C  (IF NOT EXIST \\dude\tools (start z:\usr\bin\nautilus sftp://[Device.FirstAddress] )) 
&& IF EXIST \\dude\tools start  \\dude\tools\WinSCPPortable\WinSCPPortable.exe    
%USERNAME%@[Device.FirstAddress]