Community discussions

Search found 23 matches

by TealFrog
Thu Feb 06, 2014 2:17 pm
Forum: General
Topic: 6.9 released!
Replies: 223
Views: 78953

Re: 6.9 released!

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....
by TealFrog
Tue Feb 04, 2014 9:21 am
Forum: General
Topic: 6.9 released!
Replies: 223
Views: 78953

Re: 6.9 released!

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 ...
by TealFrog
Sun Feb 02, 2014 9:23 am
Forum: General
Topic: 6.9 released!
Replies: 223
Views: 78953

Re: 6.9 released!

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...
by TealFrog
Mon Dec 23, 2013 9:25 am
Forum: Beginner Basics
Topic: Can RouterOS solve this issue?
Replies: 1
Views: 619

Re: Can RouterOS solve this issue?

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'...
by TealFrog
Sat Dec 14, 2013 9:44 am
Forum: RouterOS v6 RC and v7 BETA
Topic: Feature Request: Vertical Scrollbar for WinBox
Replies: 5
Views: 1440

Feature Request: Vertical Scrollbar for WinBox

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...
by TealFrog
Sat Oct 05, 2013 9:28 am
Forum: Scripting
Topic: Oray DDNS Help
Replies: 1
Views: 3571

Re: Oray DDNS Help

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 ipaddr [/ip address get [/ip address fi...
by TealFrog
Thu Sep 19, 2013 2:16 pm
Forum: Scripting
Topic: Problem with accessing global variables between scripts
Replies: 1
Views: 1619

Re: Problem with accessing global variables between scripts

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:
:global testvar
:put $testvar
by TealFrog
Tue Jun 19, 2012 2:13 am
Forum: Scripting
Topic: Script MD5 Hash Generator
Replies: 6
Views: 6556

Re: Script MD5 Hash Generator

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 other hashe...
by TealFrog
Mon Jun 18, 2012 8:54 am
Forum: Scripting
Topic: Script MD5 Hash Generator
Replies: 6
Views: 6556

Script MD5 Hash Generator

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 Data Se...
by TealFrog
Sun Dec 18, 2011 11:09 am
Forum: General
Topic: How to covert int to hex type value and save it in a string?
Replies: 1
Views: 441

Re: How to covert int to hex type value and save it in a str

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={ :set hex...
by TealFrog
Tue Nov 22, 2011 11:36 am
Forum: Scripting
Topic: Pseudo Random Number Generator Script (Mersenne Twister)
Replies: 1
Views: 5450

Pseudo Random Number Generator Script (Mersenne Twister)

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 ...
by TealFrog
Fri Nov 18, 2011 10:35 am
Forum: General
Topic: Port Forwarding working only on first Nat rule
Replies: 7
Views: 1088

Re: Port Forwarding working only on first Nat rule

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 ...
by TealFrog
Thu Nov 17, 2011 9:03 am
Forum: Scripting
Topic: HTTPD Server monitor/failover
Replies: 3
Views: 975

Re: HTTPD Server monitor/failover

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...
by TealFrog
Wed Nov 16, 2011 4:02 am
Forum: Scripting
Topic: Fetch to variable
Replies: 2
Views: 1997

Re: Fetch to variable

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 findings. Regards.
by TealFrog
Sun Nov 13, 2011 11:01 am
Forum: General
Topic: 2 ethernet in 1 IRQ number, is it clashed?
Replies: 7
Views: 966

Re: 2 ethernet in 1 IRQ number, is it clashed?

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...
by TealFrog
Sun Nov 13, 2011 7:13 am
Forum: Scripting
Topic: Super Mario Theme
Replies: 39
Views: 32569

Re: Super Mario Theme

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...
by TealFrog
Sat Nov 05, 2011 9:07 am
Forum: Scripting
Topic: Strip Linefeed/EOL from fetched file
Replies: 2
Views: 873

Re: Strip Linefeed/EOL from fetched file

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 ( [ :len "test\n"...
by TealFrog
Sat Oct 29, 2011 8:44 am
Forum: Scripting
Topic: Another (Faster) Sort Based on QuickSort Algorithm
Replies: 0
Views: 724

Another (Faster) Sort Based on QuickSort Algorithm

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. ...
by TealFrog
Sat Oct 29, 2011 3:22 am
Forum: Scripting
Topic: Script to Create and Maintain Multiple Exported/Backup Files
Replies: 0
Views: 952

Script to Create and Maintain Multiple Exported/Backup Files

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...
by TealFrog
Sat Oct 29, 2011 2:01 am
Forum: Scripting
Topic: SetNtpServers - Set System Time via NTP, Alternative Script
Replies: 12
Views: 10235

SetNtpServers - Set System Time via NTP, Alternative Script

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...
by TealFrog
Fri Oct 14, 2011 8:12 am
Forum: Scripting
Topic: Script to perform numeric sorting using a bubble sort
Replies: 3
Views: 1973

Re: Script to perform numeric sorting using a bubble sort

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...
by TealFrog
Thu Oct 13, 2011 8:55 am
Forum: Scripting
Topic: Script to perform numeric sorting using a bubble sort
Replies: 3
Views: 1973

Script to perform numeric sorting using a bubble sort

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 ...
by TealFrog
Wed Oct 12, 2011 12:58 pm
Forum: Scripting
Topic: A script to look up IP to RIR using ARIN WhoIs
Replies: 1
Views: 2668

A script to look up IP to RIR using ARIN WhoIs

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...