Community discussions

MikroTik App

Search found 35 matches

by silderan
Wed Apr 28, 2021 7:59 pm
Forum: General
Topic: ccr 2004 reboots randomly
Replies: 8
Views: 2625

Re: ccr 2004 reboots randomly

Well I knew this day will come. FW version 6.48.x seems to me that is having some kind of VPLS issue. So, we're stuck in older FW. I did the check even in emulated environment. But this is another fight that we delayed for too long right now because we focused in another ROS issue on PPPoE with hig...
by silderan
Fri Apr 23, 2021 10:16 am
Forum: General
Topic: ccr 2004 reboots randomly
Replies: 8
Views: 2625

Re: ccr 2004 reboots randomly

You're not alone. https://forum.mikrotik.com/viewtopic.php?f=3&t=164578 https://forum.mikrotik.com/viewtopic.php?f=3&t=167512 My fault. Was unable to find it in forum... Reading right now. Thanks! 6.48.2 has specific fixes for stability and packet loss issues with the CCR2004. I'd upgrade t...
by silderan
Thu Apr 22, 2021 5:11 pm
Forum: General
Topic: ccr 2004 reboots randomly
Replies: 8
Views: 2625

ccr 2004 reboots randomly

Hello. I have a CCR 2004 rebooting time to time. Some times twice in a week, other once per month... Tried another one with the same issue. Haven't tried other model. FW version is 6.46.8 Log after reboot doesn't show anything usefull. Seems like if it was a Power Supply issue. ( router was rebooted...
by silderan
Wed Feb 03, 2021 2:43 pm
Forum: General
Topic: Load external image on captive portal
Replies: 19
Views: 5787

Re: Load external image on captive portal

Hello...

I did post code. Is it enough?

Did you prefer me to post a new thread?
by silderan
Fri Jan 29, 2021 7:46 pm
Forum: General
Topic: Load external image on captive portal
Replies: 19
Views: 5787

Re: Load external image on captive portal

Ok Here it is. /interface bridge add name=bridgeLAN /interface pppoe-client add add-default-route=yes disabled=no interface=ether1 name=pppoe-novatel password=xx user=xx /interface vlan add interface=ether2 name=vlan21_2 vlan-id=21 /interface wireless security-profiles set [ find default=yes ] suppl...
by silderan
Fri Jan 29, 2021 9:35 am
Forum: General
Topic: Load external image on captive portal
Replies: 19
Views: 5787

Re: Load external image on captive portal

Same problem here. Have anyone solve it? Looking DNS cache I found that collection.wifi4eu.ec.europa.eu actually is an "alias" of another URL (meaning, collection.wifi4eu.ec.europa.eu has no A record but a CNAME). Furthermore, this new URL is an alias of another one and so on. Take a look:...
by silderan
Wed Aug 12, 2020 11:40 am
Forum: Scripting
Topic: bug in tool fetch? [SOLVED]
Replies: 6
Views: 2922

Re: bug in tool fetch? [SOLVED]

It is not "a Telegram API issue", it is "a HTTP URL issue". A HTTP URL cannot include spaces, they have to be encoded as %20 or + depending on the context. When it appears to work without doing that, likely the part of the message after the first space is not sent in the message...
by silderan
Wed Aug 12, 2020 9:22 am
Forum: Scripting
Topic: bug in tool fetch? [SOLVED]
Replies: 6
Views: 2922

Re: bug in tool fetch? [SOLVED]

Hello

It's not a fetch bug.

Didn't realize that when testing it via Chrome browser, it changes blank spaces with %20.

i just tried with (linux) curl command and the results are the same.

So, I think this is a Telegram API issue, not fetch.

Sorry to bother you.
by silderan
Tue Aug 11, 2020 7:55 pm
Forum: Scripting
Topic: bug in tool fetch? [SOLVED]
Replies: 6
Views: 2922

Re: bug in tool fetch? [SOLVED]

Good to know that I'm not alone in this world suffering with odd bugs! XD I just test with this texts. " Habia una vez" Fail " habia una vez" Ok "Habia una vez" Ok "a Habia una vez" Fail "%20habia una vez" Ok (Wait, what!?) "a%20Habia una vez&qu...
by silderan
Tue Aug 11, 2020 1:38 pm
Forum: Scripting
Topic: bug in tool fetch? [SOLVED]
Replies: 6
Views: 2922

bug in tool fetch? [SOLVED]

I found some strange behavior in /tool fetch: https://i.imgur.com/ByVbJHx.png Trying to send a telegram message doesn't work if there is a blank space followed with a capital 'H' Using a web browser, it works with both URLs. So, makes me think that Telegram API is fine But, using fetch to send the s...
by silderan
Fri Dec 20, 2019 4:42 pm
Forum: General
Topic: IPv6 /127
Replies: 20
Views: 8680

Re: IPv6 /127

Sorry for pop this thread up but...

+1.

Our Internet transit supplier just gives us a /127 to set up a BGP/AS session.

Is there any workarround or shall I purchase a router from another vendor?

This is a MUST for routers in https://tools.ietf.org/html/rfc6164.

Regards.
by silderan
Wed Dec 11, 2019 4:39 pm
Forum: General
Topic: Doubts about DNS . [SOLVED]
Replies: 5
Views: 2651

Re: Doubts about DNS . [SOLVED]

Also note that you can set the time limit on that invalid entry yourself at the bottom of the DNS setting screen! (Cache Max TTL) And note that there really is no "first" and "second" server, there are just a number of servers and the device will slowly rotate over using them an...
by silderan
Sun Dec 08, 2019 7:16 pm
Forum: General
Topic: Doubts about DNS . [SOLVED]
Replies: 5
Views: 2651

Re: Doubts about DNS [SOLVED]

Basic idea behind multiple DNS server addresses used by clients is high availability ... so it is assumed that any of configured servers will return same answer. DNS resolver will only ask same question to another DNS server if it can't connect to previously tried server (e.g. connection timeout). ...
by silderan
Sun Dec 08, 2019 1:57 pm
Forum: General
Topic: Doubts about DNS . [SOLVED]
Replies: 5
Views: 2651

Doubts about DNS . [SOLVED]

Hello. I've found that DNS entries mathers. Then, having the first entry with 8.8.8.8 and in the second entry another MK router with static DNS entries, this is what I get: https://i.ibb.co/GFzpkWD/DNSIssue-1.png In order to work, I must to delete first entry and flush cache: https://i.ibb.co/D547Ry...
by silderan
Sat Dec 07, 2019 12:34 pm
Forum: General
Topic: IPv6 quirks
Replies: 2
Views: 1104

Re: IPv6 quirks

Hi Idlemind. Here it is: https://i.ibb.co/gSjQCcQ/RouterA.png Know what? Playing with DNS in SLACC to see if it works, I did disable-enable on the ND "default" entry in Router A and now default route seems beeing configured via SLACC in Router B properly. Cannot reproduce the issue I get b...
by silderan
Fri Dec 06, 2019 5:05 pm
Forum: General
Topic: IPv6 quirks
Replies: 2
Views: 1104

IPv6 quirks

Hello. I'm currently self learning IPv6. So, I might be wrong with everything and I like to receive your advices to put me in the correct way. I've connect two routers and one computer in a row to see if I ping from the computer to the IPv6 in the wan interface of the first router. At first, using S...
by silderan
Mon Jan 07, 2019 6:08 pm
Forum: Scripting
Topic: API. Listening interfaces and bridges doesn't report deletions
Replies: 3
Views: 1462

Re: API. Listening interfaces and bridges doesn't report deletions

Thank you for your interest. I did some tests and found this "tips". There are bridge, vlans, etc .dead replies while listening to /interface/. Deeper than this path (like /interface/bridge or /interface/vlan) don't reply. There is not .dead replies from dynamic interfaces while listening ...
by silderan
Mon Jan 07, 2019 11:21 am
Forum: Scripting
Topic: removing data from API [SOLVED]
Replies: 6
Views: 2459

Re: removing data from API [SOLVED]

Yes! It does the trick! Indeed it's not documented and shall be. So, to resume, to remove an attribute value from API you must know if attribute must be disabled or it's just a fillable field. If it's just a fillable attribute, just send and empty value: =<attribute-name>= It it's a enable/disable a...
by silderan
Sun Jan 06, 2019 11:47 pm
Forum: Scripting
Topic: removing data from API [SOLVED]
Replies: 6
Views: 2459

Re: removing data from API [SOLVED]

Hi again Found it!! I'll do my best to explain. It's hard to me doing it in english :P When I face this problem I tried some code changes... and break things in my own API base code. (blame me for not trusting my 5 years younger version of me XD ) The deletion method works fine in attributes like co...
by silderan
Sun Jan 06, 2019 1:11 pm
Forum: Scripting
Topic: API. Listening interfaces and bridges doesn't report deletions
Replies: 3
Views: 1462

API. Listening interfaces and bridges doesn't report deletions

Hello. As subject says, using the commands: /interface/listen ?dynamic=true?#| /interface/bridge/listen ?#| never receive a reply when I delete any dynamic interface (actually, PPPoE clients) or delete bridges. But, I receive replies when new dynamic interfaces are created or new bridges are created...
by silderan
Sat Jan 05, 2019 7:16 pm
Forum: Scripting
Topic: removing data from API [SOLVED]
Replies: 6
Views: 2459

Re: removing data from API [SOLVED]

Thanks for your interest.

Yes, now is working... don't know why it was'nt as it was the first attempt I did. I will search why my tests fail at first.

Thanks again.
by silderan
Sat Jan 05, 2019 5:25 pm
Forum: Scripting
Topic: removing data from API [SOLVED]
Replies: 6
Views: 2459

removing data from API [SOLVED]

Hello. For sure it's a simply and stupid question, but I cannot find solution. My Qt5 C++ API works great... except it cannot delete remote parameters/variables :? I tried some ways, but I'm unable to do so: =comment=<nothing> =comment="" =comment='' =!comment=<nothing> =!comment="&qu...
by silderan
Wed Jul 04, 2018 12:09 pm
Forum: General
Topic: Lantency doubles while SIP call in progress
Replies: 3
Views: 843

Re: Lantency doubles while SIP call in progress

Thanks Sindy for your interest. Speed test on one side is arround 300Mbps and 20Mbps on the other side. At the time of the ping test, bandwith usage was under 1Mbps. In fact, was just the SIP call and some casual browsing and normal network "noise". Tried many VPN types thinking that was a...
by silderan
Tue Jul 03, 2018 8:32 pm
Forum: General
Topic: Lantency doubles while SIP call in progress
Replies: 3
Views: 843

Lantency doubles while SIP call in progress

Hello. We have two office connected together with a SSTP VPN. In one of them there is a VoIP server and a SIP phone in the other, Latency within the VPN tunnel is quite good, but while a SIP call is in progress, the latency doubles... at least. (see attached image below) This is the ping test from &...
by silderan
Wed Apr 11, 2018 7:00 pm
Forum: General
Topic: PPPoE MTU issue
Replies: 14
Views: 18104

Re: PPPoE MTU issue

I was always wondering why the default value is 1480. Isn't best practise 1492? Yeah! Exactly my point! How would there be fragments when the PPPoE Client packs everything into a 1492 large paket? Exactly. Where the additional 12 bytes (1492 - 1480) come from? Please MK guys, enlight us! :)
by silderan
Wed Apr 11, 2018 6:47 pm
Forum: General
Topic: PPPoE MTU issue
Replies: 14
Views: 18104

Re: PPPoE MTU issue

Yeah, I agree with Anumrak. If the TCP MSS negotiated between computer and web server is big enough to require a full ethernet frame, could behave like that because ot the mismatch in the PPPoE tunnel negotiation. But that's beyong my knowlenge. Anyway, the problem saw by solar77 is exactly the same...
by silderan
Wed Apr 11, 2018 12:32 pm
Forum: General
Topic: PPPoE MTU issue
Replies: 14
Views: 18104

Re: PPPoE MTU issue

Thanks Solar77. I agree that as the max MTU is 1500 and with the PPPoE (6 bytes) and the PPP (2 bytes) the max MTU for the PPPoE must be 1492 (1500-6-2). Thats what I want to achieve. At first, I dont understand the 1480 hard-fixing for the PPPoE mikrotik tunnel. Furthermore, many home routers, like...
by silderan
Wed Apr 11, 2018 12:11 pm
Forum: General
Topic: VPLS fragmentation
Replies: 3
Views: 1073

Re: VPLS fragmentation

I was told that VPLS splits and re-assembles silently . So, as I understand, the ping does not "see" what is happening under the hood and the no-fragment flag wont give me any clue. My tests give me that impression because I can ping with 1500 bytes without fragmentation. But, for sure, MP...
by silderan
Thu Mar 29, 2018 8:19 pm
Forum: General
Topic: VPLS fragmentation
Replies: 3
Views: 1073

VPLS fragmentation

I'm testing some devices to perform a correct OSPF, MPSL, VPLS, MTU setup.

As I readed, VPLS fragments and re-assembles paquets silently.
Can I know if VPLS is fragmenting?

Thanks!
by silderan
Thu Mar 29, 2018 6:02 pm
Forum: General
Topic: PPPoE MTU issue
Replies: 14
Views: 18104

PPPoE MTU issue

Hello. I have a very very simple network just to check some things.. as simple as PPPoE server (RB 750) <-> PPPoE Client (RB 750) The pppoe server is: service-name="pppoe-server" interface=ether2-pppoe-server max-mtu=1500 max-mru=1500 mrru=disabled authentication=pap,chap,mschap1,mschap2 k...
by silderan
Sun Sep 03, 2017 1:16 pm
Forum: Scripting
Topic: ROS Version
Replies: 2
Views: 1517

Re: ROS Version

Thans Boen,
Yeah, this will be my last option as I like to avoid try-error work. :P

It seems, looking at https://mikrotik.com/download and https://mikrotik.com/download/archive, that the no-number characters shall be used to split up to three group numbers.
by silderan
Sun Sep 03, 2017 12:23 pm
Forum: Scripting
Topic: Current speed via API [SOLVED]
Replies: 2
Views: 1945

Re: Current speed via API [SOLVED]

Thank you boen, it works:
Image

I wonder if this is the correct torch configuration... I'm not soo good using ROS.
The next step will be parsing received data.
by silderan
Sat Sep 02, 2017 1:31 pm
Forum: Scripting
Topic: Current speed via API [SOLVED]
Replies: 2
Views: 1945

Current speed via API [SOLVED]

Hello again. What's the proper way to obtain the current speed for a hotpost active connection? I just see the total bytes uploaded or downloaded, but no the current. Do I have to calculate it? (current_total - anterior_total) / (current_time - anterior_time)... listening to the active connections, ...
by silderan
Sat Sep 02, 2017 1:05 pm
Forum: Scripting
Topic: ROS Version
Replies: 2
Views: 1517

ROS Version

Hello everybody. I've started my second program using my own basic API (https://github.com/silderan/QMikrotikAPI) This time I'll like to take care of ROS version. I know how to obtain it (/system/resource/getall), but i don't know if there is a common template to obtain version so I can compare it p...
by silderan
Thu Aug 11, 2016 7:23 pm
Forum: General
Topic: Looking API for QT C++
Replies: 2
Views: 1571

Re: Looking API for QT C++

This thread is quite old. But maybe it's usefull for someone.

https://github.com/silderan/QMikrotikAPI