Community discussions

MikroTik App

Search found 4560 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 16
by Amm0
Fri Nov 01, 2024 1:55 am
Forum: Beginner Basics
Topic: Connecting Two Remote Locations Without Public IP
Replies: 9
Views: 226

Re: Connecting Two Remote Locations Without Public IP

IKEv2 is a bit more complex to setup… A bit? Hah! More like 3-10× more complicated, depending. Let's see: What'd I miss? LOL. I'll give 2× more complicated. You can use a PSK and avoid the certs. My comment was based an old hEX, that can offload IPSec encryption, but that is IPSec singular benefit....
by Amm0
Thu Oct 31, 2024 11:17 pm
Forum: Beginner Basics
Topic: Connecting Two Remote Locations Without Public IP
Replies: 9
Views: 226

Re: Connecting Two Remote Locations Without Public IP

I'm guessing likely be better off with IPSec using IKEv2 on the older hEX, since IPSec will use hardware encryption. i.e. WireGuard will not be hardware offloaded, so might be slower. Although IKEv2 is a bit more complex to setup than ZeroTier or even WG. One side does need to be enabled with respon...
by Amm0
Thu Oct 31, 2024 3:19 am
Forum: General
Topic: TiVo => EoIP => TiVo ... fail
Replies: 5
Views: 187

Re: TiVo => EoIP => TiVo ... fail

I only have WireShark on one end, so I can't see what is going on at the other end of the EoIP tunnel. This is my first MikroTik project, so I haven't yet figured out how to use Torch ... Q: Can I use Torch to see what is going on in my remote NE location? Sure, you'd do it on the EoIP interface. I...
by Amm0
Thu Oct 31, 2024 1:01 am
Forum: General
Topic: TiVo => EoIP => TiVo ... fail
Replies: 5
Views: 187

Re: TiVo => EoIP => TiVo ... fail

The easiest thing to try is change MTU on the EoIP interface. If it's not 1500, that be worth a try. Now that will cause fragmentation over the VPN, but TiVo UDP packets may be too big to fit when a compressed MTU. You may also want to make sure "Don't Fragment" is unchecked (i.e. allow fr...
by Amm0
Wed Oct 30, 2024 9:47 pm
Forum: General
Topic: DUAL WAN into one connection use
Replies: 10
Views: 319

Re: DUAL WAN into one connection use

And this why @anav is suggesting load balancing, since that is something you can do with one router and two ISP. This is theoretically possible, but with a lot of "ifs" and "provided thats". One of the "ifs" be is the 200Mb connections are via PPPoE, because "provi...
by Amm0
Tue Oct 29, 2024 8:25 pm
Forum: General
Topic: TR069 and show-sensitive
Replies: 1
Views: 89

Re: TR069 and show-sensitive

A few years ago, I created an application to manage our mikrotik devices. It generates a configuration file for each router, based on how the router is modeled in the application, and uses TR069 to get the configuration on the routers themself. After the configuration is pushed to the routers, it a...
by Amm0
Tue Oct 29, 2024 5:11 pm
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 1375
Views: 298187

Re: 📣 WinBox 4 is here 📣

Could you please elaborate? Why isn't it easy to use? You can click on "Usage" and it will sort by usage. In fairness, it is same as winbox3 which seems to be initial goal. But it ain't a great dialog box for quickly figuring out a channel to use. i.e. - usage should align on the ".&...
by Amm0
Tue Oct 29, 2024 2:29 pm
Forum: General
Topic: mAP lite - how can I tunnel a VLAN over WiFi? [SOLVED]
Replies: 2
Views: 161

Re: mAP lite - how can I tunnel a VLAN over WiFi? [SOLVED]

Both VXLAN and EoIP approaches are covered here:
viewtopic.php?t=180369&hilit=wifiwave2
by Amm0
Mon Oct 28, 2024 11:08 pm
Forum: Scripting
Topic: Polling?
Replies: 12
Views: 448

Re: Polling?

I should have been clearer, in all likelihood using the "monitor once" in a scheduler is a better plan. I was more explaining how it works when NOT using "once"... generally speaking ;). Jokes aside, I don't have any UPS directly connected to a RouterBOARD otherwise I would have ...
by Amm0
Mon Oct 28, 2024 10:51 pm
Forum: Containers
Topic: Container "Traefik" (on RB5009)
Replies: 11
Views: 10841

Re: Container "Traefik" (on RB5009)

I don't know if this helps anyone, but I got Traefik to work on an RB1100 (which is actually ARM32) using this image: https://hub.docker.com/_/traefik I have to try this. Thanks Amm0 Yeah it works on RB1100AHx4 and RB5009 for sure. I use it for CORS and automatically renewing LE certs. I should cre...
by Amm0
Mon Oct 28, 2024 7:07 am
Forum: The Dude
Topic: Did I wipe out my Dude database?
Replies: 2
Views: 230

Re: Did I wipe out my Dude database?

Did you look at Files in winbox, and see a dude.db someplace. If so, you're be in luck... And, one simple possibility is the "disk name", or RouterOS, slot= changed in the upgrade. For example, from disk1/ to sata1/. And the upgrade does not change the dude directory, so it's may be lookin...
by Amm0
Mon Oct 28, 2024 2:11 am
Forum: General
Topic: EMULATING peplink BONDING with RoS
Replies: 3
Views: 391

Re: EMULATING peplink BONDING with RoS

Load balancing is more effective using all available bandwidth and easier/less complex & straightforward on RouterOS — that's why I pitch it ;)... But your right failover is going to be noticeable since it's connection-based. And "hitless failure" and magic bonding is what Peplink pitc...
by Amm0
Sun Oct 27, 2024 8:08 pm
Forum: Scripting
Topic: Polling?
Replies: 12
Views: 448

Re: Polling?

Remove the "once" and it becomes a ":while (true)" loop, so it will run forever. There is an interval= that control how often the do={} code is run, i.e. 1s or 1m or 1h etc.... You can also make only run for a fixed period like duration=1m. This is useful like in a /system/schedu...
by Amm0
Sun Oct 27, 2024 7:29 pm
Forum: General
Topic: EMULATING peplink BONDING with RoS
Replies: 3
Views: 391

Re: EMULATING peplink BONDING with RoS

The answer I'd like to give is use /zerotier multipath settings to do your desired bonding : https://docs.zerotier.com/multipath/ Sadly that is NOT an option . Since I occasionally use the peplink things... I kinda know how the peplink generally work... Also note there are additional recurring costs...
by Amm0
Sun Oct 27, 2024 4:42 pm
Forum: General
Topic: VXLAN inside Wireguard MTU [SOLVED]
Replies: 3
Views: 242

Re: VXLAN inside Wireguard MTU [SOLVED]

The math is right. Generally MTU being right is a good thing. TCP things adjust themselves, so MTU being right is actually helpful. One side note as MTU get lower from tunnels-in-tunnels... sometimes that effects dumber UDP protocols. For example (& before it get device-lock'ed), if you run a /t...
by Amm0
Fri Oct 25, 2024 10:21 pm
Forum: Scripting
Topic: [Script] Automatically change DNS if Pi-hole is no longer working
Replies: 53
Views: 26765

Re: [Script] Automatically change DNS if Pi-hole is no longer working

I'll answer myself. It turns out that RouterOS has such a wonderful thing as Netwatch! With it, you can set up host availability monitoring of almost any complexity! Yup, also in 7.16 there is a direct netwatch for type=dns — which make this even simpler: :global primary 172.17.0.2 :global backup 9...
by Amm0
Fri Oct 25, 2024 9:45 pm
Forum: Scripting
Topic: Appending file within foreach
Replies: 10
Views: 329

Re: Appending file within foreach

I find that if I blindly copy then I am not using my brain, but if I use my brain then I am ignoring the experts -- ugh. Fair enough. Again, it's about the variable types... And specifically the array type, since those are a bit complex. @rextended makes a point the unneeded parenthesis ( ) can get...
by Amm0
Fri Oct 25, 2024 7:57 pm
Forum: Announcements
Topic: Newsletter #121 | October 2024
Replies: 50
Views: 4464

Re: Newsletter #121 | October 2024

Block Diagram is available Another strange PoE choice: the PoE-in port is off the switch, a sensible choice for a router-class device, but we then have to ask which ISP modems provide PoE input power? Stretching for a use case, You can use an always use PoE injector between ISP and ether1. i.e. if ...
by Amm0
Fri Oct 25, 2024 7:13 pm
Forum: Scripting
Topic: Appending file within foreach
Replies: 10
Views: 329

Re: Appending file within foreach

I don't understand the notion of persistent in file. Didn't mean to be confusing, perhaps "saved to a file" be clear. I just meant that your variables you [:serialize to=json] to file, come back as the same str/num/time/array type when you [:deserialize from=json] from same JSON file. And...
by Amm0
Fri Oct 25, 2024 5:21 pm
Forum: Scripting
Topic: Appending file within foreach
Replies: 10
Views: 329

Re: Appending file within foreach

If your willing to have the data as JSON, the newer [:serialize] makes quick work of this: /file/add name=test.json contents=[:serialize to=json [/system/resource/print as-value] option=json.pretty] For example, the output looks like: :put [:serialize to=json [/system/resource/print as-value] option...
by Amm0
Thu Oct 24, 2024 9:42 pm
Forum: Wireless Networking
Topic: wAP ax?
Replies: 138
Views: 19407

Re: wAP ax?

Ah, it's was PDF that has the OS bit-ness, it's the website that does not. At least I'm not crazy. On AX Lite it is the same. 64-bit processor with 32-bit OS 64-bit mean memory addressing. So with 256MB of RAM... you can use up more memory storing 64-bit "pointers" when 32-bit would do. I'...
by Amm0
Thu Oct 24, 2024 7:22 pm
Forum: Wireless Networking
Topic: wAP ax?
Replies: 138
Views: 19407

Re: wAP ax?

AX devices released this year all seem to have 256MB RAM and these IPQ-50xx boards. I'm curious how ZeroTier does on these. The IPQ-40xx in older ac wAP did always seem like a stretch with ZeroTier installed (beyond fitting in 16MB, noticeable on CPU/mem/flows). Since I recall reading ZeroTier does...
by Amm0
Thu Oct 24, 2024 6:54 pm
Forum: Scripting
Topic: Scripting skills
Replies: 15
Views: 633

Re: Scripting skills

Even in Winbox4 they still use a proportional font. I know scripting, and I have a difficult time understanding a script in winbox's dialog when the code get "compressed" by the font and [default] shorter line width. So I partially blame the font for folks scripting difficulties ;). ... /s...
by Amm0
Thu Oct 24, 2024 12:24 pm
Forum: Beginner Basics
Topic: GRE over CUSTOM IPSec [SOLVED]
Replies: 5
Views: 303

Re: GRE over CUSTOM IPSec [SOLVED]

I've run into this too. It is unfortunate you cannot set IPSec profile along with GRE's ipsec-secret in the GRE config. As @TheCat12 suggests, you can do it manually. One thing to help is use the "ipsec-secret" as you have initially, but a make a copy of "D" dynamic/automatic thi...
by Amm0
Thu Oct 24, 2024 3:20 am
Forum: General
Topic: Starlink Bypass Mode - Dropped Packets
Replies: 5
Views: 597

Re: Starlink Bypass Mode - Dropped Packets

Even in bypass, you should still be able to use the starlink app (i.e. it resolves "dishy.startlink.com", and dishy always uses 192.168.100.1)*. The app will show drops. I believe visiting 192.168.100.1 in a web browser may do something, but they steer folk to the app these days. Now, If &...
by Amm0
Wed Oct 23, 2024 11:57 pm
Forum: Scripting
Topic: How to access time with milliseconds in a script?
Replies: 4
Views: 237

Re: How to access time with milliseconds in a script?

There is also the :time command. That actually times an operation in it's command={ # code # } like

:put [:time command={ :delay 1000000000ns }]
00:00:01.001184
by Amm0
Wed Oct 23, 2024 7:48 pm
Forum: The Dude
Topic: Is there any reason to upgrade Dude server from 6.49 to 7.16 or latest?
Replies: 2
Views: 579

Re: Is there any reason to upgrade Dude server from 6.49 to 7.16 or latest?

I think it's the same, or at least I cannot tell. I have both v6 and v7 dudes running, nothing is different and both work. It is actually mixing Dude versions that's actually more of reason not change... if working. The Dude 32-bit client app does an update when you connect to a Dude with different ...
by Amm0
Wed Oct 23, 2024 5:18 pm
Forum: Announcements
Topic: v7.17beta [testing] is released!
Replies: 553
Views: 87445

Re: v7.17beta [testing] is released!

I think there are issues in disks... I'm have "raid troubles" in 7.17beta4. Setup is just two identical sata drives, in raid1 config, on RB1100AHx4, with the raid1 volume as the mount (previously formatted ext4, not btfrs). I went back to 7.16, and that did NOT get the disk back either. An...
by Amm0
Wed Oct 23, 2024 2:52 pm
Forum: Scripting
Topic: Scripting skills
Replies: 15
Views: 633

Re: Scripting skills

ability to pester those far more knowledgeable One big trick, I think, is using "/system/script/edit <scriptname> source" to use Mikrotik's editor. Unlike Winbox's script editor, it will show red marks if the script is invalid (in realtime in edit). While I like @rextended, I know he uses...
by Amm0
Wed Oct 23, 2024 2:05 pm
Forum: Scripting
Topic: How to access time with milliseconds in a script?
Replies: 4
Views: 237

Re: How to access time with milliseconds in a script?

:put [:timestamp] # 2859w6d10:50:42.236575187 :put [:tonsec [:timestamp]] # 1729680660992477203 Timestamp is a "time" type since 1/1/1970 epoch. But [:tonsec] get you a "number", with nanoseconds, from any "time" type. To @rextended point... I guess it took 84760ns to ...
by Amm0
Wed Oct 23, 2024 2:58 am
Forum: Containers
Topic: ¿ Does image size matter ?
Replies: 0
Views: 195

¿ Does image size matter ?

More specifically are there any negative operational effects of larger image sizes ? And just to put a box around my question... - in the context of RouterOS... not some higher-performance data center use, - understood it would take more download and extract take more time (i.e. 1GB takes more time,...
by Amm0
Tue Oct 22, 2024 4:04 am
Forum: Beginner Basics
Topic: add an DNS server to Mikrotik router
Replies: 6
Views: 944

Re: add an DNS server to Mikrotik router

One thing.... I'm curious why @BrateloSlava adds on the Wireguard Peer the Private Key and also the Client Address and DNS as per screenshot he attached on post dated October 20. In my case I have none of them (this fields on my router are blank) and the WireGuard connection in my case works well. ...
by Amm0
Mon Oct 21, 2024 9:48 pm
Forum: Beginner Basics
Topic: why my computer assigned IANA IP?
Replies: 39
Views: 1431

Re: why my computer assigned IANA IP?

There are some devices that don't follow rules - totally seen that some devices need netmask explicitly set. And netmask=24 is harmless to rule-following dhcp-clients, they have the same info twice. And I'm not sure the actual value is 0, despite the docs, it is "unset" (now perhaps on som...
by Amm0
Mon Oct 21, 2024 7:57 pm
Forum: Scripting
Topic: PUSHOVER - ready MikroTik script to send messages
Replies: 29
Views: 13142

Re: PUSHOVER - ready MikroTik script to send messages

Does calling a more basic script work from Dude? i.e. one that does not use /tool/fetch or global variables... In this form it works and that's enough for me. Thank you. /tool fetch mode=https url="https://api.pushover.net/1/messages.json" http-method=post http-data="token=axxxxxxx&a...
by Amm0
Mon Oct 21, 2024 7:46 pm
Forum: Containers
Topic: New container project: "mikrotik.upgrade.server" / "mus"
Replies: 13
Views: 6244

Re: New container project: "mikrotik.upgrade.server" / "mus"

Perhaps I need to revise the documentation, perhaps you will be so kind to be a more specific or give some more hints. I appreciate any feedback - you know, nobody's perfect 8=) Sorry, your docs were good! My comments were more a Mikrotik grip – since just WAY too many steps to add a simple contain...
by Amm0
Mon Oct 21, 2024 7:30 pm
Forum: Announcements
Topic: Question to our users about controllers
Replies: 66
Views: 30673

Re: Question to our users about controllers

P.S: it seems nearly all of your wishes can already be accomplished by The Dude Why not just improve it [...] i.e. @fifrak #4 answer, some "dashboard" could be relatively simply: i.e. using The Dude's existing device discovery on the defconf LAN 192.168.88.1/whatever, combined with new fe...
by Amm0
Mon Oct 21, 2024 7:08 pm
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 1375
Views: 298187

Re: 📣 WinBox 4 is here 📣

feature request - While winbox has long shown only the "humanized" Tx/Rx speeds everywhere... I've long wanted to have some option to show "# Xbps" speeds in some "fixed" unit since often 900 kbps looks way to similar to 900 Mbps. i.e. I just want to see 0.900 Mbps ins...
by Amm0
Mon Oct 21, 2024 6:34 pm
Forum: Beginner Basics
Topic: LHG LTE6 needs restart twice a day to work
Replies: 17
Views: 1378

Re: LHG LTE6 needs restart twice a day to work

Beside update of update RouterOS to the latest version, upgrade also you modem firmware. I had in past also some issues with unstable connection, due to old firmware. And RouterBOOT in /system/routerboard - not sure it changes... but with LTE latest with 3 versions aligning on stable is my strong r...
by Amm0
Mon Oct 21, 2024 6:04 pm
Forum: Scripting
Topic: PUSHOVER - ready MikroTik script to send messages
Replies: 29
Views: 13142

Re: PUSHOVER - ready MikroTik script to send messages

It's not a permissions issue. Well I do not use notification with Dude, so IDK. But I'm not sure your Terminal test is exactly same user context as Dude running a notification. I cannot say for sure, but when Dude run calls RouterOS... that's more similar to netwatch (which uses a *sys user), than ...
by Amm0
Mon Oct 21, 2024 5:44 pm
Forum: Containers
Topic: New container project: "mikrotik.upgrade.server" / "mus"
Replies: 13
Views: 6244

Re: New container project: "mikrotik.upgrade.server" / "mus"

Yeah #2 just seems like a logic error... and your focus was actually the container MUS container here, not it's base image ;). Re Mosquitto and openrc ... 1.) The error described as "cgroup-error => read-only filesystem": / # rc-update add mosquitto default [...] * WARNING: mosquitto has a...
by Amm0
Mon Oct 21, 2024 5:09 am
Forum: Containers
Topic: Project mikrotik proxy manager
Replies: 3
Views: 742

Re: Project mikrotik proxy manager

Now I am runing traefik and cloudflared on my arm Mikrotik router. With cloudflare tunnel I don`t need even to open any port on my router. Aknowledgment: https://gero.dev/blog/cloudflared-traefik-docker That's a great approach - traefik is really solid but it's config while flexible is exacting. An...
by Amm0
Mon Oct 21, 2024 4:52 am
Forum: Scripting
Topic: PUSHOVER - ready MikroTik script to send messages
Replies: 29
Views: 13142

Re: PUSHOVER - ready MikroTik script to send messages

Hi, I have a question, not so much about pushover. I use TheDude and pushover - and it worked perfectly up until version 7.6 - in notifications it was enough to call the function "$pushover message="Service [Probe.Name] on [Device.Name] is now [Service.Status]";" just like other...
by Amm0
Mon Oct 21, 2024 2:54 am
Forum: Beginner Basics
Topic: why my computer assigned IANA IP?
Replies: 39
Views: 1431

Re: why my computer assigned IANA IP?

If you started with QuickSet...
Look in /ip/dhcp-server/networks... if you see an entry for 0.0.0.0... open it and change it 192.168.88.0/24, or the IP subnet (router IP + /24) address of the LAN if not default.
by Amm0
Mon Oct 21, 2024 12:24 am
Forum: General
Topic: User Manager for 30K Subscribers [SOLVED]
Replies: 19
Views: 849

Re: User Manager for 30K Subscribers [SOLVED]

If you can throw hardware, I won't worry too much. Especially about SQLite, for several reasons: - UM does cache things (i.e. the "Sent from Cache" stat). - And the users/etc AFAIK are stored in RouterOS config, not the database. From the schema, it looks like mosts tables ("user"...
by Amm0
Sun Oct 20, 2024 4:10 pm
Forum: General
Topic: User Manager for 30K Subscribers [SOLVED]
Replies: 19
Views: 849

Re: User Manager for 30K Subscribers [SOLVED]

Seems like ship sailed on alternatives. I don't have direct experience with UM.... But my thought be CHR be required for sure. After all, It's just auth requests, not traffic. So how ofter subscribers re-auth'ing? I also don't think there a lot of complex DB operations either. Perhaps few SELECT and...
by Amm0
Fri Oct 18, 2024 5:04 pm
Forum: Announcements
Topic: v7.17beta [testing] is released!
Replies: 553
Views: 87445

Re: v7.17beta [testing] is released!

container and run whatever you like. ... as long as someone is there to do the device-mode dance. With the new "changing device-mode on upgrade" scheme here... I hope y'all are mulling how to deal with the device-lock provisioning side. I'd actually like to deploy containers as part of a ...
by Amm0
Fri Oct 18, 2024 12:39 am
Forum: Scripting
Topic: Fetch for Rocket Chat
Replies: 4
Views: 315

Re: Fetch for Rocket Chat

Since I already build schemas for REST API , there is a spin off website that converts `curl` into /tool/fetch so `curl2rsc` spits out: /tool/fetch http-method=post url="https://rocket.example.com/api/v1/chat.postMessage" http-data="{ \"channel\": \"CHANNELID\", \&...
by Amm0
Fri Oct 18, 2024 12:23 am
Forum: Announcements
Topic: v7.17beta [testing] is released!
Replies: 553
Views: 87445

Re: v7.17beta [testing] is released!

You can only send RFC-2136 updates via /tool/dns-update - not forward them. You also still cannot add a PTR type as a static (so while can forward mDNS, but cannot do more basic DNS-SD) - so we're far from a "real" DNS server. And, I'm sure others have their own DNS grips.
by Amm0
Thu Oct 17, 2024 6:16 pm
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 1375
Views: 298187

Re: 📣 WinBox 4 is here 📣

... or at least an updated list someplace of "known 'good' requests", similar concept to V7 routing engine overview . That allow discussion to be "diffs" – i.e. "Why isn't my feature X on the list?" A public tracking system has the advantage that people can look for sim...
by Amm0
Thu Oct 17, 2024 6:15 am
Forum: Beginner Basics
Topic: Airprint for guest network
Replies: 8
Views: 585

Re: Airprint for guest network

Thanks so much. I'll make sure printing from a PC with a manually entered IP works across the VLANs in question first to confirm the routing is working, then I will dig into mDNS.
Great plan. If you have troubles, just post your config.
by Amm0
Thu Oct 17, 2024 4:20 am
Forum: Beginner Basics
Topic: Change LTE IMEI
Replies: 2
Views: 279

Re: Change LTE IMEI

I'm pretty sure on the 5G modems, it's locked down in hardware. Some older modem modems did have occasionally have basic command to do, but even that was not common.
by Amm0
Wed Oct 16, 2024 7:44 pm
Forum: Beginner Basics
Topic: Airprint for guest network
Replies: 8
Views: 585

Re: Airprint for guest network

The new mDNS repeater in 7.16 is in in /ip/dns via CLI/webbox - it's basic: it will "copy" the multicast mDNS traffic between the interfaces defined. Now... @eabs points out if you have firewall/routing rules that block inter-vlan communications, those have to be adjusted to allow the resu...
by Amm0
Tue Oct 15, 2024 9:53 pm
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 1375
Views: 298187

Re: 📣 WinBox 4 is here 📣

This is HOTEL Mikrotik, you can never leave!!
Or even a Casino
Casinos also have no clocks, apparently also similar to Mikrotik.
by Amm0
Tue Oct 15, 2024 8:28 pm
Forum: Beginner Basics
Topic: LHG LTE6 needs restart twice a day to work
Replies: 17
Views: 1378

Re: LHG LTE6 needs restart twice a day to work

Some issue with the band locking seems more likely to me. LTE Band in interface is not some "band preference", it filters other bands from being used. But, if it were a memory leak, that be easy to check /system/resource before rebooting. Now since this seems to happen a regular intervals,...
by Amm0
Tue Oct 15, 2024 4:16 pm
Forum: Beginner Basics
Topic: LHG LTE6 needs restart twice a day to work
Replies: 17
Views: 1378

Re: LHG LTE6 needs restart twice a day to work

Yeah this is the downside of "band locking"... When you set something like Band 7, it does not "failover" to another band. And tower may be "steering traffic" to use another band if band 7/whatever becomes congested. One thing to do is add a /tool/netwatch using type=ic...
by Amm0
Mon Oct 14, 2024 11:37 pm
Forum: Beginner Basics
Topic: Automatically divide customers into 4 internet lines equally
Replies: 17
Views: 1165

Re: Automatically divide customers into 4 internet lines equally



What about version v6?
What about version v6?
Is there a video explaining this?
PCC has not changed. So video likely apply. It is ECMP that did between V6 and V7.
by Amm0
Mon Oct 14, 2024 8:44 pm
Forum: Announcements
Topic: v7.16.1 [stable] is released!
Replies: 401
Views: 89064

Re: v7.16.1 [stable] is released!

The issue is probably not the naming but the lack of resources for maintaining separate 2 code trees... It's as folks think Mikrotik just declaring something makes it so. A bug-free version is not solved by nomenclature. There thousands of fix from say 7.12.x to 7.16.1 - each one of those made some...
by Amm0
Mon Oct 14, 2024 6:15 pm
Forum: Containers
Topic: Project mikrotik proxy manager
Replies: 3
Views: 742

Re: Project mikrotik proxy manager

I needed a simple way to manage the reverse proxy server, already tried to check: - nginx - nginx proxy manager - caddy - trafik I liked traefik the most, a more convenient dynamic configuration, and decided to try to expand its capabilities so as not to write configs and add hosts via winbox I tri...
by Amm0
Mon Oct 14, 2024 5:51 pm
Forum: Beginner Basics
Topic: Automatically divide customers into 4 internet lines equally
Replies: 17
Views: 1165

Re: Automatically divide customers into 4 internet lines equally

The high-level answer is if you just set the distance= the same in /ip/route for the 4 DSL lines (* in V6, add MULTIPLE gateway to same 0.0.0.0 /ip/route), you'll create an ECMP. Traffic is divided by hashes, so it's not quite "equal" (*in 7.16 ECMP can be "more even" with l4 has...
by Amm0
Mon Oct 14, 2024 5:30 pm
Forum: Scripting
Topic: $PIANO - interactive "player piano" & studio-quality recorder using :beep
Replies: 14
Views: 2575

Re: $PIANO - interactive "player piano" & studio-quality recorder using :beep

Like playing live on some chiptune party over rtpMIDI with furnace :) LOL. And with few Mikrotiks with beepers, you can have a whole orchestra to deal with chords/multitones — be a real party. Just to cover the all the "audio interfaces" of RouterOS, there is also audio input via HTTP ava...
by Amm0
Mon Oct 14, 2024 5:04 pm
Forum: Scripting
Topic: Inconsistent boolean conversion
Replies: 6
Views: 427

Re: Inconsistent boolean conversion

Mikrotik+us are in a bit a box... the #1 rules is existing script have to still work - so some inconsistencies" cannot be fixed, since folk may rely on the "wrong" behavior. And also there just are a lot implicit type conversations - since script and config are same system. So as &quo...
by Amm0
Sun Oct 13, 2024 5:51 pm
Forum: Scripting
Topic: How to Access User Total Download, Upload, Data from REST API in /user-manager/user/?
Replies: 8
Views: 4884

Re: How to Access User Total Download, Upload, Data from REST API in /user-manager/user/?

Is there a way to reed all UserManager User-Statistic Date via one request? At the WinBox, you also get all infos listed. If you have a comma-separated list of .id's that can be used in user-manager/user/monitor - JSON is still a string for .id - but it can take multiple .id's curl -k -u $USER:$PAS...
by Amm0
Sat Oct 12, 2024 9:28 pm
Forum: Beginner Basics
Topic: QuickSet uses 0.0.0.0 for DHCP server network
Replies: 17
Views: 730

Re: QuickSet uses 0.0.0.0 for DHCP server network

Regardless what forum denizens think... QuickSet should work reliably. And it's useful - instead of visiting 5-10+ dialogs/CLI cmds, you can get a router online with IP and routing in ONE screen. And, the CCR2004-1G-12S+2XS's website suggests as much: The “Improvise. Adapt. Overcome.” mindset can be...
by Amm0
Sat Oct 12, 2024 6:52 pm
Forum: Announcements
Topic: v7.17beta [testing] is released!
Replies: 553
Views: 87445

Re: v7.17beta [testing] is released!

Creating support ticket is the most effective tool we have. * with a supout.rif - even if you think the problem is obvious and easily tested... In same PSA category... if someone does try 7.17... then find a problem and downgrades... I'd recommend always generating the supout.rif before downgrade ,...
by Amm0
Fri Oct 11, 2024 5:18 pm
Forum: Containers
Topic: Running Node Red on container, which one?
Replies: 26
Views: 2357

Re: Running Node Red on container, which one?

So, in the end, we can say that Alpine adviced the board hAPacX and installed linux for v6, this is why it worked. Yep! The "linux/arm/v6" of hAPac# will limit what you can pull from DockerHub - you'll find way more linux/arm/v7 images on DockerHub since most popular RaspberyPi uses (and ...
by Amm0
Thu Oct 10, 2024 10:32 pm
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 1375
Views: 298187

Re: 📣 WinBox 4 is here 📣

does anyone know how to get tabs on sub menus, is there a setting I am missing? I see tabs on main menus but not sub menus (eg firewall rule), this is harder to view at a glance as you need to expand each section to see the action for example. Oh you're not missing anything, MT only changed the &qu...
by Amm0
Thu Oct 10, 2024 10:17 pm
Forum: Containers
Topic: Running Node Red on container, which one?
Replies: 26
Views: 2357

Re: Running Node Red on container, which one?

FWIW, Alpine Linux has most of the same package as Arch/Ubuntu/etc So your step 1 to 7 steps are exactly the same for most other Linux package offered by Alpine. Basically you just change the "apk add" & /container cmd= changes in your step 8 or 8). :) 8) open terminal on Winbox and op...
by Amm0
Thu Oct 10, 2024 8:39 pm
Forum: Containers
Topic: Running Node Red on container, which one?
Replies: 26
Views: 2357

Re: Running Node Red on container, which one?

Installing NR needs quite a lot, about 5 minutes, that's a sign it works slow, for sure not the proper platform for it. The beginning 174MB free RAM (after booting router) can go to low to 58 during the installation, as well about 60 while installing palette, processor can go about 35%, looks that ...
by Amm0
Thu Oct 10, 2024 8:16 pm
Forum: Scripting
Topic: $PIANO - interactive "player piano" & studio-quality recorder using :beep
Replies: 14
Views: 2575

Re: $PIANO - interactive "player piano" & studio-quality recorder using :beep

But you ain't replacing a keyboard or mixer with :beep anytime soon. Hope I did not sound too serious. Nope. More inspirational. And, I forgot to mention, https://mountainutilities.eu/miditools – since not everyone may have MIDI devices/interfaces – but Midi Tools app can use rtpMIDI. So it is poss...
by Amm0
Thu Oct 10, 2024 6:07 pm
Forum: Scripting
Topic: $PIANO - interactive "player piano" & studio-quality recorder using :beep
Replies: 14
Views: 2575

Re: $PIANO - interactive "player piano" & studio-quality recorder using :beep

Ps. Feature request: MIDI Drivers for MT! There is always midimonster , which can translate/map MIDI into a bunch of protocols and scripts... The only overlap is MQTT, since both RouterOS and midimonster support it. I have a Behringer XTouch , so ended familar with midimonster. And have MQTT setup ...
by Amm0
Thu Oct 10, 2024 4:43 pm
Forum: General
Topic: modify files inside mikrotik
Replies: 13
Views: 746

Re: modify files inside mikrotik

i somehow stuck here /file get test.html contents /file set test.html contents=[/file get test.html contents; :find "http://"; :pick replace with "https://"] but there is no replace....of course.. :oops: The reason why @normis suggested RouterOS is missing `sed` is that it's a l...
by Amm0
Thu Oct 10, 2024 7:11 am
Forum: Scripting
Topic: Inconsistent boolean conversion
Replies: 6
Views: 427

Re: Inconsistent boolean conversion

This is a decades old issue. Similar discussion/complaints here: https://forum.mikrotik.com/viewtopic.php?t=149315&hilit=tobool The basic logic is 0 is "false", and all other numbers make a bool "true". Provide any other type in a [:tobool] the bool becomes will get you a [:n...
by Amm0
Thu Oct 10, 2024 4:22 am
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 1375
Views: 298187

Re: 📣 WinBox 4 is here 📣

no color in the logs ( only black ). +1 - Adding to @TomjNorthIdaho's point... it really does help operationally to quickly spot troubles. i.e. if you see a lot of red when scrolling logs, in just couple seconds ... you know there is an issue. On "colorization needs", I'd add: - Log shoul...
by Amm0
Thu Oct 10, 2024 3:41 am
Forum: Scripting
Topic: $PIANO - interactive "player piano" & studio-quality recorder using :beep
Replies: 14
Views: 2575

Re: $PIANO - interactive "player piano" & studio-quality recorder using :beep

FWIW, even with all the ANSI codes... $PIANO, surprising, renders perfectly in WinBox4 beta & new fonts really look nice. Both Dark Mode and Light Mode.
EvenDarkModeWorks.png
RouterOSPlayerPianoUsingBeep.png
by Amm0
Thu Oct 10, 2024 2:49 am
Forum: Beginner Basics
Topic: Simpler Failover for two Gateways I found working
Replies: 32
Views: 6564

Re: Simpler Failover for two Gateways I found working

Note I'm mentioning more "realtime" things.... These do get tricky on what to do... And some of these protocols have built-in mechanism for failover... so using the protocol-specific failover thing be better, than complex RouterOS config. Most traffic is web traffic, generally speaking. So...
by Amm0
Thu Oct 10, 2024 2:35 am
Forum: Beginner Basics
Topic: Simpler Failover for two Gateways I found working
Replies: 32
Views: 6564

Re: Simpler Failover for two Gateways I found working

Separate from jaclaz question, why not consider VRRP as a way to create a seamless connection from the client (lan) perspective, or will not work in your zooom example. ???? VRRP only help if you had TWO routers. And, for example, someone tripping one routers power/other cable, or your doing up upd...
by Amm0
Thu Oct 10, 2024 2:19 am
Forum: Beginner Basics
Topic: Simpler Failover for two Gateways I found working
Replies: 32
Views: 6564

Re: Simpler Failover for two Gateways I found working

1) is masquerade preferrable also on static setup ( because of the way It handles inherently the existing connections in case of failover) The topic is well-described these days: https://help.mikrotik.com/docs/display/ROS/NAT#NAT-Masquerade .. Every time when interface disconnects and/or its IP add...
by Amm0
Thu Oct 10, 2024 1:19 am
Forum: Beginner Basics
Topic: Simpler Failover for two Gateways I found working
Replies: 32
Views: 6564

Re: Simpler Failover for two Gateways I found working

There is an "option 0 or ♾️"... you can just unplug a WAN cable to cause failover.... if distance=1 on 1st WAN & distance=2 on 2nd WAN default routes... This actually the default on LTE devices (dhcp-client on WAN use default-route-distance=1 & LTE APN uses default-route-distance=2...
by Amm0
Thu Oct 10, 2024 12:22 am
Forum: Beginner Basics
Topic: Simpler Failover for two Gateways I found working
Replies: 32
Views: 6564

Re: Simpler Failover for two Gateways I found working

Isnt that partially taken care of by using masquerade on source nat vice action=srcnat ( for a fixed static IP?).. @anav is point is right, masquerade does a lot of heavy-lifting without any more config. IMO, if you want simple... don't mess with connections or trying optimize failover for ALL traf...
by Amm0
Wed Oct 09, 2024 11:36 pm
Forum: Containers
Topic: New container project: "mikrotik.upgrade.server" / "mus"
Replies: 13
Views: 6244

Re: New container project: "mikrotik.upgrade.server" / "mus"

Well, you are damned right - I break the one-process-one-container rule. [...] Building a lot of different containers for mikrotik in the past, this theory runs as I thought of and makes no trouble at all. I don't disagree with your sentiment. In context of Mikrotik container, the needs are bit dif...
by Amm0
Wed Oct 09, 2024 9:41 pm
Forum: Scripting
Topic: Experiments with [:convert] for bits&bytes +CSV from /iot/...
Replies: 5
Views: 619

Re: Experiments with [:convert] for bits&bytes +CSV from /iot/...

Just to complete the visuals of the "bits&bytes", as parsed by [:convert]*, with some added /iot/mqtt/publish's, now the `mqttui` tool view looks nicer: Screenshot 2024-10-09 at 11.25.12 AM.png # publish each parsed value as new MQTT topic, using array key in topic with MQTT value matc...
by Amm0
Wed Oct 09, 2024 6:22 pm
Forum: Containers
Topic: Running Node Red on container, which one?
Replies: 26
Views: 2357

Re: Running Node Red on container, which one?

Feel free to ignore the script – it shared since I had it and what I used to test. But kinda I'm out suggestions. You have: - ext4 format on USB - using slash-less paths for root-dir / tmpdir - an image that match the architecture – on hAPac2/3 this may not be easy but we confirmed DockerHub has lin...
by Amm0
Wed Oct 09, 2024 5:02 am
Forum: Containers
Topic: Running Node Red on container, which one?
Replies: 26
Views: 2357

Re: Running Node Red on container, which one?

Here is [unclean] script that installs and removes NodeRed using functions. :global containerImageTag "nodered/node-red:3.1.12-minimal" :global makeContainer do={ :local tag $1 :global containerImageTag :if ([:typeof $tag]!="str") do={ :set tag $containerImageTag } # calc default...
by Amm0
Wed Oct 09, 2024 4:44 am
Forum: Containers
Topic: Running Node Red on container, which one?
Replies: 26
Views: 2357

Re: Running Node Red on container, which one?

Ah... I tried it when this thread started on RB1100AHx4, with is also 32-bit ARM... And I check again, still works using :latest. BUT... RB1100AHx4 processor can use linux/arm/ v7 as the architecture. I believe, and don't have one to check, but the hAP ac 3 needs linux/arm/ v6 (as I that's what's ne...
by Amm0
Wed Oct 09, 2024 1:55 am
Forum: Scripting
Topic: Experiments with [:convert] for bits&bytes +CSV from /iot/...
Replies: 5
Views: 619

Re: Experiments with [:convert] for bits&bytes +CSV from /iot/...

There is more code that wires up MQTT to logging, but since this was a text heavy post. The net result here is a log message with Unicode Emoji's Screenshot 2024-10-08 at 3.50.43 PM.png :global parseMqttJson do={ :local fn $decoder :local msg [:deserialize from=json $1] :set ($msg->"values"...
by Amm0
Tue Oct 08, 2024 11:52 pm
Forum: Announcements
Topic: v7.17beta [testing] is released!
Replies: 553
Views: 87445

Re: v7.17beta [testing] is released!

What's new in 7.16 (2024-Sep-20 16:00): *) console - added additional byte-array option to :convert command; *) console - improved :serialize and :deserialize commands and added support for DSV (delimiter separated values) format; What's new in 7.17beta2 (2024-Sep-27 10:07): *) console - added to/f...
by Amm0
Tue Oct 08, 2024 10:19 pm
Forum: Containers
Topic: Running Node Red on container, which one?
Replies: 26
Views: 2357

Re: Running Node Red on container, which one?

Beyond formatting the USB on RouterOS, which sounds like you've. And do not reuse the same root-dir name, without make sure is deleted from files .... This does looks like another gotcha with starting "paths with slash". In RouterOS scripts/config, file paths do NOT generally start with wi...
by Amm0
Tue Oct 08, 2024 10:05 pm
Forum: General
Topic: modify files inside mikrotik
Replies: 13
Views: 746

Re: modify files inside mikrotik

Well you would not be the first to want such a function... see 2018 thread: https://forum.mikrotik.com/viewtopic.php?t=131692&hilit=regex+sed#p646804 yes i did, but i thought its possible to change it. So, any ideas? It's not easy, and limited. But you can :find and :pick your way through it... ...
by Amm0
Tue Oct 08, 2024 9:29 pm
Forum: Scripting
Topic: Experiments with [:convert] for bits&bytes +CSV from /iot/...
Replies: 5
Views: 619

Re: Experiments with [:convert] for bits&bytes from /iot/...

And I guess to complete the 7.16/7.17 new scripting commands examples... While above shows new [:serialize to=json $myarray options=json.pretty] ... Mikrotik also added [:serialize] / [:deserialize] to CSV to RouterOS arrays – to me that actually more generically useful than byte-array things (but s...
by Amm0
Tue Oct 08, 2024 8:18 pm
Forum: Scripting
Topic: Experiments with [:convert] for bits&bytes +CSV from /iot/...
Replies: 5
Views: 619

Experiments with [:convert] for bits&bytes +CSV from /iot/...

Mikrotik recently add newer to/from= in the still new [:convert] function adding to/from =byte-array, =num, =bit-array-msb, =bit-array-lsb ... so I thought I'd provide an concrete example of using them. The =num is new in 7.17, but think the rest are in 7.16. I have a few Dragino LHG65-E1 and KNOT L...
by Amm0
Tue Oct 08, 2024 3:38 pm
Forum: Announcements
Topic: Question to our users about controllers
Replies: 66
Views: 30673

Re: Question to our users about controllers

@normis asked a 2nd question here... ========== NEW QUESTION ========== Thank you all for input. New question. What specific features would you like to provision in these controller type of setups. What is your #1 use case , which config is most often needed to apply "en masse" or to multi...
by Amm0
Mon Oct 07, 2024 8:58 pm
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 1375
Views: 298187

Re: 📣 WinBox 4 is here 📣

I also had [yet] another idea / feature request : "Terminal" window should be dockable – similar to how a browser's "Inspect" window works (or VSCode, etc.). And since we lost "Windows" option on left to see the window list...my terminal windows keep getting lost behind...
by Amm0
Mon Oct 07, 2024 7:08 pm
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 1375
Views: 298187

Re: 📣 WinBox 4 is here 📣

IDK your OS... but why not exempt *.mikrotik.com in the network settings for the proxy?
by Amm0
Mon Oct 07, 2024 5:52 pm
Forum: Announcements
Topic: Newsletter #120 | September 2024
Replies: 56
Views: 17933

Re: Newsletter #120 | September 2024

That's one way of enforcing the spacing requirements for the SFPs.
by Amm0
Mon Oct 07, 2024 5:15 pm
Forum: General
Topic: Feature Request: Link "check-gateway" in routes to a netwatch item(s)
Replies: 11
Views: 2422

Re: Feature Request: Link "check-gateway" in routes to a netwatch item(s)

I was going to ask for a feature to be able to ping check in route to any arbitrary address instead of just the gateway, but Amm0's suggestion is even more flexible and would greatly simplify multi-wan setups. That was my original thought too. But realized, you want more than just some check-gatewa...
by Amm0
Sun Oct 06, 2024 7:40 pm
Forum: General
Topic: Export session .csv
Replies: 6
Views: 599

Re: Export session .csv

I'm still not sure why using "filename" as variable likely cause the issue. Good to hear, I ended up re-writing half your script so never know if works... . So you're new downloadMib / uploadMib will just round and lose the "after the decimal part", since RouterOS only plain inte...
by Amm0
Sat Oct 05, 2024 11:33 pm
Forum: Announcements
Topic: v7.17beta [testing] is released!
Replies: 553
Views: 87445

Re: v7.17beta [testing] is released!

multi-passphrase is not supported for the WPA3-PSK authentication type. WPA3 will never support PPSK as currently implemented. A simple Google query for WPA3 and PPSK will get you all sorts of information from a variety of networking resources. [...] PPSK gets me back to here, WPA3 and alternative ...
by Amm0
Sat Oct 05, 2024 11:20 pm
Forum: General
Topic: Export session .csv
Replies: 6
Views: 599

Re: Export session .csv

I'm resuming this discussion after a long time as the project had been put on hold. I was hoping the new [:serialize $array to=dsv delim=","] introduced in v7.16 would help. But it does not like the data from [/user-manager/session/print]. And I thought your issue was not using a [:tostr ...
by Amm0
Sat Oct 05, 2024 7:22 pm
Forum: Beginner Basics
Topic: Slow Throughput CHR virtual within Proxmox [SOLVED]
Replies: 10
Views: 4492

Re: Slow Throughput CHR virtual within Proxmox [SOLVED]

Some kind of warning/reminder would be appropriate.
Yup.

Even if the default config on CHR just had some config to add a "note" would help:
/system/note/set note="Using free license, speed limited to 1Mb/s"
by Amm0
Sat Oct 05, 2024 1:16 am
Forum: General
Topic: ROS Scripting question
Replies: 6
Views: 472

Re: ROS Scripting question

And because the array does not have keys (I hope that's the right term), the values in the array are referenced by their position using: $i-># as in: :local currentInterfaceName ($i->0) Correct? Yup. Let me provide a quick example that you can try... And show using "named" array elements ...
by Amm0
Fri Oct 04, 2024 10:57 pm
Forum: Announcements
Topic: v7.16.1 [stable] is released!
Replies: 401
Views: 89064

Re: v7.16 [stable] is released!

The A record is not "explicit". It also matches foobar.nas.home.arpa. True. But to @kenzo's point RouterOS is ill-suited to this. Along the "home.arap" A records, it's also very likely SRV and PTR ones too also with ".home.arpa" that escape too. So, theoretically, you ...
by Amm0
Fri Oct 04, 2024 10:19 pm
Forum: Announcements
Topic: v7.16.1 [stable] is released!
Replies: 401
Views: 89064

Re: v7.16 [stable] is released!

It seems to me that administrative control over DNS leakage is lacking on RouterOS. That jumped the shark since a client can just use DoH etc... Plus "content filtering" is rapidly moving target...and RouterOS development is not rapid. And they give you some tools, like regex/match-subdom...
by Amm0
Fri Oct 04, 2024 9:46 pm
Forum: Announcements
Topic: v7.17beta [testing] is released!
Replies: 553
Views: 87445

Re: v7.17beta [testing] is released!

what could be so f***ed up that you can't fix it from the fully working command line, but you can type "partition activate" command? Not theoretical - related to "downgrade" device mode 3rd party LTE modems breaking after a version upgrade While rare (and good work by LTE folks)...
by Amm0
Fri Oct 04, 2024 8:20 pm
Forum: Announcements
Topic: v7.17beta [testing] is released!
Replies: 553
Views: 87445

Re: v7.17beta [testing] is released!

- People who want to know what exactly will happen, and who have not yet read the previous posts. I try to answer them. Using CLI/scripting – say from defconf or netinstall script – how do you check if a particular "device-mode" is activate? All the usual CLI/scripting things cannot get t...
by Amm0
Fri Oct 04, 2024 4:49 pm
Forum: General
Topic: Device got hacked 1 min after connected to internet
Replies: 51
Views: 4885

Re: Device got hacked 1 min after connected to internet

Just some clarification, all devices with LTE and WiFI come with default password for at least a year, I think. I have to check for up to date info. I think the last remaining devices with no password are CCR series. and if y'all add eSIM support... you'd have to provision something in config for L...
by Amm0
Fri Oct 04, 2024 4:41 pm
Forum: General
Topic: Device got hacked 1 min after connected to internet
Replies: 51
Views: 4885

Re: Device got hacked 1 min after connected to internet

Sure, "interesting case" here, as @optio put... But solution is for @normis/team to update the netinstall and reset-configuration docs to clarify to REMOVE any potential internet source, including SIM cards. So, yes, "what if my SIM is stuck" - you hopefully find this thread. But...
by Amm0
Fri Oct 04, 2024 6:57 am
Forum: General
Topic: modify files inside mikrotik
Replies: 13
Views: 746

Re: modify files inside mikrotik

is it possible to modify a files which are uploaded into Files in mikrotik routers via cli? I need to change some link inside it. I can access edit it via file edit value-name=contents test.txt but how to change set it there through terminal /file set test.txt contents="Did you want to write s...
by Amm0
Fri Oct 04, 2024 4:53 am
Forum: General
Topic: Tools for graphs and reports
Replies: 2
Views: 275

Re: Tools for graphs and reports

I think your bigger problem is the newer wifi-qcom / wifi-qcom-ac wi-fi drivers (former is used on hAPax3) ... do not support SNMP data at present. Even if you wanted to use the Dude, it won't work for Wi-Fi stats. Same with Zabbix/etc/etc. You need some source data, and RouterOS does not send any f...
by Amm0
Thu Oct 03, 2024 11:37 pm
Forum: Scripting
Topic: Find and disable/enable users by part of their name
Replies: 6
Views: 471

Re: Find and disable/enable users by part of their name

/user disable [find where user~"abc123"] there is a different six-digit order of numbers, which is always different on all routers. @rextended is showing using a regular expression with the "~" instead of "=". That is critical here. I don't know what your trying to mat...
by Amm0
Thu Oct 03, 2024 11:06 pm
Forum: General
Topic: LTE Modem Firmware Upgrade - Has anyone got any troubleshooting tips?
Replies: 8
Views: 10379

Re: LTE Modem Firmware Upgrade - Has anyone got any troubleshooting tips?

The better question is why the standard upgrade process does not work... Mikrotik does document the LTE firmware upgrade here: https://help.mikrotik.com/docs/display/ROS/LTE#LTE-Modemfirmwareupgrade So some additional details would help. Likely trying the latest "stable" V7, if not already...
by Amm0
Thu Oct 03, 2024 10:47 pm
Forum: Announcements
Topic: v7.17beta [testing] is released!
Replies: 553
Views: 87445

Re: v7.17beta [testing] is released!

device-mode [...] send somebody to unplug it from power ONCE in it's lifetime [...] [...] you guys are adding both fixes and features in RouterOS 7 at a fast, steady pace (for which we are grateful). [...] Switching back to the previous partition gets us back to a known state (version + config) qui...
by Amm0
Thu Oct 03, 2024 9:38 pm
Forum: Beginner Basics
Topic: the irrationality of [find]
Replies: 18
Views: 788

Re: the irrationality of [find]

I totally agree. Everything should be handled consistently and users shouldn't have to know all the little exceptions that could lead to serious issues. At the very least, the documentation should have clear warnings about these risks. Basically anything that appears on the right-side "Actions...
by Amm0
Thu Oct 03, 2024 9:18 pm
Forum: General
Topic: Device got hacked 1 min after connected to internet
Replies: 51
Views: 4885

Re: Device got hacked 1 min after connected to internet

I think the FUD is a bit overblown. There is nothing to worry about a SIM being in a new unit with factory defaults. The default firewall will protect you and all LTE devices come with a firewall. And on newer AX things, there not a lot of reasons for netinstall, less so in starting from empty confi...
by Amm0
Thu Oct 03, 2024 8:03 pm
Forum: Scripting
Topic: ✂ Rextended Fragments of Snippets
Replies: 107
Views: 90280

Re: ✂ Rextended Fragments of Snippets

This is the 100th post in this thread! :D (The Amm0 's one... ;) ) Well, in honor of my 4,000th post (at time of writing), I decided to follow @ rextended's lead in consolidation. While back, I created a GitHub org called TIKOCI - https://github.com/tikoci - with that idea, but never got to the con...
by Amm0
Thu Oct 03, 2024 5:54 pm
Forum: Beginner Basics
Topic: the irrationality of [find]
Replies: 18
Views: 788

Re: the irrationality of [find]

Oh you should file a bug report. The "reset-counters" should handle the case there is a find & it's nothing.

Just because it's explainable, does mean it makes sense. :?
by Amm0
Thu Oct 03, 2024 1:46 am
Forum: Containers
Topic: Running Node Red on container, which one?
Replies: 26
Views: 2357

Re: Running Node Red on container, which one?

($var->"val") != "<> ~> => <!-- ### ++ -->" Sorry to hijack your thread - this was a duplicated post originally used to test forum's phpBB: [ font = 'JetBrains Mono' ]some->text[ / font ] worked (without spaces) In Chrome, with JetBrain Mono loaded, it does. Safari, no.
by Amm0
Thu Oct 03, 2024 1:45 am
Forum: Containers
Topic: Running Node Red on container, which one?
Replies: 26
Views: 2357

Re: Running Node Red on container, which one?

Good news. I didn't think it was very heavy-weight - but worth testing. FWIW, `top` inside the container may not be the best test, since, I think, memory includes all user available memory, excluding kernel. While the RouterOS values include both. But I'm not 100%... Your stop/start test, and math, ...
by Amm0
Wed Oct 02, 2024 9:42 pm
Forum: Announcements
Topic: v7.17beta [testing] is released!
Replies: 553
Views: 87445

Re: v7.17beta [testing] is released!

I have posted further updates to the manual, so all your Device mode questions should be answered in there . https://help.mikrotik.com/docs/display/ROS/Device-mode Similar question... under "bandwidth-test" ... it does not discuss /tool/speed-test. I guess it's not included if one believe...
by Amm0
Wed Oct 02, 2024 5:17 pm
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 1375
Views: 298187

Re: 📣 WinBox 4 is here 📣

- return ESC shortcut to close sub windows I like the ESC to close — but my issue is that is closes dialogs that are dirty (have changes, but no "apply"). ESC should not close a dialog if it causes data loss . Perhaps it could prompt to apply it before closing would work too. But right no...
by Amm0
Wed Oct 02, 2024 5:05 pm
Forum: General
Topic: ROS Scripting question
Replies: 6
Views: 472

Re: ROS Scripting question

The scripting, and the concepts behind it, are way beyond me, but I am curious what this script does? What problem does it solve? OP uses an array to define what config to later do wrt to interfaces. Mikrotik @dru has a video on arrays here: https://www.youtube.com/watch?v=eWCJw0uZ-lE To summarize,...
by Amm0
Wed Oct 02, 2024 11:40 am
Forum: Beginner Basics
Topic: the irrationality of [find]
Replies: 18
Views: 788

Re: the irrationality of [find]

So it is not a quirk of the find command in itsellf, but rather a "wrong implied default" of "all" in the command /ip hotspot user reset-counters? That's what I'm suggesting: it's the command's logic, not find's logic at issue. A zero-length list is NOT nil/[:nothing], so reset-...
by Amm0
Wed Oct 02, 2024 11:17 am
Forum: Beginner Basics
Topic: the irrationality of [find]
Replies: 18
Views: 788

Re: the irrationality of [find]

Now I get it. I ain't arguing this is great. But it's rational. /ip/hotspot/user/reset-counters has some trickier logic... here "numbers=" attribute is optional . And numbers= is actual name of attribute used by the unnamed arg used by [find name=a]. So "reset-counter" already as...
by Amm0
Wed Oct 02, 2024 10:44 am
Forum: General
Topic: Scheduler not executing my script
Replies: 4
Views: 838

Re: Scheduler not executing my script

It may be permissions (fetch specifically, see docs on /system/script). One tip in scheduler you can use just "on-event=ScheduleDynDNS" to run a script, without the /system/script/run part. Another approach is /ip/cloud – that avoid scripting. You can use CNAME at in your hosted DNS, to ke...
by Amm0
Wed Oct 02, 2024 9:55 am
Forum: Beginner Basics
Topic: the irrationality of [find]
Replies: 18
Views: 788

Re: the irrationality of [find]

No. [find] mean "all". It's a filter, so if you don't apply any filters like name="a" to match, the default is return all. Otherwise, the would be no way to express "find everything". You can test find by using it standalone: :put [/ip hotspot user find name=a] *29 :put...
by Amm0
Wed Oct 02, 2024 4:31 am
Forum: General
Topic: ROS Scripting question
Replies: 6
Views: 472

Re: ROS Scripting question

It's a list of lists, so index es are just the numbers, wrapped in (). So... ($interfaceConfigs->0->1) would be 52821 Notes: - Do not use ($interfaceConfig->"1") as that will not work in the case, plain numbers for a list. The ($array->"1") syntax - with quotes - is for map array...
by Amm0
Tue Oct 01, 2024 8:58 pm
Forum: Virtualization
Topic: Router OS 7 on UEFI
Replies: 65
Views: 13106

Re: Router OS 7 on UEFI

NOT a fully tested script, only the needed info and the commands I used manually. I can offer a self-service solution to building them.... FWIW, you/anyone to rebuild the image using any script with GitHub running it using "GitHub Actions". Basically, the steps to "Creating your own ...
by Amm0
Tue Oct 01, 2024 8:17 pm
Forum: Announcements
Topic: Newsletter #120 | September 2024
Replies: 56
Views: 17933

Re: Newsletter #120 | September 2024

Why no SFP+ port (or two)?
My guess: the additional heat from SFPs requires fan/more complex cooling. See CRS304 (plastic) vs CRS305 (metal).
(& reason alone for the nomenclature variance IMO)
by Amm0
Tue Oct 01, 2024 8:03 pm
Forum: Announcements
Topic: v7.17beta [testing] is released!
Replies: 553
Views: 87445

Re: v7.17beta [testing] is released!

So it seems that when you try to setup partitions while not having that device-mode option set, it just corrupts the device? That is even worse than being unable to switch partitions after upgrade... That be my take. I only went down the rabbit hole since the RB1100 had a physical serial port. Clea...
by Amm0
Tue Oct 01, 2024 7:37 pm
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 1375
Views: 298187

Re: 📣 WinBox 4 is here 📣

feature request - Support Apple Passwords/Keychain/Secure Enclave to store RouterOS username/passwords Since we now have a native app, it be nice if I could read/store the RouterOS creds with all my other passwords in the Keychain used by iOS/MacOS. To me, this is more secure, than some encrypted f...
by Amm0
Tue Oct 01, 2024 6:29 pm
Forum: Announcements
Topic: v7.17beta [testing] is released!
Replies: 553
Views: 87445

Re: v7.17beta [testing] is released!

@pe1chl, I kinda figured that, since you can see those options in /partition – I just played dumb, and followed winbox... it wanted asked to reboot, so I just said yes & wanted to see what happen. And, I confirmed it was running the matching firmware before doing this too. But after reboot, I co...
by Amm0
Tue Oct 01, 2024 6:03 pm
Forum: Announcements
Topic: v7.17beta [testing] is released!
Replies: 553
Views: 87445

Re: v7.17beta [testing] is released!

I sure hope there will be a clear explanation of what happens to existing devices that use those features, for all reasonable existing device-mode settings. On my test RB1100AHx4 with 7.17beta2, it showed partitioning menu (with device-mode showing "mode: advanced" and container=yes"...
by Amm0
Tue Oct 01, 2024 2:09 am
Forum: General
Topic: WebFig Skins no longer working
Replies: 6
Views: 1674

Re: WebFig Skins no longer working

From what I’ve seen, creating a skin through WebFig first, then using that folder for your uploads, seems to be the workaround. I've also run into similar problems where SCP alone didn’t cut it. That's the best advice: let webfig create it first. Especially if you have an older router, I'm not 100%...
by Amm0
Mon Sep 30, 2024 9:30 pm
Forum: Scripting
Topic: REST API schema for Postman & more
Replies: 8
Views: 8407

Re: REST API schema for Postman & more

Just registered to say thank you for sharing this! Thanks! I recently created a Postman "code generator" to convert a Postman Request JSON, into the right /tool/fetch. I'm still working on it & Postman needs to accept it. But the project would allow RouterOS /tool/fetch "code sni...
by Amm0
Mon Sep 30, 2024 3:32 pm
Forum: Containers
Topic: Running Node Red on container, which one?
Replies: 26
Views: 2357

Re: Running Node Red on container, which one?

BY the way I'm curious how you modified settings.json having only NR, on settings it doesn't seem possible. Maybe you used NR nodes to open and edit file? Regular Docker allows you do a -p 80:1880 to map port..,so the node-red image assumes that how to re-map ports. Now, some/most containers let yo...
by Amm0
Mon Sep 30, 2024 1:05 am
Forum: Beginner Basics
Topic: Scripting - changing interface paramters
Replies: 2
Views: 235

Re: Scripting - changing interface paramters

Question is: Can I modify the value of the remote-address of my IPIPv6 from the same script? First thought that PUTting /interface ipipv6 ipipv6-DGN remote-address=$AFTRname would work, but nay... I think you're missing a "set" in your command: /interface ipipv6 set ipipv6-DGN remote-addr...
by Amm0
Mon Sep 30, 2024 12:51 am
Forum: Containers
Topic: Running Node Red on container, which one?
Replies: 26
Views: 2357

Re: Running Node Red on container, which one?

In the other topic Amm0 wrote about https and certificates, I suppose they may be useful for the DNS purpose he focused to solve, is it correct? About NR interface is just necessary to work with http, it's fine. Correct, HTTPS was strictly needed in the "poor-man's" captive portal NodeRED...
by Amm0
Sun Sep 29, 2024 9:01 pm
Forum: Announcements
Topic: v7.16.1 [stable] is released!
Replies: 401
Views: 89064

Re: v7.16 [stable] is released!

If the DNS server run by RouterOS has two /ip/dns/static records (in that order): nas.home.arpa A 192.168.1.101 *.home.arpa$ NXDOMAIN Then, per my understanding of the docs, client’s request for nas.home.arpa is going to match [2]. Am i wrong? Yes, you're wrong. The regex entry matches instead. FWI...
by Amm0
Sun Sep 29, 2024 8:34 pm
Forum: Virtualization
Topic: Router OS 7 on UEFI
Replies: 65
Views: 13106

Re: Router OS 7 on UEFI

Basically I agree with @sindy: I would expect gentlemen in Riga to provide either "BIOS CHR" and "UEFI CHR" images or a "universal CHR" image off the shelf rather than offloading that task to volunteers. [...] so a UEFI boot in a hosting is not a niche case any more. Tw...
by Amm0
Sun Sep 29, 2024 7:32 pm
Forum: Virtualization
Topic: Router OS 7 on UEFI
Replies: 65
Views: 13106

Re: Router OS 7 on UEFI

Somehow, I would expect gentlemen in Riga to provide either "BIOS CHR" and "UEFI CHR" images or a "universal CHR" image off the shelf rather than offloading that task to volunteers. [...] Yeah that was my point to @jaclaz – Mikrotik should fix the UEFI & they'd kno...
by Amm0
Sun Sep 29, 2024 6:31 pm
Forum: Scripting
Topic: Add more logged detail to fetch?
Replies: 4
Views: 612

Re: Add more logged detail to fetch?

I have not studied @jonte's Splunk scripts, so bit blind on what they might capture. Fundamentally, the logging system has some limits - which @jonte/others have cataloged. The one trick logging does have is adding more/"duplicate" /system/logging/actions (and use them for different subset...
by Amm0
Sun Sep 29, 2024 3:28 am
Forum: Virtualization
Topic: Router OS 7 on UEFI
Replies: 65
Views: 13106

Re: Router OS 7 on UEFI

@jaclaz, I wouldn't get too crazy. The 2-3 cases of AppleVZ, Vultr, and potentially "Gen2" Hyper-V. And I do kinda think it be better to use the official Mikrotik ones if at all possible & those do work on BIOS system. So the fact these are EUFI only is kinda a safety net. Plus, there ...
by Amm0
Sat Sep 28, 2024 11:23 pm
Forum: Virtualization
Topic: Router OS 7 on UEFI
Replies: 65
Views: 13106

Re: Router OS 7 on UEFI

Tried also with NVMe interface, I'm running also Debian arm64 with Apple Virtualization and it requires NVMe to avoid FS corruption, unfortunately for ROS boot same result. Well we tried. There not a lot options to tweak, and I'd image the issue with AppleVM + CHR + ARM64 isn't partitioning. Thanks!
by Amm0
Sat Sep 28, 2024 11:20 pm
Forum: Containers
Topic: New container project: "mikrotik.upgrade.server" / "mus"
Replies: 13
Views: 6244

Re: New container project: "mikrotik.upgrade.server" / "mus"

Fair enough, it on the Alpine mirror list (https://mirrors.alpinelinux.org). The docs use "dl-cdn.alpinelinux.org", so the complex DNS name caught me off guard. Now you violating the core Docker philosophy with openrc (i.e. one container, one thing) ;). But I'm not such a purist. Especiall...
by Amm0
Sat Sep 28, 2024 11:02 pm
Forum: Virtualization
Topic: Router OS 7 on UEFI
Replies: 65
Views: 13106

Re: Router OS 7 on UEFI

Since I have it running on Intel mac, on arm mac was just POC tryout. Yeah same boat, I have 2019 MacBook Pro with Intel i9. Since I do deal with [Intel] VMs enough, I didn't want to mess with Rosetta ;). The only thing else to try for UTM+Apple+ARM64 be checking the "Use NVMe"box – that ...
by Amm0
Sat Sep 28, 2024 10:50 pm
Forum: General
Topic: Trouble: Can't connect to ATL after update [SOLVED]
Replies: 45
Views: 2341

Re: Trouble: Can't connect to ATL after update [SOLVED]

And in this post, there are the CLI commands for upgrading LTE things:
viewtopic.php?t=199087&hilit=band+66#p1025119
by Amm0
Sat Sep 28, 2024 10:44 pm
Forum: Virtualization
Topic: Router OS 7 on UEFI
Replies: 65
Views: 13106

Re: Router OS 7 on UEFI

No luck, same issue as with my modifications on image. com.apple.Virtualization.VirtualMachine stuck on 400% cpu, it seems loop, no output on serial console or display. Remove the display – that does not work in UTM+Apple. It's serial only on X86, so imagine it's the same on ARM64. I think Apple us...
by Amm0
Sat Sep 28, 2024 10:33 pm
Forum: General
Topic: Trouble: Can't connect to ATL after update [SOLVED]
Replies: 45
Views: 2341

Re: Trouble: Can't connect to ATL after update [SOLVED]

Good news. Sorry if I sounded short, but 7.5 was just a bad idea. And totally get it was some Mikrotik that who somehow broke it, to require the roof + netinstall. And, clearly MT should remove that "7.5" reference (or update the page so highlight that someone re-confirmed it ;) ) to avoid...
by Amm0
Sat Sep 28, 2024 10:14 pm
Forum: Virtualization
Topic: Router OS 7 on UEFI
Replies: 65
Views: 13106

Re: Router OS 7 on UEFI

Test them both using Apple Virtualization (in UTM and Swift Playground), so they generally work. Tested on mac with arm64 or x86_64 arch? Since I'm running the CHR superstore, I built an ARM64 image with the FAT modification for 7.17beta2: https://github.com/tikoci/fat-chr/releases/tag/Build1108629...
by Amm0
Sat Sep 28, 2024 9:17 pm
Forum: General
Topic: Trouble: Can't connect to ATL after update [SOLVED]
Replies: 45
Views: 2341

Re: Trouble: Can't connect to ATL after update [SOLVED]

This has gotten silly. I don't know what to tell you. You should run latest LTE firmware, RouterBOOT and RouterOS to start and troubleshoot any issues from there. FWIW... now you've likely downgraded the RouterBOOT firmware to 7.5. And if there was somehow fix for netinstall in the firmware between ...
by Amm0
Sat Sep 28, 2024 9:03 pm
Forum: General
Topic: Trouble: Can't connect to ATL after update [SOLVED]
Replies: 45
Views: 2341

Re: Trouble: Can't connect to ATL after update [SOLVED]

Netinstall problems are rare. Well, other than not be able to run it because of OS security block DHCP/TFTP (aka windows), or doing the "reset button dance" incorrectly. More relevant than "factory-*" version, at least to netinstall, is current-firmware= in /system/routerboard. T...
by Amm0
Sat Sep 28, 2024 8:43 pm
Forum: Virtualization
Topic: Router OS 7 on UEFI
Replies: 65
Views: 13106

Re: Router OS 7 on UEFI

@jaclaz, you're the boss - 7.17.beta2 mangled using your gdisk magic made Vultr happy. And I rebuilt the 7.15.3 and 7.16 images to use/default to the @jaclaz variant on GitHub: 7.15.3 - https://github.com/tikoci/fat-chr/releases/tag/Build11085737402-jaclaz 7.16 - https://github.com/tikoci/fat-chr/r...
by Amm0
Sat Sep 28, 2024 7:58 pm
Forum: General
Topic: Trouble: Can't connect to ATL after update [SOLVED]
Replies: 45
Views: 2341

Re: Trouble: Can't connect to ATL after update [SOLVED]

I'd netinstall 7.16, and try that. Based on what? The manual is clear - 7.5. What is there to try? Well... a decade of knowing Mikrotik is not great at updating documentation. And, you have a pretty locked down router, so if you have security needs... there no security patches/hotfixes/etc in older...
by Amm0
Sat Sep 28, 2024 7:50 pm
Forum: Containers
Topic: New container project: "mikrotik.upgrade.server" / "mus"
Replies: 13
Views: 6244

Re: New container project: "mikrotik.upgrade.server" / "mus"

Nifty work. But is there a reason you're not using the Alpine CDN URLs? In Dockerfile, RUN echo 'https://ftp.halifax.rwth-aachen.de/alpine/v3.20/main/' >> /etc/apk/repositories \ && echo 'https://ftp.halifax.rwth-aachen.de/alpine/v3.20/community' >> /etc/apk/repositories \ && apk add...
by Amm0
Sat Sep 28, 2024 6:47 pm
Forum: General
Topic: Trouble: Can't connect to ATL after update [SOLVED]
Replies: 45
Views: 2341

Re: Trouble: Can't connect to ATL after update [SOLVED]

I'd netinstall 7.16, and try that. If there was some security patch, you'd be force to upgrade form 7.5 anyway & have these same troubles (except it could be potentially be back on roof) . If you troubleshoot 7.16 while it NOT on the pole, you'd be better set for future updates. And, importantly...
by Amm0
Sat Sep 28, 2024 6:21 pm
Forum: Announcements
Topic: v7.17beta [testing] is released!
Replies: 553
Views: 87445

Re: v7.17beta [testing] is released!

No need to have the vlan interfaces created on the ethernet interface, just one pppoe-server specifying all the vlan id where it could work and applied on the ethernet interface. What if I want that one specific vlan on a range operates on a different profile? What if I want that one specific vlan ...
by Amm0
Sat Sep 28, 2024 5:37 pm
Forum: RouterBOARD hardware
Topic: Running out of space on hAP ac2 [SOLVED]
Replies: 51
Views: 15719

Re: Running out of space on hAP ac2 [SOLVED]

Few notes here since this whole 16MB flash comes up in my world... - The only thing that truly cleans things is doing netinstall. And, if want to run wifi-qcom-ac, IMO, you should go through the trouble of netinstall. - The amount of free space even if clean can still vary because not everyone is go...
by Amm0
Sat Sep 28, 2024 4:52 am
Forum: The Dude
Topic: dude server
Replies: 5
Views: 826

Re: dude server

I think ChatGPT has already had too many drinks.

Let me know how well that works out for you. Dude's permissions follow Winbox permission, and that level of granularity isn't possible. If not, please let me know.
by Amm0
Sat Sep 28, 2024 4:34 am
Forum: Scripting
Topic: Add more logged detail to fetch?
Replies: 4
Views: 612

Re: Add more logged detail to fetch?

fetch is a log topic, so first thing you want to do is enable that in /system/logging! You may need to add !raw - as it can log too much! e.g. Here is 301 Redirect "hard failure" in 7.17 shown in logs: 2024-09-27 17:41:08 fetch,debug Download from https://wttr.in/@mikrotik.com?format=4 to ...
by Amm0
Sat Sep 28, 2024 2:53 am
Forum: The Dude
Topic: dude server
Replies: 5
Views: 826

Re: dude server

You should look at webfig, but I just tried to do this & the SVG with Dude map in webfig is NOT controllable by skins... But a skin can limit what a user would see to just all maps. It them seeing only one map that be a problem.
by Amm0
Sat Sep 28, 2024 2:42 am
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 1375
Views: 298187

Re: 📣 WinBox 4 is here 📣

Must've just been a fluke one off, that severely angered me. Back to using Winbox4 beta... FWIW, if that's in some scheduled script, I'd add some "... print" before remove - just possibly prevent stale/in-flight config/realtime data from being used (i.e. kinda like F5 in winbox gets a ref...
by Amm0
Sat Sep 28, 2024 2:21 am
Forum: The Dude
Topic: dude server
Replies: 5
Views: 826

Re: dude server

Not in the Dude, basically there is database & user has either read/write or read. It's policy system is even worse the RouterOS... But... if it's just the maps or a map... One approach is to use webfig to show them . While webfig [unforentely] does not show very much from the dude, it would sho...
by Amm0
Sat Sep 28, 2024 1:25 am
Forum: General
Topic: Big Config Sanity Check..
Replies: 2
Views: 616

Re: Big Config Sanity Check..

Looks mostly right from a quick read. I'd make sure the VRRP in the same interface-list as the VLAN is, since traffic go in/out of VRRP directly (which might not be treated same as VLAN depending on specific FW rules). Now its queuing strategy could use some work IMO. But I'm not the expert & so...
by Amm0
Sat Sep 28, 2024 12:37 am
Forum: Announcements
Topic: v7.16.1 [stable] is released!
Replies: 401
Views: 89064

Re: v7.16 [stable] is released!

You can have a couple of .home.arpa records in the DNS and at the end a *.home.arpa$ record with NXDOMAIN. From the docs : [...] In case an entry does not conform with DNS naming standards I never tried that, but doesn't that mean all *.home.arpa recrods going to be effectively NXDOMAIN'd? Oh the a...
by Amm0
Fri Sep 27, 2024 9:54 pm
Forum: Announcements
Topic: v7.17beta [testing] is released!
Replies: 553
Views: 87445

Re: v7.17beta [testing] is released!

The width of the current terminal does affect how many columns it outputs.... sure it ain't that? Very sure Hmm, I couldn't repo in 7.17beta, RB1100AHx, WinBox4 terminal: routing/route/print where afi~"ip6" Flags: U - UNREACHABLE, A - ACTIVE; c - CONNECT, d - DHCP; H - HW-OFFLOADED; B - B...
by Amm0
Fri Sep 27, 2024 9:48 pm
Forum: Virtualization
Topic: Router OS 7 on UEFI
Replies: 65
Views: 13106

Re: Router OS 7 on UEFI

as soon as Sindy will be able to (hopefully) report success in the environment(s) he uses, the matter should be pseudo-solved. Sorry, it was neither soon nor 100% success. Both the pre-cooked images from @Amm0 I've tried, i.e. chr-7.16.uefi-fat.raw and chr-7.16.uefi-fat-kriszos.raw, [...] neither o...
by Amm0
Fri Sep 27, 2024 9:36 pm
Forum: Virtualization
Topic: Router OS 7 on UEFI
Replies: 65
Views: 13106

Re: Router OS 7 on UEFI

Ran the 3 image scripts (jaclaz, kriszos, no-gdisk) again with 7.17beta2. Same as 7.16, kriszos script fails in middle because of the "overlap", the other two work. @jaclaz's gdisk script gets to "The operation has completed successfully.". Apple requires only FAT, so all three w...
by Amm0
Fri Sep 27, 2024 8:59 pm
Forum: Announcements
Topic: v7.17beta [testing] is released!
Replies: 553
Views: 87445

Re: v7.17beta [testing] is released!

On the stats from 7.16 to 7.17beta2, there are +74 new commands and +803 new attributes (although the "group-by" gins up the numbers since that in a lot of places ;)) *) zerotier - upgraded to version 1.14.0; +1 +½ There are also newer options in ZeroTier too that are not exposed... yet? ...
by Amm0
Fri Sep 27, 2024 8:52 pm
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 1375
Views: 298187

Re: 📣 WinBox 4 is here 📣

subtle usability - show new package download like the winbox upgrade in top bar In the WinBox4 scheme, the new System>Packages dialog is actually more confusing IMO. Perhaps I'm dumb, but actually I keep hitting OK instead of hitting the action button. I get this follows the new scheme, but winbox3...
by Amm0
Fri Sep 27, 2024 8:40 pm
Forum: Announcements
Topic: v7.17beta [testing] is released!
Replies: 553
Views: 87445

Re: v7.17beta [testing] is released!

on 7.16 and above > routing/route/print where afi=l2vpn Flags: H - HW-OFFLOADED Columns: DST-ADDRESS, AFI DST-ADDRESS AFI before 7.16 > routing/route/print where afi=l2vpn Flags: U - UNREACHABLE, A - ACTIVE; b - BGP; H - HW-OFFLOADED; + - ECMP Columns: DST-ADDRESS, GATEWAY, AFI, DISTANCE, SCOPE, TA...
by Amm0
Fri Sep 27, 2024 8:30 pm
Forum: General
Topic: Trouble: Can't connect to ATL after update [SOLVED]
Replies: 45
Views: 2341

Re: Trouble: Can't connect to ATL after update [SOLVED]

As I said, I use only SSH to connect to any of the routers and all other methods were intentionally disabled for security reasons.
Gotcha. Well, then it's getting it off the roof/tower to reset it one way or another.

I'll note at some level, you can get too crazy locking these down...
by Amm0
Fri Sep 27, 2024 7:23 pm
Forum: Containers
Topic: Containers wont start on RB3011 UiAS Topic is solved
Replies: 29
Views: 2238

Re: Containers wont start on RB3011 UiAS Topic is solved

Okay, I have no idea now. Make sure to include the supout.rif in your support case, as that has logs/config for them.
by Amm0
Fri Sep 27, 2024 7:19 pm
Forum: Containers
Topic: Containers wont start on RB3011 UiAS Topic is solved
Replies: 29
Views: 2238

Re: Containers wont start on RB3011 UiAS Topic is solved

I just try this example and does't seem to work... i just use: "usb2-part1/debian/container1"

For some weird reason the alpine image works... :lol:
What partitioning is used on the usb2-part1? If it's FAT you'd want to keep the names shorter. And if FAT, maybe use an ext4 partition.
by Amm0
Fri Sep 27, 2024 7:14 pm
Forum: General
Topic: Trouble: Can't connect to ATL after update [SOLVED]
Replies: 45
Views: 2341

Re: Trouble: Can't connect to ATL after update [SOLVED]

That seems like good news — If you can get into the ATL via ssh and 192.168.188.1 - there is no need for going to mast. No, it's the opposite. Quoting myself: I can't ping anything (even the gateway), I can't SSH to the gateway. And you tried winbox to see if shows up as "Neighbor" with M...
by Amm0
Fri Sep 27, 2024 7:12 pm
Forum: Containers
Topic: Containers wont start on RB3011 UiAS Topic is solved
Replies: 29
Views: 2238

Re: Containers wont start on RB3011 UiAS Topic is solved

In simplier terms, root-dir= is the file name for the container image so it has to be unique. Despite having "-dir" in the name. No slash at start or end!
by Amm0
Fri Sep 27, 2024 7:08 pm
Forum: Containers
Topic: Containers wont start on RB3011 UiAS Topic is solved
Replies: 29
Views: 2238

Re: Containers wont start on RB3011 UiAS Topic is solved

I really would try in the form "root-dir=usb1-part1/some-new-name" from CLI

And make sure you're using the "mount point" shown in "/disk print" (which may not be usb1-part1 in my example).
by Amm0
Fri Sep 27, 2024 7:02 pm
Forum: Containers
Topic: Containers wont start on RB3011 UiAS Topic is solved
Replies: 29
Views: 2238

Re: Containers wont start on RB3011 UiAS Topic is solved

Hmm, if you don't have a preceding slash. Just make sure to pick a new name - I'm not sure what happens if you have had an image file already at the same name. Also keep in mind despite the name "root-dir=", it's actually the name of the container, not a directory to use. So if you keep pi...
by Amm0
Fri Sep 27, 2024 6:56 pm
Forum: Announcements
Topic: v7.17beta [testing] is released!
Replies: 553
Views: 87445

Re: v7.17beta [testing] is released!

After upgrade to 7.17beta2, my RB1100AHx4 test router upgraded no problem. However...a ROSE RAID "disk" did not mount. ROSE-not-working-v7.17beta2.png I rebooted and still did not mount. I removed the RAID "disk", and re-added it again, still did not work. I disabled/renabled the...
by Amm0
Fri Sep 27, 2024 6:13 pm
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 1375
Views: 298187

Re: 📣 WinBox 4 is here 📣

Good grief! Who memorizes ip's? Feature request - resolve DNS name in ALL fields that require an IP or IPv6 address There are a few place where WinBox3 does take a DNS and will resolve it to IP inside of winbox (i.e. where the CLI/APIs want an "ip"/"ipv6" type). Perhaps some con...
by Amm0
Fri Sep 27, 2024 6:04 pm
Forum: Containers
Topic: Containers wont start on RB3011 UiAS Topic is solved
Replies: 29
Views: 2238

Re: Containers wont start on RB3011 UiAS Topic is solved

Well, it annoying and wrong. But I suspect you just need to use "root-dir=usb1-part1/debian-root" — without a leading "/". The mounts don't care about a leading slash, but for some reason root-dir= in main container does. This, I think, is a historic artifact, but CLI never like ...
by Amm0
Fri Sep 27, 2024 5:58 pm
Forum: General
Topic: Trouble: Can't connect to ATL after update [SOLVED]
Replies: 45
Views: 2341

Re: Trouble: Can't connect to ATL after update [SOLVED]

Sorry I was finishing my thread since I like to keep the options together ;). Reading your response. That seems like good news — If you can get into the ATL via ssh and 192.168.188.1 - there is no need for going to mast. Next question be is the LTE connection working, since something there go wrong ...
by Amm0
Fri Sep 27, 2024 5:46 pm
Forum: General
Topic: Trouble: Can't connect to ATL after update [SOLVED]
Replies: 45
Views: 2341

Re: Trouble: Can't connect to ATL after update [SOLVED]

Anyway RouterOS has lots of options to do avoid a netinstall. Just to complete the thread... If you do get to needing a netinstall... you can run it as a container on the hAP. See https://hub.docker.com/r/ammo74/netinstall - this avoid all the setup required on Windows for netinstall Netinstall on ...
by Amm0
Fri Sep 27, 2024 5:29 pm
Forum: General
Topic: Trouble: Can't connect to ATL after update [SOLVED]
Replies: 45
Views: 2341

Re: Trouble: Can't connect to ATL after update [SOLVED]

Also, since I think you have a hAP... this won't help now... but if you enable RoMON & the hAP was on same network as ATL, then RoMON be able to get into ATL via the hAP. It does require using winbox, where you connect to romon on the hAP, and assuming romon was enabled on ATL, winbox then show ...
by Amm0
Fri Sep 27, 2024 5:23 pm
Forum: General
Topic: Trouble: Can't connect to ATL after update [SOLVED]
Replies: 45
Views: 2341

Re: Trouble: Can't connect to ATL after update [SOLVED]

I guess I'm confused. Are you not able to get in after upgrade? Or does it just not work for LTE after upgrade? To clarify my earlier answer: Or is anyone using remote/difficult-to-reach-physically devices doomed to such issues? As noted, the "winbox" client app using ethernet(layer2) so e...
by Amm0
Fri Sep 27, 2024 5:00 pm
Forum: Scripting
Topic: USB GPIO EXTENDER
Replies: 11
Views: 979

Re: USB GPIO EXTENDER

And in recent V7... this would be much easier with [:convert]'s byte-array and bit-array-msb/lsb but I know you got V6.
by Amm0
Fri Sep 27, 2024 4:58 pm
Forum: Scripting
Topic: USB GPIO EXTENDER
Replies: 11
Views: 979

Re: USB GPIO EXTENDER

Now I see where the "string with 10101" OR needs come up in from your other thread. FWIW, if you control what being sent...you can make your parsing on the RouterOS easier. The printf % stuff is pretty flexible, so you can do stuff like add a "0x" with leading zeros (%#010x) or j...
by Amm0
Fri Sep 27, 2024 4:36 pm
Forum: Scripting
Topic: logical "or" over number
Replies: 20
Views: 1849

Re: logical "or" over number

Without any concrete needs/use, are all useless.
See viewtopic.php?t=211251
by Amm0
Fri Sep 27, 2024 3:53 pm
Forum: Announcements
Topic: Newsletter #120 | September 2024
Replies: 56
Views: 17933

Re: Newsletter #120 | September 2024

Another newsletter, and still looking some new products in your nifty "half rack, half U" form form factor(RB5009/L009/...) – like a PoE switch or SFP-only RB5xxxx (to interconnect with other RB5009s in a rack). - CRS304 10G Ethernet switch (no modules needed!) That is a nifty device. But ...
by Amm0
Fri Sep 27, 2024 3:38 pm
Forum: General
Topic: Trouble: Can't connect to ATL after update [SOLVED]
Replies: 45
Views: 2341

Re: Trouble: Can't connect to ATL after update [SOLVED]

Are you using winbox? Assuming you have the defaults, you should be able to get in via its MAC, not IP, address in the WinBox app from the LAN side of the router. If you can get in, look at the Logs & do an :export at Terminal and paste those here if you'd like. If Winbox with MAC address does N...
by Amm0
Fri Sep 27, 2024 3:24 pm
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 1375
Views: 298187

Re: 📣 WinBox 4 is here 📣

Abandoning Winbox 4 [...] I issued a command to delete an address list, [...] Command: /ip firewall address-list remove [find list=z-blocklist_FireHOL_L1 dynamic=yes] This means that beta releases of Winbox should not be used to manage remote devices/systems. Hold on. If you enter a command into th...
by Amm0
Fri Sep 27, 2024 3:03 pm
Forum: Scripting
Topic: USB GPIO EXTENDER
Replies: 11
Views: 979

Re: USB GPIO EXTENDER

It has to be at the end of what returned to RouterOS from your device's serial. The "OK" mean command is done/finished to that what trigger at-chat to put the data from input= to the OK into the variable. sprintf(&UART0.TX, "A%d \r\nOK\r\n" , PA4.VALUE) should work... the lin...
by Amm0
Fri Sep 27, 2024 2:38 pm
Forum: Scripting
Topic: USB GPIO EXTENDER
Replies: 11
Views: 979

Re: USB GPIO EXTENDER

Please tell me, Amm0! Do you not know how the support for AT commands works? I mean, how should the device accessed by the ppp-out interface return the data so that it is "correctly" returned by the interface? I'll explain. There is a programmable version of the device that I described he...
by Amm0
Thu Sep 26, 2024 10:03 pm
Forum: Scripting
Topic: USB GPIO EXTENDER
Replies: 11
Views: 979

Re: USB GPIO EXTENDER

Unfortunately, the module does not support the AT exchange format, so we cannot receive data from the input lines of the module, but we can control the digital outputs by setting their state to "1" or "0". If you connect a relay block to them, you can control low-voltage or high...
by Amm0
Thu Sep 26, 2024 8:53 pm
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 1375
Views: 298187

Re: 📣 WinBox 4 is here 📣

That would help to create a versatile desktop file. On .desktop file topic for Debian/Ubuntu... some SVG version of the WinBox icon be nice (winbox.svg). That allow `/usr/share/icons/hicolor/scalable/apps` to be used and keep the icon "pretty". (and @eworm know if SVG icon help for Arch)
by Amm0
Thu Sep 26, 2024 8:14 pm
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 1375
Views: 298187

Re: 📣 WinBox 4 is here 📣

i have an issue with winbox 4vb8... i can not start winbox. I see it in the processes but the windows of winbox is not starting.. any hints/tipps?
OS / version give more clues... Did it work in previous beta before?
by Amm0
Thu Sep 26, 2024 7:58 pm
Forum: Containers
Topic: Containers wont start on RB3011 UiAS Topic is solved
Replies: 29
Views: 2238

Re: Containers wont start on RB3011 UiAS Topic is solved

It's the "docker build" vs "docker buildx". I'm not sure Mikrotik's Pi-Hole building instructions are right for recent RouterOS. Since GitHub will build Docker images for free for public projects... I just use their "GitHub Actions" to deal with the docker stuff. Works ...
by Amm0
Thu Sep 26, 2024 7:45 pm
Forum: Beginner Basics
Topic: HDHomeRun broadcast is blocked
Replies: 11
Views: 822

Re: HDHomeRun broadcast is blocked

I have a 20 year old one in a HDHomeRun box. I'm going to have to bring that out, these HDHomeRun come up every month in the forum. But that won't help, since I think it's the "firewall" in your diagram. i.e. your PDF shows a firewall & broadcast do not go through a firewall: HDHomeRun...
by Amm0
Thu Sep 26, 2024 7:28 pm
Forum: The Dude
Topic: Dude Client/Server communication security
Replies: 4
Views: 855

Re: Dude Client/Server communication security

FWIW, docs on winbox suggest: "WinBox uses AES128-CBC-SHA as an encryption algorithm (requires WinBox version 3.14 or above)." So hard to know... But IMO dude/winbox protocol should NEVER run over internet (outside a VPN). The dude/winbox/routeros login password should be encrypted... but ...
by Amm0
Thu Sep 26, 2024 7:20 pm
Forum: The Dude
Topic: Upgrading devices from Dude
Replies: 1
Views: 536

Re: Upgrading devices from Dude

If you do "Upgrade" it just downloads the packages AFAIK, so a reboot of the device is what's needed get the applied. If you use "Force Upgrade" that will cause it be applied. AFAIK, you do need all of the package, including any extra-packages in same folder (assuming your device...
by Amm0
Thu Sep 26, 2024 7:18 pm
Forum: The Dude
Topic: dude database is locked - dude file path on smb share using ROSE
Replies: 3
Views: 619

Re: dude database is locked - dude file path on smb share using ROSE

If you disable/re-enable the dude in winbox, does that fix it?

You can try to do a "/dude/vacuum-db" to see if that fixes it or gets an error.
by Amm0
Thu Sep 26, 2024 6:51 pm
Forum: Beginner Basics
Topic: HDHomeRun broadcast is blocked
Replies: 11
Views: 822

Re: HDHomeRun broadcast is blocked

Post your config. It really should work if on the same LAN subnet.

Is it possible that the cisco switch is blocking broadcast to/from Mikrotik? You'd need add a bridge filter rule to actually block broadcast on RouterOS side.

Are we talking SwOS or RouterOS?
by Amm0
Thu Sep 26, 2024 6:48 pm
Forum: Beginner Basics
Topic: HDHomeRun broadcast is blocked
Replies: 11
Views: 822

Re: HDHomeRun broadcast is blocked

Is the HDHomeRun on the same LAN as your client? If they are on same LAN (say 192.168.88.x), then possible the app that's connecting may need permissions on the local OS to allow it receive broadcasts. But no default on RouterOS would block broadcasts within the same LAN. If the HDHomeRun and client...
by Amm0
Thu Sep 26, 2024 6:40 pm
Forum: General
Topic: Home Lab VLAN/Routing Help
Replies: 7
Views: 883

Re: Home Lab VLAN/Routing Help

I guess I'm trying to say is all the routers should generally have the same routes... as the return packets need some path back to the source.
by Amm0
Thu Sep 26, 2024 6:28 pm
Forum: Containers
Topic: Containers wont start on RB3011 UiAS Topic is solved
Replies: 29
Views: 2238

Re: Containers wont start on RB3011 UiAS Topic is solved

If you use my example above (https://forum.mikrotik.com/viewtopic.php?t=211025#p1099369), without any custom build, does that work? It be good to determine if it's your image that's the issue, or if something is actually broken in /container. FWIW, I use GitHub to build containers for RouterOS since...
by Amm0
Thu Sep 26, 2024 6:13 pm
Forum: Scripting
Topic: logical "or" over number
Replies: 20
Views: 1849

Re: logical "or" over number

And we come back to the original problem... How did those bits get represented in a RouterOS string – those had to come from somewhere. So if it was already "\01\00" form, not a string with actual ascii... then everything is easier.
by Amm0
Thu Sep 26, 2024 6:02 pm
Forum: Scripting
Topic: logical "or" over number
Replies: 20
Views: 1849

Re: logical "or" over number

Also, there be another approach using ":convert to=byte-array"to get an array... but that get you the ASCII codes for 1 and 0 :put [:convert to=byte-array from=raw "10101010"] # 49;48;49;48;49;48;49;48 but since that's at least an array, and not a string, you can use a :foreach o...
by Amm0
Thu Sep 26, 2024 5:40 pm
Forum: Scripting
Topic: logical "or" over number
Replies: 20
Views: 1849

Re: logical "or" over number

Do not do the same error, is not a OR or XOR, the number is only one, is just INVERT or at least NOT (can not really be NOT since the base is unknow.....) I wrote it that way and named it wrong. :shock: As you point out, it hard to know what he's looking for. I was just trying to point out getting ...
by Amm0
Thu Sep 26, 2024 5:32 pm
Forum: Scripting
Topic: logical "or" over number
Replies: 20
Views: 1849

Re: logical "or" over number

@Amm0 It would be easier to know where that 01001 came from and why it needs to be transformed into 10110. But @Sertik suckers us in every time. I guess I view his questions a RouterOS version of LeetCode questions (i.e. theoretical CS problems). Anyway, for fun, here is my take: :global invBinaryS...
by Amm0
Thu Sep 26, 2024 4:47 pm
Forum: Containers
Topic: Containers wont start on RB3011 UiAS Topic is solved
Replies: 29
Views: 2238

Re: Containers wont start on RB3011 UiAS Topic is solved

Yeah, I was betting on VETH... but if you re-create it before and don't change it, then that's not VETH. So if you're using a custom build image, you want to make sure to "--sbom=false --provenance=false" to your build as the "attestations" have caused problems in past (and I'm n...
by Amm0
Thu Sep 26, 2024 4:29 pm
Forum: Scripting
Topic: logical "or" over number
Replies: 20
Views: 1849

Re: logical "or" over number

I get @Sertik like a clean simple generic solution. But... once you go beyond 7-bits, all conversions from binary to number need to know a lot more on how the binary is structured. If you really are starting with some LONGER string with binary 1/0's like "01000100101111010101010" — you hav...
by Amm0
Thu Sep 26, 2024 3:42 pm
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 1375
Views: 298187

Re: 📣 WinBox 4 is here 📣

Tend agree that ESC should close any dialog box if it's not be changed (but not Terminal). Now I suspect Mikrotik's internal debate mirror the ones here about what the keyboard shortcuts should be & why there aren't many in the beta's so far. CTRL+D closes the whole terminal window. Except CTRL+...
by Amm0
Thu Sep 26, 2024 3:26 pm
Forum: Beginner Basics
Topic: how to query by query words [SOLVED]
Replies: 7
Views: 1506

Re: how to query by query words [SOLVED]

Oh my god, i thought there could only be one line of operators. Thank you. If you have haven't used an old RPN-based HP calculator, you'd think Mikrotik was crazy for how this works. You can have multiple operators in one line, but you can ALSO have multiple "#operators" in the string arr...
by Amm0
Thu Sep 26, 2024 7:25 am
Forum: Beginner Basics
Topic: how to query by query words [SOLVED]
Replies: 7
Views: 1506

Re: how to query by query words [SOLVED]

You can have multiple "#operators" to resolve the stack as you go. { ".query": [ "chain=chain2", "chain=chain1", "#|", "action=netmap", "action=log", "#|&" "src-address=fd00:0:0:3::/64", "#&" ...
by Amm0
Thu Sep 26, 2024 6:08 am
Forum: The Dude
Topic: Dude version incompatibility
Replies: 1
Views: 561

Re: Dude version incompatibility

Installed TheDude 7.15.3 server (my Cube 60Pro ac building bridge is on that version currently) and enabled it. By accident, I installed version 7.16 of the client. It starts up, displays "Downloading Updates" and then immediately closes. Maybe an "Incompatible version" message ...
by Amm0
Thu Sep 26, 2024 5:50 am
Forum: Containers
Topic: Containers wont start on RB3011 UiAS Topic is solved
Replies: 29
Views: 2238

Re: Containers wont start on RB3011 UiAS Topic is solved

I just do another test. I install an alpine container that just pings 8.8.8.8. And i install it on the internal memory. Same result. Does it still not stay started? One note: it's absolutely critical the VETH is created before the container, once the image is first started those setting get persist...
by Amm0
Thu Sep 26, 2024 4:44 am
Forum: Announcements
Topic: Question to our users about controllers
Replies: 66
Views: 30673

Re: Question to our users about controllers

P.S: it seems nearly all of your wishes can already be accomplished by The Dude. It has groups and mass upgrade and runs on a router. So why not Dude until now? I'll add that Dude's mass upgrade still works , docs are here: https://wiki.mikrotik.com/wiki/Upgrading_RouterOS_with_Dude with an addendu...
by Amm0
Thu Sep 26, 2024 2:41 am
Forum: General
Topic: Home Lab VLAN/Routing Help
Replies: 7
Views: 883

Re: Home Lab VLAN/Routing Help

Yeah your default route look wrong. But it's unclear where the internet go out, so hard to say what to fix.... But the route where the internet goes out is what should the be the gateway= (likely on the 10.0.99.x), and the router with upstream internet needs a NAT masquerade rule too.
by Amm0
Wed Sep 25, 2024 8:33 pm
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 1375
Views: 298187

Re: 📣 WinBox 4 is here 📣

BUG? — drop-drop file(s) fails with error message about disk space (MacOS 15.0 / WinBox4 beta8) My test router has a raid1/ volume with 50GBs free, but the root does have limited space. Upload the WinBox4 button, works fine. But when I drag a file from finder to a disk or directory under raid1/...,...
by Amm0
Wed Sep 25, 2024 8:01 pm
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 1375
Views: 298187

Re: 📣 WinBox 4 is here 📣

It seems that winbox4 uses UTF-8 (finally), just like (probably) your web browser running webfig. Ah, but the WinBox4 Terminal is like weird transfer area at an airport ;) Take some UTF-8 stuff in an interface name/comment: UTF8inInterfaceWinBox4Window.png If one follows the UTF-8 is the "code...
by Amm0
Wed Sep 25, 2024 6:49 pm
Forum: General
Topic: Device got hacked 1 min after connected to internet
Replies: 51
Views: 4885

Re: Device got hacked 1 min after connected to internet

I think @optio is getting a bad wrap here. He was trying re-enforce the point that an attack can happen quickly. And LTE can surprise you since it can, sometimes, take no configuration to come up and work with a public IP. (Now... having public IP on LTE is not that common, and more typical CGNAT fr...
by Amm0
Wed Sep 25, 2024 4:10 pm
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 1375
Views: 298187

Re: 📣 WinBox 4 is here 📣

- Focus on the first input field when opening a subwindow form - Select all text when changing fields with Tab - Add submitting forms with Enter key It be nice if <tab> go through ALL the setting in a dialog box. Specifically <tab> should: - open the collapsed sections when <tab>'ing (if the editab...
by Amm0
Wed Sep 25, 2024 3:50 pm
Forum: Scripting
Topic: get variables from file [SOLVED]
Replies: 3
Views: 1014

Re: get variables from file [SOLVED]

FWIW, if you can control the format of the file with variables... you may want to consider using JSON in the file...as that be one operation with the new deserialize: :global myconfig [:deserialize from=json [/file get $myjson contents]] But your original data have to be JSON: { "SCRIPT_VERSION...
by Amm0
Wed Sep 25, 2024 2:19 pm
Forum: Beginner Basics
Topic: how to query by query words [SOLVED]
Replies: 7
Views: 1506

Re: how to query by query words [SOLVED]

... and you asked a similar question here: viewtopic.php?t=198974#p1021503
by Amm0
Wed Sep 25, 2024 2:18 pm
Forum: Beginner Basics
Topic: how to query by query words [SOLVED]
Replies: 7
Views: 1506

Re: how to query by query words [SOLVED]

You have to use a POST method, and use the ".query" parameter to specify the filter to apply. But the syntax for .query is stack-based is a bit complex. There are some examples here; https://forum.mikrotik.com/viewtopic.php?t=204028&hilit=.query The other approach is to do a GET (or PO...
by Amm0
Wed Sep 25, 2024 4:43 am
Forum: The User Manager
Topic: SQL type of Usermanager
Replies: 9
Views: 6276

Re: SQL type of Usermanager

I have made progress, I'm reading and writing without any problem from my VB.net application to the sqldb database. The only problem I still got is that usermanager seem to refresh the database. I think there is to version of the database. One is save on ROM and one seem to be load in memory. I mak...
by Amm0
Wed Sep 25, 2024 3:43 am
Forum: General
Topic: RoS 7.16 RC4 mDNS
Replies: 34
Views: 5186

Re: RoS 7.16 RC4 mDNS

Well... that's true. But still need EoIP to add the multicast to WG – but you're right the EoIP can run over an existing WG tunnel (and skip the IPSec stuff that's built in to EoIP). * Both ends use EoIP over the Wireguard link (with no IPSEC). * End A connects it's EoIP port to the bridge/VLAN of ...
by Amm0
Wed Sep 25, 2024 12:01 am
Forum: General
Topic: RoS 7.16 RC4 mDNS
Replies: 34
Views: 5186

Re: RoS 7.16 RC4 mDNS

Do you think mDNS could work through a Wireguard tunnel? Yes you can but it doesn't use the new mDNS repeater function. See this topic. https://forum.mikrotik.com/viewtopic.php?t=194842 Well... that's true. But still need EoIP to add the multicast to WG – but you're right the EoIP can run over an e...
by Amm0
Tue Sep 24, 2024 11:57 pm
Forum: Virtualization
Topic: Router OS 7 on UEFI
Replies: 65
Views: 13106

Re: Router OS 7 on UEFI

Sorry, double post. I quickly re-factored my CHR builder. So there are now 7.16 images, using the three approaches: @jaclaz's latest (chr-7.15.3.uefi-fat-jaclaz.raw), @kriszos's original (chr-7.15.3.uefi-fat-kriszos.raw), and "no gdisk" (chr-7.15.3.uefi-fat-no-gdisk.raw), see: https://git...
by Amm0
Tue Sep 24, 2024 9:31 pm
Forum: General
Topic: Wishes for 7.17 beta
Replies: 12
Views: 1190

Re: Wishes for 7.17 beta

Perhaps, a middle ground for a "minor release" is the addition of a new logging action to run a RouterOS script, and/or ability directly send a syslog message from scripting? This allow any mapping someone desired, filtering, etc. before it goes to a syslog server i.e. /system/logging/acti...
by Amm0
Tue Sep 24, 2024 8:37 pm
Forum: General
Topic: RoS 7.16 RC4 mDNS
Replies: 34
Views: 5186

Re: RoS 7.16 RC4 mDNS

I'll try with another VPN...
Well... the VPN does need to support multicast & that's the limiting factor to repeating mDNS. I don't think L2TP work with new mDNS proxy. So off top of my head, that be GRE+IPSec, EoIP+IPSec and ZeroTier - that should work with new mDNS repeater.
by Amm0
Tue Sep 24, 2024 8:30 pm
Forum: General
Topic: Fetch https POST or GET TimeOut
Replies: 2
Views: 482

Re: Fetch https POST or GET TimeOut

You can try not specifying "mode=https" as that's comes from URL in newer version. The more likely possibility is your web server REQUIRES some newer SSL version. I'm not sure what /tool/fetch negotiates but a packet sniffer* would help. * Pro Tip: you can use Mikrotik's TSZP support to &q...
by Amm0
Tue Sep 24, 2024 8:04 pm
Forum: Scripting
Topic: get variables from file [SOLVED]
Replies: 3
Views: 1014

Re: get variables from file [SOLVED]

In 7.15+, you should be able to use the new [:deserialize from=dsv]. So for quick example... { :local kvtxt "SCRIPT_VERSION=1.2.1\r\nREQ_ID=01J8C5ZV2AY6V6HWEB6F4HQJW5\r\nREQ_IP=172.21.104.34\r\nREQ_FAMILY=1\r\nREQ_CREATED=2024-09-22 06:16:32" # now use :deserialize to get an RouterOS array...
by Amm0
Tue Sep 24, 2024 6:36 pm
Forum: General
Topic: RoS 7.16 RC4 mDNS
Replies: 34
Views: 5186

Re: RoS 7.16 RC4 mDNS

FWIW, in a quick google, tailscale does NOT offer a solution to mDNS over WG either: https://github.com/tailscale/tailscale/issues/1013
by Amm0
Tue Sep 24, 2024 6:28 pm
Forum: General
Topic: RoS 7.16 RC4 mDNS
Replies: 34
Views: 5186

Re: RoS 7.16 RC4 mDNS

Wireguard does not support multicast, and mDNS needs multicast... so not possible. The mDNS support in 7.16 is just an "mDNS repeater", so the resulting "repeated" multicast can not be forwarded over WG. And why I've long argued that /ip/dns should act as mDNS/DNS-SD "Discov...
by Amm0
Tue Sep 24, 2024 5:22 pm
Forum: Virtualization
Topic: Router OS 7 on UEFI
Replies: 65
Views: 13106

Re: Router OS 7 on UEFI

I did file a feature request for an "proper" EFI image for CHR, SUP-144667, earlier this year. I got usual non-comitals "Thank you for the suggestion, we will consider it". So if someone using Hyper-V or other VM platform that needs EFI image to work... I'd recommend filing a tic...
by Amm0
Tue Sep 24, 2024 3:50 pm
Forum: Scripting
Topic: ✂ Rextended Fragments of Snippets
Replies: 107
Views: 90280

Re: ✂ Rextended Fragments of Snippets

It is made with artificial intelligence, since at least in this case imagination is useful...
While it got the wine... but c'mon, dutch impressionist art. And two door handles, although you are a security conscience guy. Always something wrong with these LLMs ;).
by Amm0
Tue Sep 24, 2024 3:09 pm
Forum: The Dude
Topic: Dude Client/Server communication security
Replies: 4
Views: 855

Re: Dude Client/Server communication security

Dude uses the same winbox protocol to communicate between the windows client and dude server package. So it's as safe as winbox protocol, which docs suggest: DH-1984 for key exchange and modified and hardened RC4-drop3072 encryption to secure the session. There is no choice on Dude login for Secure ...
by Amm0
Tue Sep 24, 2024 6:03 am
Forum: General
Topic: Script failing after upgrade 175.3
Replies: 2
Views: 513

Re: Script failing after upgrade 175.3

:foreach I in=[/ip firewall address-list find list=port_scanners_list] do={ /tool e-mail send to=myemail@gmail.com subject="port_scanners_list" body=("IP added " . [/ip firewall address-list get $i address])}
by Amm0
Tue Sep 24, 2024 1:46 am
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 1375
Views: 298187

Re: 📣 WinBox 4 is here 📣

I'm running beta 6 on MacOS13. [...] Error: "Could not connect. MacConnection syn timeout" Did you look in System Preferences under Security > Firewall? There are setting to that control "incoming connections", it has to allow it from "downloaded apps". See https://sup...
by Amm0
Mon Sep 23, 2024 7:30 pm
Forum: Announcements
Topic: MikroTik Devices Controller
Replies: 374
Views: 257811

Re: MikroTik Devices Controller

FWIW, Dude client still works on latest MacOS Sequoia + homebrew's wine@devel. Since the client will re-download itself for another version, that even work still (since I connected to v7.16rc4 Dude). Screenshot 2024-09-23 at 9.06.59 AM.png To @infabo, the Dude server package fits on a Chateau LTE12 ...
by Amm0
Mon Sep 23, 2024 5:39 pm
Forum: Virtualization
Topic: Router OS 7 on UEFI
Replies: 65
Views: 13106

Re: Router OS 7 on UEFI

EDIT: Confirmed , the first few sectors (the relevant ones, MBR, Efi Part and the two entries in EFI partition tables) are identical between the original chr-7.15.3.img image and the modified raw one chr-7.15.3.uefi-fat.raw, so the original gdisk script does nothing to it. We have been barking up t...
by Amm0
Mon Sep 23, 2024 3:53 am
Forum: Virtualization
Topic: Router OS 7 on UEFI
Replies: 65
Views: 13106

Re: Router OS 7 on UEFI

The errors should prevent gdisk from writing the changes, thus the image before and after running the original gdisk script should remain unchanged. Well, you know, it works in UTM+Apple, but got errors with gdisk during build. I re-ran the build just now, and got what's below for @kriszos's script...
by Amm0
Mon Sep 23, 2024 12:38 am
Forum: Virtualization
Topic: Router OS 7 on UEFI
Replies: 65
Views: 13106

Re: Router OS 7 on UEFI

@Ammo What Is strange from your report is that - in theory - the original script should not work at all on the 7.15.3 as gdisk should refuse to write the modifications due to the errors. I have no idea. As I said, at least for Apple Virtualization EFI, 7.15.3 works with @krisnos's script. Screensho...
by Amm0
Sun Sep 22, 2024 10:25 pm
Forum: Virtualization
Topic: Router OS 7 on UEFI
Replies: 65
Views: 13106

Re: Router OS 7 on UEFI

I have "fat-chr" builder at GitHub that uses @krisnos's script to support UTM's native Apple Virtualization support (which requires EFI). I replaced the script with @jaclaz's version, but that did not work. UTM does not really report errors - so not sure what's wrong - but it does NOT star...
by Amm0
Sun Sep 22, 2024 7:39 pm
Forum: General
Topic: ECMP recursive routes
Replies: 38
Views: 5969

Re: ECMP recursive routes

FWIW... I don't show recursive route in the example for the same reason as I don't use PCC: the config gets complex. And complexity is another way to get outages, which is what you're trying to avoid by having multiple WANs ;). So I perfer "netwatch script" to just disable routes for these...
by Amm0
Sun Sep 22, 2024 7:09 pm
Forum: General
Topic: ECMP recursive routes
Replies: 38
Views: 5969

Re: ECMP recursive routes

Back to post #34 , is ECMP effective with recursive routes and can recursive routes be used for load-balancing? Yes, as long as you want things split "equally" between the WANs. It's ONLY when you wanted to a split like 66% to WAN1 and 33% to WAN2) you CANNOT do per @mrz. The recursive ro...
by Amm0
Sat Sep 21, 2024 11:41 pm
Forum: General
Topic: :find vs. find
Replies: 3
Views: 711

Re: :find vs. find

As noted, it's really TWO different commands. But it generally get the right one since when you [find]... The reason is kinda dorky... the [] cause a new subprocess, but it take the "path" of the part of the "parent command" as the context of what's inside. So with something like...
by Amm0
Sat Sep 21, 2024 11:21 pm
Forum: Announcements
Topic: MikroTik Devices Controller
Replies: 374
Views: 257811

Re: MikroTik Devices Controller

Seen the screenshots of Dude and I was deeply frightened - I wasn't brave enough to install it. Basically I did not want to find out if it is Wine compatible. What's nice is you don't need the "scary" 32-bit X86 Dude client running all the time... the client just configures the "serv...
by Amm0
Sat Sep 21, 2024 11:19 pm
Forum: Announcements
Topic: MikroTik Devices Controller
Replies: 374
Views: 257811

Re: MikroTik Devices Controller

Seen the screenshots of Dude and I was deeply frightened - I wasn't brave enough to install it. Basically I did not want to find out if it is Wine compatible. What's nice is you don't need the "scary" 32-bit X86 Dude client running all the time... the client just configures the "serv...
by Amm0
Sat Sep 21, 2024 9:24 pm
Forum: Announcements
Topic: MikroTik Devices Controller
Replies: 374
Views: 257811

Re: MikroTik Devices Controller

One reason why people ask for or need a controller software: https://forum.mikrotik.com/viewtopic.php?t=211094 That would appear to be advertisement for "The Dude" IMO. ;) The problem in that post is using winbox to view dozens of logs from different routers. That is easily solvable by re...
by Amm0
Sat Sep 21, 2024 1:12 am
Forum: General
Topic: Add default router to another table (not main)
Replies: 3
Views: 668

Re: Add default router to another table (not main)

Actaully I can't also create a second SSTP server wit a static destination only, specified on another profile. How can I run SSTP server with different profiles?
Sure, just copy the existing profile used by SSTP (likely default-encyrption) and create a new one under PPP Profiles.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 16