Community discussions

MikroTik App

Search found 34 matches

by unridaz
Tue Aug 04, 2015 6:43 pm
Forum: Scripting
Topic: How to use [:nothing]?
Replies: 1
Views: 1167

How to use [:nothing]?

Hello, I am trying to do a check on DHCP-CLIENT like so: :if ([/ip dhcp-client get [find interface=ether3] gateway != [:nothing]) do={:put "hi";} else={:put "bye"}; However, when ether 3 has a gateway and when ether3 does not have a gateway the result is the same. Instead of [:no...
by unridaz
Mon Mar 30, 2015 10:38 pm
Forum: Wireless Networking
Topic: NV2 Mesh
Replies: 0
Views: 795

NV2 Mesh

Hello,

Is there any mesh capability with NV2 yet? Or do I need to abandon the protocol for something else to do Mesh networks?

I would like to daisy-chain a few APs to expand the network beyond the range of the master AP. What solution is recommended?

Thank you.
by unridaz
Sat Mar 14, 2015 12:09 am
Forum: General
Topic: Network Loops, Bridges and DHCP
Replies: 0
Views: 1324

Network Loops, Bridges and DHCP

Hello, We have a network that looks like this: http://i.imgur.com/dppmzP3.png We are trying to detect the network loop on the unmanaged switch and turn eth1 off on the offending client groove. We have been following this other forum topic as a guide: http://forum.mikrotik.com/viewtopic.php?t=61260 I...
by unridaz
Fri Mar 13, 2015 11:50 pm
Forum: Scripting
Topic: Problem with scheduler
Replies: 8
Views: 4854

Re: Problem with scheduler

This sounds like something to do with the :global variables you are using probably not being created yet... are you able to run a script which just sets up the variables first: In system scheduler interval=none or 0, run at startup :global PingFailCount; :global PingFailThreshold; :global doublePing...
by unridaz
Wed Mar 04, 2015 5:18 pm
Forum: General
Topic: 2Qs: Port Forwarding over multiple VPN tunnels + Loop Detection
Replies: 0
Views: 714

2Qs: Port Forwarding over multiple VPN tunnels + Loop Detection

Hello, I have a two questions: We have a hub and spoke topology for our IPSec network. The network connects multiple remote sites to a central network which is used as the internet gateway for the remote sites so we can apply things like adult content filtering. What we are trying to do now is to po...
by unridaz
Mon Mar 02, 2015 9:48 pm
Forum: Scripting
Topic: Problem with scheduler
Replies: 8
Views: 4854

Re: Problem with scheduler

What is the output of: /system clock print In your script you have the start date to Jan 02 1970... a factory reset router will be at Jan 01 1970, until you update the time by other means. From factory, it will not run for the first 24hrs. Have you considered starting your scripts at "startup&q...
by unridaz
Sat Feb 21, 2015 1:20 am
Forum: Scripting
Topic: Router Timing Out
Replies: 3
Views: 2039

Re: Router Timing Out

After chopping up the script, I believe I have found an issue with my 'Bridge' configuration/implementation.

I have created a new topic in 'General' to discuss this issue: http://forum.mikrotik.com/viewtopic.php?f=2&t=94264

Thanks for taking the time to read and reply.
by unridaz
Sat Feb 21, 2015 1:18 am
Forum: General
Topic: Understanding the Bridge Better
Replies: 1
Views: 1138

Understanding the Bridge Better

Hello, I recently posted a topic in 'Scripting' because my router was timing out after applying a new script I created, but appeared to only be happening when I was managing it with Winbox. Here is a link to that topic: http://forum.mikrotik.com/viewtopic.php?f=9&t=94257 What I did in the end wa...
by unridaz
Sat Feb 21, 2015 12:45 am
Forum: Scripting
Topic: Router Timing Out
Replies: 3
Views: 2039

Re: Router Timing Out

No router in the middle. We 'reset-config' and just manually setup some basics, ip on ether1, default route etc... router behaves normally. Its gotta be in the script I'm thinking.. We are going to chop it up into 4-5 pieces and run each piece and try to narrow down where the strange behavior may be...
by unridaz
Fri Feb 20, 2015 10:43 pm
Forum: Scripting
Topic: [API] How to change IP adrress
Replies: 10
Views: 6092

Re: [API] How to change IP adrress

Yes, I'm aware, but the two are related. The example was to give you an idea on what to do next.

Good Luck!
by unridaz
Fri Feb 20, 2015 10:11 pm
Forum: Scripting
Topic: [API] How to change IP adrress
Replies: 10
Views: 6092

Re: [API] How to change IP adrress

I believe when they are saying to use the numbers, you need to use the internal line item number... For example, [admin@RB493] > /ip address print Flags: X - disabled, I - invalid, D - dynamic # ADDRESS NETWORK INTERFACE 0 ;;; VoIP LAN 192.168.55.1/24 192.168.55.0 ether3 1 ;;; Office LAN 192.168.10....
by unridaz
Fri Feb 20, 2015 9:58 pm
Forum: Scripting
Topic: Problem with scheduler
Replies: 8
Views: 4854

Re: Problem with scheduler

If I understand correctly, You reboot the device, wait, the script runs automatically and everything works fine. BUT If you reboot the device, and check the scheduler with "/system scheduler print" before it runs for the first time, then it never runs no matter how long you wait? Or is it ...
by unridaz
Fri Feb 20, 2015 9:40 pm
Forum: Scripting
Topic: Router Timing Out
Replies: 3
Views: 2039

Router Timing Out

Hello, I wasn't sure if I should post this here or in general discussion, but here it is... We have a lot of RB493s that we have been using a script to configure. Recently we added some new functionality to the script and we started noticing that the router would begin to timeout and disconnect when...
by unridaz
Wed Oct 01, 2014 3:40 am
Forum: Scripting
Topic: Custom Script
Replies: 1
Views: 1200

Custom Script

I have a custom RB initiation script that is ~2000 lines and is performing some specialized tasks. Would anyone care to look at it, maybe show me how to make it better or different ways to do some of the same things? Thanks!
by unridaz
Wed Sep 10, 2014 5:51 am
Forum: General
Topic: Routing +Economics Question
Replies: 1
Views: 1038

Routing +Economics Question

Hello, We have a few cell/data-only modems with the local telco which are servicing some small remote networks. We also have the requirement to filter some of the traffic at those locations. We have been shopping around for some solutions and have come up with the following: a) place an appliance wi...
by unridaz
Tue Sep 02, 2014 8:26 pm
Forum: Scripting
Topic: reboot script without confirmation
Replies: 2
Views: 2749

reboot script without confirmation

Hello,

I read elsewhere on the forum that when calling /system reboot from a script it will not ask for confirmation. I have not found this to be the case with my script, is there a way to bypass the confirmation or pass it the 'y' value? I am using ROS 6.9.

Thanks!
by unridaz
Fri Apr 18, 2014 1:45 am
Forum: Scripting
Topic: Help with UPS monitoring script.
Replies: 21
Views: 13105

Re: Help with UPS monitoring script.

For people having issues sending emails, ensure your have your mail server setup in /Tools -> Email. Alternatively, you can just edit the script and set it manually: /tool e-mail send subject="$sysname | **Power Failure** | $datetime | System will shutdown in $shutdownin | Battery Charge at $ba...
by unridaz
Fri Apr 18, 2014 1:31 am
Forum: Scripting
Topic: Netwatch Email Alerts and Retrying Failed Emails
Replies: 1
Views: 3041

Netwatch Email Alerts and Retrying Failed Emails

Hello, I have kinda pieced together a solution to monitor a host using Netwatch, and fire emails, and to check if the email failed and try again... What I would like is to improve the solution. What I have so far is: Netwatch: /tool netwatch add down-script="/system script run HOSTDOWN" ho...
by unridaz
Fri Feb 21, 2014 5:47 pm
Forum: General
Topic: Feature request: more values in Bandwith Limit of Interfaces
Replies: 2
Views: 1169

Re: Feature request: more values in Bandwith Limit of Interf

Have you tried just typing the amount you need in? I don't think you are limited to the ones in the drop down menu.
by unridaz
Wed Feb 19, 2014 8:57 pm
Forum: General
Topic: mikrotik nat problem
Replies: 3
Views: 1277

Re: mikrotik nat problem

Why not masquerade?

/ip firewall nat add chain=srcnat src-address=192.168.10.0/24 out-interface=ether1-gateway action=masquerade
by unridaz
Wed Feb 19, 2014 8:09 pm
Forum: General
Topic: Strange Groove Ticking Noise
Replies: 1
Views: 1608

Strange Groove Ticking Noise

Hello, I have a Groove A-52HPn, routerOS 5.24. From a 'reset configuration' I go into the wireless interface, and set: Mode: Station WDS Band: 5GHz-A Channel Width: 20MHz Frequency: 5785 Wireless Protocol: nv2 NV2 Security: Enabled NV2 Preshared Key: secret I click apply, and the groove begins to ma...
by unridaz
Thu Feb 06, 2014 4:03 am
Forum: General
Topic: Feature request: limiting of LAN ports bandwidth
Replies: 2
Views: 1735

Re: Feature request: limiting of LAN ports bandwidth

Have you tried to just set a limit on the interface?
by unridaz
Tue Feb 04, 2014 6:00 am
Forum: General
Topic: RouterOS 6.9 and DHCP Options
Replies: 2
Views: 2350

Re: RouterOS 6.9 and DHCP Options

Thanks for the reply and suggestion. I was also trying to use the syntax from the wiki page, but when I tried the single quotes like in your code I received a Syntax Error! After playing around a bit in winbox I discovered that the value has to encapsulated by single quotes and when I set the value ...
by unridaz
Tue Feb 04, 2014 2:07 am
Forum: General
Topic: RouterOS 6.9 and DHCP Options
Replies: 2
Views: 2350

RouterOS 6.9 and DHCP Options

Hello, I was using the following line in my previous config file on OS 5.24: /ip dhcp-server option add code=66 name=TFTP value=10.3.3.251 I've just tried to upgrade to 6.9 and now that line is giving me an error: "Unknown Data Type" What has changed between these two versions which breaks...
by unridaz
Fri Jan 31, 2014 10:47 pm
Forum: General
Topic: Please help me with IP Mangle
Replies: 2
Views: 1373

Re: Please help me with IP Mangle

Problem Solved! Thanks for taking a few minutes to spoon feed an idiot. Don't know how I missed that, but thank you.
by unridaz
Fri Jan 31, 2014 9:13 pm
Forum: General
Topic: Please help me with IP Mangle
Replies: 2
Views: 1373

Please help me with IP Mangle

Hello, I have a RB 751 that I have configured ether 3, ether 4, and ether 5 to be their own masters, and I have bridged these ports to "bridge-local" Now I would like to apply some rules based on traffic entering on say ether3, and have configured a mangle rule as follows: chain=prerouting...
by unridaz
Sat Dec 21, 2013 2:22 am
Forum: General
Topic: Load balancing question
Replies: 3
Views: 1281

Load balancing question

Hello, I have setup two VPN tunnels using a VPN appliance which are on my LAN at 10.4.0.3 and 10.4.0.4. These tunnels terminate to appliances on the other side, and are also in the same LAN at 10.1.100.3 and 10.1.100.4. What I would like to do is add a routerboard device in front of the VPN applianc...
by unridaz
Wed Jul 10, 2013 4:09 am
Forum: Scripting
Topic: tool email works but HowTo RETRY in case email was not sent?
Replies: 4
Views: 2139

Re: tool email works but HowTo RETRY in case email was not s

I know digging up old forum topics is not desired, but has anyone figured out a way to keep retrying email in the event of a failure?
by unridaz
Tue Jun 18, 2013 12:48 am
Forum: The Dude
Topic: Netflow via SNMP
Replies: 1
Views: 2464

Netflow via SNMP

Hello,

I have been reading some cisco documentation about implementing netflow via snmp with the netflow mib. Anyone tried to make this work in the dude?

We'd like to have the same granular statistics netflow offers in the dude.

Thanks!
by unridaz
Wed Jun 12, 2013 3:03 am
Forum: The User Manager
Topic: Groups.. seems to be missing from userman
Replies: 1
Views: 1178

Groups.. seems to be missing from userman

Hello,

Trying to add some users to a 'group' the documentation says there should be this option, but I've looked in 5.24 and 6.0 and can't find this. Anyone know what happened to it?
by unridaz
Fri Apr 05, 2013 9:36 pm
Forum: General
Topic: Slow WAN Speeds
Replies: 5
Views: 2005

Re: Slow WAN Speeds

Yes we've tried new cables... it feels like we tried everything. The only thing that seems to work is put all the 10MB devices onto their own LAN segment, setting the interfaces tied to the segment to not be 100MB or Full-Duplex. This is really starting to look like an incompatibility between 100MB ...
by unridaz
Wed Mar 20, 2013 3:23 am
Forum: General
Topic: Slow WAN Speeds
Replies: 5
Views: 2005

Re: Slow WAN Speeds

I have determined that my one laptop is negotiating at 10Mbps Half-Duplex, the rest of my devices are 100Mbps Full Duplex. Is there an issue with running a mixture on the same LAN segment? Another test I did was to take Ether2 off the master-port Ether9, and create another instance of DHCP-Server on...
by unridaz
Wed Mar 20, 2013 12:24 am
Forum: General
Topic: Slow WAN Speeds
Replies: 5
Views: 2005

Re: Slow WAN Speeds

# mar/19/2013 16:20:40 by RouterOS 5.21 # /interface ethernet set 1 master-port=ether9 set 2 master-port=ether9 set 3 master-port=ether9 set 4 master-port=ether9 set 5 master-port=ether9 set 6 master-port=ether9 set 7 master-port=ether9 /ip hotspot user profile set [ find default=yes ] idle-timeout=...
by unridaz
Tue Mar 19, 2013 11:58 pm
Forum: General
Topic: Slow WAN Speeds
Replies: 5
Views: 2005

Slow WAN Speeds

Hello, I am using a RB493 with OS 5.21. I have the router setup so that Ether1 is my WAN interface, Ether9 is my master-local, whith Ether2-Ether8 all set with Ether9 as the 'master-port'. I've enabled DHCP server on Ether9, and have also created a 'masquerade' rule in /ip firewall nat. I can surf t...