The RB2011UAS-2HnD ran on 6.9 for a couple of days. Today, it lost its primary gateway connection and would not get a DHCP lease from ISP. Rebooted router and 100% CPU utilization issue occurred. I could not get the usage to drop and attempted several more reboots. I also attempted to get a support....
Downloaded RoS upgrade package again and did another reinstall on the RB2011. No issues so far and no high CPU utilization. Odd. Attempted to upgrade three routers from V6.7 to V6.9 RB493 - Okay RB493G - Okay 2011UAS-2HnD - Unsuccessful Attempted twice to upgrade 2011UAS-2HnD router to V6.9, router ...
Attempted to upgrade three routers from V6.7 to V6.9 RB493 - Okay RB493G - Okay 2011UAS-2HnD - Unsuccessful Attempted twice to upgrade 2011UAS-2HnD router to V6.9, router became unusable running constantly at 100% CPU utilization. I would have liked to have had some diagnostics to post, but router w...
I do not believe RouterOS is going to help you much. It sounds like you have a Hyper-V and/or network configuration issue. I'm thinking you might be better served posting your issues in a Microsoft forum. I don't think you're going to get the type of help you need here since your problem really isn'...
A feature that I would like to have included for WinBox is the addition of a vertical scrollbar to scroll the window up and down. Many window applications allow this when a window is restored down. I use a notebook that has an unusual display with a lower resolution and I can no longer access all th...
The variable $ipaddr does not have a value when it is assigned to the variable $par. Reorder the statements to something like this: local ipaddr local server "http://ddns.oray.com" local domain "domain.gicp.net" local users "username" local paswd "abc123" :set...
Global variables should be declared before being used. Make sure not to specify a value or you will overwrite the existing value.
For example in the "testput" script:
Admittedly, the script by itself "as-is", is almost useless. It is really meant to fill a niche and be used as a solution to be incorporated into other scripts with the MD5 hash acting as either input to or output from another program or script. For those who are unaware, MD5, as well as o...
A script I created to generate MD5 hashes. # String message to MD5 Hash # Creates a MD5 hash from a message string # Version 1.00, 6/17/2012, Created by TealFrog # Script tested and developed under MikroTik ROS 5.14 thru 5.17 # # This software is identified as using and is based on the, "RSA Da...
I don't recall where I found this, but it should help... # $dec has decimal value to convert :local dec 3735928559 # $hexdigit set this to number of hex digits (max) you want :local hexdigit 8 # $hex is string containing hex value :local hex "" :for i from=0 to=(4*($hexdigit-1)) step=4 do=...
The following script was created to produce better (pseudo) random generated numbers on a MikroTik router. The script is based on the Mersenne Twister (MT) algorithm. The script will work as written, cut-and-paste, for demonstration purposes. The script is intended to be modified for use with other ...
I have to admit I am somewhat new to Tik routers myself; however, I suspect that at a minimum more information will be needed. If I had to take an educated guess, there is something matching the first rule that isn't allowing the next rule to be processed. If you can issue the following commands on ...
I was wondering have you considered a watchdog script or service executing on the server itself monitoring the web server and server process? Unless the issue is with the server itself or the network and not just the HTTPD service/daemon, then this might prove to be a better option. I don't know you...
Hello, From my testing it doesn't look like it will work by assigning the content directly to a variable. Based on the information at this link, http://forum.mikrotik.com/viewtopic.php?f=9&t=54564&p=277919&hilit=%2Ftool+fetch+variable#p277919 it would appear that it confirms these findin...
DISCLAIMER: I have not tried this under ROS and I am not a ROS expert. I would first try the previous suggestion, relocating the cards, as it is a better option, but in the event that relocating the card(s) does not work, check the Plug-and-Play (PnP) option in the BIOS. If the PnP BIOS option is di...
Kudos to those who did the song conversions! I shortened the Crazy Train script a bit by putting the beep frequency/length and delay values into an array. I actually wrote another version that did some substitution on the values (simple compression), but it only decreased the script by about six add...
It may be a bit late, but actually the script I posted a day before your post does something very similar to this... http://forum.mikrotik.com/viewtopic.php?f=9&t=55738 If you want to trim the last character, then it is just a matter of doing something like: :put [ :pick "test\n" 0 ( [...
Being that I was unhappy with the performance of the previous script based on a bubble sort algorithm, I rewrote the script using a QuickSort algorithm. The script is meant to sort numeric data. The first script in this post is the raw script to do plain numeric sorting demonstrating the QuickSort. ...
The following script was written to maintain and keep a specific number of exported and backup files stored on a router. The idea behind the script was to execute the script on a periodic basis creating an exported configuration and backup while maintaining a limited number of these files because of...
I am providing this script as an alternative to the scripting example provided in the examples at the URL, http://wiki.mikrotik.com/wiki/Manual:Scripting-examples#Allow_use_of_ntp.org_pool_service_for_NTP . The script works in a similar fashion using the ntp.org pool service to configure and set the...
Thank you for your feedback. The code is directly posted from working code. That is not to say that the code will work with every version of ROS and on every system. The code was developed and verified to run on a ROS v5.7 system. I have noticed MT scripting does have, to put it nicely, many subtlet...
I'm providing this script in the hopes others may find it useful. I suspect it might be able to be simplified a bit further. The script performs a numeric sort using a bubble sort. Ideally other sorts are faster and better, but given the scripting language and simplicity of the bubble sort it seems ...
This is my first MikroTik script. I wrote it primarily to learn MT scripting. Originally I wrote the script to monitor log entries and then take action, i.e. block probing IP addresses. I changed the script to use /ip firewall address-list created lists instead. As designed and written the script is...