Community discussions

MikroTik App

Search found 11 matches

by alcohol
Mon Dec 18, 2023 7:49 pm
Forum: Forwarding Protocols
Topic: /ip route print detail where dst-address =x.x.x.x/xx FAIL!
Replies: 8
Views: 14780

Re: /ip route print detail where dst-address =x.x.x.x/xx FAIL!

Is this still the case? I've tried with RouterOS6 and RouterOS7 and still see the problem.

I need a reliable and fast way to say "/ip route print where dst-address contains 10.10.10.15"
by alcohol
Thu Sep 21, 2023 1:33 am
Forum: Scripting
Topic: IP Pool Statistics
Replies: 16
Views: 29214

Re: IP Pool Statistics

This script was probably written long before subnet math was directly supported in routeros. If you are running 6 or 7 then this should work. Replace this: # Convert to array of octets (replace '.' with ',') :for x from=0 to=([:len [:tostr $minaddress]] - 1) do={ :if ([:pick [:tostr $minaddress] $x ...
by alcohol
Wed Jan 31, 2018 11:15 pm
Forum: General
Topic: Feature Request: 802.1X over ethernet
Replies: 40
Views: 20363

Re: Feature Request: 802.1X over ethernet

I thought this was already available but now I see that it isn't, so "me too". Please support wired 802.1x.
by alcohol
Fri Jan 19, 2018 10:47 pm
Forum: General
Topic: Netinstall enable IPv6 and setup firewall rules+DHCPv6-PD
Replies: 2
Views: 934

Re: Netinstall enable IPv6 and setup firewall rules+DHCPv6-PD

I figured out how to do this. In netinstall you remove routeros-mipsbe. Then you install all the packages that are normally in the default build, like "system", "routing", etc.

At that point you can also install ipv6 and it will be enabled on first boot.
by alcohol
Tue Jan 16, 2018 10:36 pm
Forum: General
Topic: Netinstall enable IPv6 and setup firewall rules+DHCPv6-PD
Replies: 2
Views: 934

Netinstall enable IPv6 and setup firewall rules+DHCPv6-PD

Is it possible to turn on IPv6 using netinstall? For some reason it's disabled in the routeros-mipsbe package. If I try to add the ipv6 package directly it says "Missing: system". If I put "/system package enable ipv6" in my netinstall script then it's enabled.. after the next tw...
by alcohol
Fri Jun 02, 2017 11:19 pm
Forum: Scripting
Topic: interface-type has a space and is unquoted (bug?)
Replies: 2
Views: 1116

Re: interface-type has a space and is unquoted (bug?)

Ok, this does not address the interface-type bug, but the workaround for SSID and pre-shared-key is to not use "terse" mode. The values are quoted in the normal output.
by alcohol
Fri Jun 02, 2017 11:10 pm
Forum: Scripting
Topic: interface-type has a space and is unquoted (bug?)
Replies: 2
Views: 1116

Re: interface-type has a space and is unquoted (bug?)

Found more examples of unquoted output with spaces:

ssid=cats and boots area=""
wpa-pre-shared-key=cats and boots wpa2-pre-shared-key=cars and clowns

How can we reasonably parse these?
by alcohol
Tue May 30, 2017 10:36 pm
Forum: Scripting
Topic: interface-type has a space and is unquoted (bug?)
Replies: 2
Views: 1116

interface-type has a space and is unquoted (bug?)

Here is an example: [provisioning@MikroTik] > /interface wireless print terse 0 name=wlan1 mtu=1500 l2mtu=1600 mac-address=xx:xx:xx:xx:xx:xx arp=enabled disable-running-check=no interface-type=Atheros AR9300 ... I think interface-type=Atheros AR9300 should be interface-type="Atheros AR9300"
by alcohol
Thu Oct 31, 2013 8:45 pm
Forum: General
Topic: Provisioning things for CPE
Replies: 1
Views: 1625

Provisioning things for CPE

There are some things I need in order to effectively use these devices as CPE. I'd love to see these on the roadmap as future features, or see some peoples workarounds or means of doing what I'm doing. Basically what I'm looking for is to treat the routers the same way a cable modem or an ATA is tre...