Community discussions

MikroTik App

Search found 19 matches

by MichaelDC
Wed Aug 30, 2023 7:49 pm
Forum: Scripting
Topic: Saving array to file
Replies: 13
Views: 3028

Re: Saving array to file

In the meantime I scoured rextended's extensive code repo and found this that also works perfectly for me Reading file data :local filecontent [/file get $dataFile contents]; :global tempconv; [:parse ":global tempconv $filecontent"] :local fileData $tempconv; :log info ($fileData->"m...
by MichaelDC
Wed Aug 30, 2023 3:09 pm
Forum: Scripting
Topic: Saving array to file
Replies: 13
Views: 3028

Re: Saving array to file

Thank you rextended,
very much appreciated! I will check it today and let you know how it went
Grazie mille
Michaël
by MichaelDC
Wed Aug 30, 2023 8:45 am
Forum: Scripting
Topic: Saving array to file
Replies: 13
Views: 3028

Re: Saving array to file

Thank you both.

The month would be a number (8 for august) but that isn't so much the problem.

The tests are exactly what I am experiencing as well ...
If the serializing of the array to disk is not working with this logic, then how can/should this be done ?

Thanks
Michaël
by MichaelDC
Tue Aug 29, 2023 5:50 pm
Forum: Scripting
Topic: Saving array to file
Replies: 13
Views: 3028

Saving array to file

Hi everyone, I've been breaking my teeth on how to best save an array with key/value pairs and retrieve/update them. I am using rosv7.11 and tried many combinations but somehow i can't seem to retrieve the data and access individual key/value pairs. The datafile is saved as dataUsage and contains th...
by MichaelDC
Sun Mar 12, 2023 10:33 pm
Forum: Scripting
Topic: SMS LTE Info [SOLVED]
Replies: 16
Views: 8965

Re: SMS LTE Info [SOLVED]

I thought so as well, but was hoping that some of the parsing may already have been processed somewhere. What I am trying to achieve is to handle the issues with 'failing' SIM cards which need to be power cycled. If I can check what the state of the SIM is then I can schedule/trigger to check this a...
by MichaelDC
Sun Mar 12, 2023 7:06 pm
Forum: Scripting
Topic: Get LTE SIM Card State
Replies: 1
Views: 1134

Get LTE SIM Card State

Hi everyone, We are sometimes experiencing issues with R11e-LTE and R11e-LTE6 where the SIM card magically disappears and needs a USB power cycle or reboot of the routerboard From WinBox I can see what the state of the SIM card is but I can't find anywhere how to call this in a script or terminal. C...
by MichaelDC
Sun Mar 12, 2023 6:57 pm
Forum: Scripting
Topic: SMS LTE Info [SOLVED]
Replies: 16
Views: 8965

Re: SMS LTE Info [SOLVED]

This is a very elegant solution, thank you :local monitor [/interface lte monitor lte1 once as-value] :local registration ($monitor->"registration-status") How would you handle direct AT calls to the modem which return two or more lines I tried in terminal :put [/interface lte at-chat lte1...
by MichaelDC
Sun Oct 30, 2022 9:35 pm
Forum: Scripting
Topic: API differences v6 & v7
Replies: 3
Views: 1222

API differences v6 & v7

Hello API Gurus, I've been using node-routeros on routerOS since v6.4x and up and it worked well for my purpose using streams to continuously display network stats. Upgrading to RouterOS v7.x, node-routeros no longer seems able to connect to the API and times out (or are the commands failing, I don'...
by MichaelDC
Mon Oct 25, 2021 1:12 pm
Forum: RouterBOARD hardware
Topic: Dual LM960 on RM33G
Replies: 0
Views: 1808

Dual LM960 on RM33G

Extending the test with the LM960A18 I tried connecting 2 modems on a RBM33G. Individually both LM960A18 work on the RB When in mPcie port 1 [admin@MikroTik] > system resource usb print # DEVICE VENDOR NAME SPEED 0 1-0 Linux 3.3.5 xhci-hcd xHCI Host Controller 480 1 2-0 Linux 3.3.5 xhci-hcd xHCI Hos...
by MichaelDC
Sat Sep 11, 2021 8:24 pm
Forum: General
Topic: Trigger Script when LTE receives IP address
Replies: 8
Views: 1546

Re: Trigger Script when LTE receives IP address

The "easy" soluction is: MikroTik must add on-up and on-down on all interface (also ethernet, wlan, etc.)
I'll second that but might take a while
by MichaelDC
Sat Sep 11, 2021 11:15 am
Forum: General
Topic: Trigger Script when LTE receives IP address
Replies: 8
Views: 1546

Re: Trigger Script when LTE receives IP address

Hi, I use an RBM33G ROS v6.48 with 2 R11E LTE6 modules. The DHCP client unfortunately doesn't see LTE1 and LTE2 so I can't trigger from there. Using a scheduled script is a possibility but I would have preferred to trigger it from state change on the LTE itself to limit the time in which it is in an...
by MichaelDC
Fri Sep 10, 2021 11:49 pm
Forum: General
Topic: Trigger Script when LTE receives IP address
Replies: 8
Views: 1546

Trigger Script when LTE receives IP address

Hi, I am wondering if it is possible to trigger a script when an LTE modem on a RB receives an IP address. When teh LTE modem makes a connection the IP address is being added to the route list but is there any way to use that as a trigger? I would need to enable/disable an interface when this occurs...
by MichaelDC
Fri Jul 30, 2021 3:14 pm
Forum: General
Topic: LTE DHCP over VLAN
Replies: 7
Views: 2431

Re: LTE DHCP over VLAN

Thanks for you suggestion. @DeJoe; I tried it but unfortunately I can't seem to add the lte1 and lte2 mPcie modems to the bridge /interface bridge port> add bridge=BridgeLAN interface=lte1 invalid value for argument interface: input does not match any value of interface input does not match any valu...
by MichaelDC
Wed Jul 28, 2021 8:20 pm
Forum: General
Topic: LTE DHCP over VLAN
Replies: 7
Views: 2431

LTE DHCP over VLAN

Good afternoon everyone, For several days now I have been scratching my head on how to get the following configuration to work with VLANs instead of Mangle rules. At this point I am even wondering if it is possible with only VLANs. The setup is as follows: I have 3 RBM33G routers 2 of them have 2 x ...
by MichaelDC
Sat May 23, 2020 9:34 pm
Forum: General
Topic: Feature Request: Multipath TCP
Replies: 19
Views: 9036

Re: Feature Request: Multipath TCP

Just also adding a +1 as well to see MPTCP support added to RouterOS....please
by MichaelDC
Mon Mar 25, 2019 4:00 pm
Forum: RouterBOARD hardware
Topic: Is Telit LM960 compatible with RouterBOARD
Replies: 6
Views: 3090

Re: Is Telit LM960 compatible with RouterBOARD

Trying to get it to work on a Mikrotik RouterBOARD 912UAG-5HPnD today but so far no luck, it is not detecting the modem.
by MichaelDC
Fri Mar 09, 2018 10:51 pm
Forum: Beginner Basics
Topic: LTE CAT6 modem
Replies: 1
Views: 1856

LTE CAT6 modem

Good day all MT Gurus, I am trying to get the fastest possible (dual) link up with a RB953GS-5HNT. I have tried a few modems but the results are far below what I would expect (and compared with what I am getting on my Samsung Galaxy J7 at the same spot). The modems I have tested are all CAT 3 and 4 ...
by MichaelDC
Fri Mar 09, 2018 12:16 pm
Forum: Beginner Basics
Topic: New to MikroTik RB953GS-5HnT-RP Dual Sim help
Replies: 2
Views: 1184

Re: New to MikroTik RB953GS-5HnT-RP Dual Sim help

Same situation here, double bump

In the meantime I have found this presentation which seems to be pointing in the right direction.
https://mum.mikrotik.com/presentations/US12/tomas.pdf
by MichaelDC
Mon May 22, 2017 4:43 pm
Forum: RouterBOARD hardware
Topic: Metal G-52SHPacn Dead ?
Replies: 0
Views: 678

Metal G-52SHPacn Dead ?

Hello, I received my Metal G-52SHPacn a couple of weeks ago and have been very pleased with it. All worked well until last Friday it lost connection. I can't reach it in any way (winbox, netinstall, ..) tried the reset button in all possible combination up to 60 secs, but that doesn't do anything. T...