Community discussions

MUM Europe 2020

Search found 23 matches

by LaZyLion
Thu Jul 20, 2017 8:02 pm
Forum: Scripting
Topic: tx-bytes rx-bytes have spaces and are unusable. Please help (edited and added more info)
Replies: 4
Views: 867

Re: tx-bytes rx-bytes have spaces and are unusable. Please help (edited and added more info)

I'm having this issue as well. I'm using 6.39.2 The manual clearly states these numbers should be returned as integers: https://wiki.mikrotik.com/wiki/Manual:Interface but :put [:typeof [/interface ethernet get ether1 rx-bytes]] shows that an array is being returned. The spaces make this extra unhel...
by LaZyLion
Sun Jul 16, 2017 8:21 pm
Forum: Scripting
Topic: POST Request with fetch
Replies: 69
Views: 30066

Re: POST Request with fetch

Hi all This new post feature is great for me. It adds an extra layer of security and peace of mind when transmitting sensitive information like wifi passwords. I have a script that all my routers run to check in with my php server. It started as a dyndns client but has evolved into so much more. Her...
by LaZyLion
Sun Mar 05, 2017 8:42 am
Forum: Wireless Networking
Topic: how to tell if b g or n
Replies: 0
Views: 347

how to tell if b g or n

Hi all

Sorry it this has been asked before but google failed me.


How do I determine if a wireless interface is doing b or g or n.

I know I can disable B by changing the Band setting, but I'd like to be able to
determine is an interface is being dragged down by a client.


Thanks all.

LL
by LaZyLion
Sun Jan 08, 2017 1:01 am
Forum: Scripting
Topic: A function for url encoding
Replies: 2
Views: 1642

A function for url encoding

Hi all, I got to playing around with functions and came up with a way to url encode text. I regularly use /tool fetch to send information to a php script on my web server. I run my own homemade DYDNS variant and it helps to have the information properly encoded so it arrives intact. The code: Create...
by LaZyLion
Sun Jul 31, 2016 10:16 pm
Forum: Wireless Networking
Topic: BIG BUG- Unicast key exchange timeout
Replies: 120
Views: 94105

Re: BIG BUG- Unicast key exchange timeout

Hi all I'm adding my two cents to the issue as well. This is now July 31 of 2016. Eight years of an ongoing issue! oh well. I'm using ROS 6.36 on all devices involved. Devices are in AP Bridge mode, same SSID, same AES WPA2 key All set up by script so no typo's. The devices connect and work great fo...
by LaZyLion
Mon Nov 09, 2015 9:44 pm
Forum: Beginner Basics
Topic: Question about srcnat
Replies: 3
Views: 734

Re: Question about srcnat

I see. So the srcnat chain is not restricted to packets that are leaving the router via a wan port. Hence to need to specify the out-interface so that only packets leaving via wan get masked. Thank you. But could the same effect be had using: /ip firewall nat add chain=srcnat src-address-type=!local...
by LaZyLion
Thu Nov 05, 2015 5:22 am
Forum: Beginner Basics
Topic: Question about srcnat
Replies: 3
Views: 734

Question about srcnat

Hi all, Ever since I started working with RouterOS, I've wondered why is it necessary to specify the "out-interface" in the srcnat firewall rule? /ip firewall nat add chain=srcnat out-interface=ether1 action=masquerade add chain=srcnat out-interface=ether2 action=masquerade add chain=srcnat out-inte...
by LaZyLion
Mon Sep 21, 2015 12:19 am
Forum: General
Topic: A newbie Question about Masquerade
Replies: 3
Views: 531

A newbie Question about Masquerade

Hi all In all the configuration examples I've seen, and even in the default configuration, I see this: /ip firewall nat add action=masquerade chain=srcnat out-interface=ether1 In a multi-wan setup, there is such an entry for each wan. I've always wondered, why is it necessary to specify the "out-int...
by LaZyLion
Wed Sep 09, 2015 3:26 pm
Forum: General
Topic: ECMP vs NTH vs PCC
Replies: 12
Views: 17802

Re: ECMP vs NTH vs PCC

For anyone like me who has been doing endless googling and finding lots of examples that lack decent explanations, here is how I understand load balancing; nth vs pcc. This assumes you read examples like https://aacable.wordpress.com/2011/08/29/mikrotik-4-wan-load-balancing-using-pcc-with-pppoe-serv...
by LaZyLion
Wed Sep 09, 2015 10:35 am
Forum: General
Topic: matching traffic from the router itself in mangle
Replies: 8
Views: 1556

matching traffic from the router itself in mangle

Hi all I'm playing with load balancing using pcc firewall rules in mangle and I've noticed that when I do a ping, tool fetch, or any other traffic from the console, it doesn't get matched to any of my mangle rules. I just tried and I can't get of the chains in mangle to trap router initiated traffic...
by LaZyLion
Fri Mar 20, 2015 8:02 pm
Forum: General
Topic: How to Block torrent 100%? Only 2 lines. It is solved.
Replies: 63
Views: 94814

Re: How to Block torrent 100%? Only 2 lines. It is solved.

can someone help me, why i get the error "expected end of command (line 1 column 19)" in terminal when i right click to paste the command bellow. "p"r=udp is highlighted a ac=d ch=forward in-i=ether2-master-local pr=udp cont="d1:ad2:id20:" dst-p=1025-65535 packet-s=95-190 com="torrent-DHT-Out-Magne...
by LaZyLion
Sun Mar 08, 2015 9:14 am
Forum: Announcements
Topic: RouterOS v6.27 released
Replies: 273
Views: 101324

Re: RouterOS v6.27 released

Strods LaZyLion - We fixed print function for "/system package update" in latest 6.28rcX versions. Now something like this might work for you: { /system package update check-for-updates once delay 5 :put [/system package update get latest-version ] } First function will force RouterOS to check for a...
by LaZyLion
Fri Feb 27, 2015 11:43 pm
Forum: Announcements
Topic: RouterOS v6.27 released
Replies: 273
Views: 101324

Re: RouterOS v6.27 released

LaZyLion - Since 6.27 "/system package update check-for-updates" is dynamic and gives output to console. That has caused changes. You can use command like this: :put ([/system package update check-for-updates once as-value ] -> "current-version") Great, that gives me the current version, which I ca...
by LaZyLion
Wed Feb 18, 2015 12:51 am
Forum: Announcements
Topic: RouterOS v6.27 released
Replies: 273
Views: 101324

Re: RouterOS v6.27 released

RouterOS auto upgrade script is broken, there is no more "current-version" and "latest-version" properties in "/system package update". I would like to re-iterate this issue. In 6.26 we get: [user@myrouter] /system package update> :put [get current-version ] 6.26 But in 6.27 we get: [user@thisroute...
by LaZyLion
Wed Sep 10, 2014 11:09 pm
Forum: General
Topic: DHCP Server - Block Access
Replies: 1
Views: 3172

DHCP Server - Block Access

Hi all I'm looking for a little clarification on something: If I go into ip/dhcp-server/leases and make an entry static, an option appears to "block access" for that users mac address. If i am understanding correctly, this will prevent the user from renewing or getting an ip when their lease expires...
by LaZyLion
Wed Aug 06, 2014 1:41 am
Forum: General
Topic: v6.18
Replies: 109
Views: 30103

Re: v6.18

Hi, I'm interested in this also. I tried to put "cz.pool.ntp.org" in WebFig into NTP Client settings, but it doesn't accept that value. What is feature "*) sntp client - added support for dns lookup of ntp servers;" for? Roman I see the following in change log: *) sntp client - added support for dn...
by LaZyLion
Sun Aug 03, 2014 2:58 am
Forum: General
Topic: v6.18
Replies: 109
Views: 30103

Re: v6.18

I see the following in change log: *) sntp client - added support for dns lookup of ntp servers; Does that mean I can put "pool.ntp.org" into Primary Server? /system ntp client set primary-ntp="pool.ntp.org" invalid value for argument primary-ntp: invalid value for argument ip-address invalid value ...
by LaZyLion
Wed Jul 23, 2014 7:08 pm
Forum: General
Topic: Strange behavior
Replies: 1
Views: 604

Re: Strange behavior

Update. I'm Running 6.17 now. The interface is still being changed by Quickset to Ether2. I use a few different ip addresses on my bridge and it seems to only change the most recently added. I'm tempted to use a dummy ip address but this could issues since I use Ether2 as a Wan port. The last added ...
by LaZyLion
Tue Jul 22, 2014 8:33 pm
Forum: Beginner Basics
Topic: Quick Set: AP Mode
Replies: 7
Views: 2802

Re: Quick Set: AP Mode

There is a bug in Quickset. When you hit Apply it changes the interface for lan ip from bridge-local to ether2. If you are not connected to ether2, or ether2 is not part of the bridge, you will not be able to reach it. This may be what is happening to you. To check this, use a serial cable to see wh...
by LaZyLion
Wed May 14, 2014 5:31 am
Forum: General
Topic: Failover based on bandwidth not on route gateway ping
Replies: 12
Views: 2268

Re: Failover based on bandwidth not on route gateway ping

I have a similar setup in I have two wan connections that I want to failover with. The first is very reliable and very stable, but slow, and expensive to use if you exceed the low data cap. The second is much much cheaper to use, much much faster, but stable as a wind vane. We do not want load balan...
by LaZyLion
Wed May 14, 2014 5:07 am
Forum: Beginner Basics
Topic: How to export dhcp static entires
Replies: 2
Views: 2177

Re: How to export dhcp static entires

Is their old router also a Mikrotik or RouterOS? If so, Log in via SSH using putty. (You can also use serial or telnet.) At the comment prompt type: /export file=settings You can then use ftp, or scp, or Webfig/Files to a file called "settings.rsc". You can edit this file in notepad. Hope that helps...
by LaZyLion
Wed May 14, 2014 5:02 am
Forum: Beginner Basics
Topic: Need help w/ new RBS2011
Replies: 5
Views: 914

Re: Need help w/ new RBS2011

Perhaps you are in Safe mode?
by LaZyLion
Fri May 09, 2014 10:45 am
Forum: General
Topic: Strange behavior
Replies: 1
Views: 604

Strange behavior

Hi all. I have a brand new RB2011 with the latest 6.12 with a strange quirk. To re-create it: Do a factory reset on the router. Access the router via WinBox or Webfig. View IP Addresses and see that 192.168.88.1 is assigned to interface Bridge-Local. Now open QuickSet in either Winbox or Webfig. Cha...