Community discussions

MikroTik App

Search found 18 matches

by mmorelie
Fri Jul 17, 2020 11:28 am
Forum: RouterOS beta
Topic: new feature request MLAG!!!
Replies: 32
Views: 16525

Re: new feature request MLAG!!!

+1 for both
by mmorelie
Wed Jun 24, 2020 1:38 pm
Forum: General
Topic: Self hosted upgrade server
Replies: 0
Views: 685

Self hosted upgrade server

hello, i currently have a self-hosted update server.
I would like to create a current and testing channel like on the official servers.
What is the structure required on my web-server for my routers to use the 2 channels?
by mmorelie
Thu Mar 12, 2020 12:33 pm
Forum: Scripting
Topic: Built in function library
Replies: 132
Views: 133656

Re: Built in function library

I know but the variable doesn't have the serial number as name, here the variable is RemoteCap.
Sometimes it could be usefull.
by mmorelie
Thu Mar 12, 2020 10:55 am
Forum: Scripting
Topic: Built in function library
Replies: 132
Views: 133656

Re: Built in function library

hi,

possibility to create variables named from object on the routeur like :
:varname [:caps-man remote-cap get $i serial]
so i have a variable named BF090FS8938 (serial number of the router)
/env print
BF090FS8938={foo="bar"; foo; bar}
by mmorelie
Thu Mar 05, 2020 4:09 pm
Forum: General
Topic: Trafic-generator and pppoe interface
Replies: 0
Views: 2676

Trafic-generator and pppoe interface

Hi, i try to use traffic generator to  catch packet loss on a link. I have made a test with two RB2011 connected like so :  R1 : eth1 : 10.10.10.1/24 > R2 : eth1 : 10.10.10.10/24 R1 : eth6 : 10.10.60.1/24 > R2 : eth6 : 10.10.60.10/24 Here is my traffic generator configuration : /tool traffic-generat...
by mmorelie
Thu Sep 26, 2019 12:04 pm
Forum: Scripting
Topic: RBD52G-5HacD2HnD scripting and reset-configuration
Replies: 3
Views: 2793

Re: RBD52G-5HacD2HnD scripting and reset-configuration

Here is the solution :

RBD52G has spi flash memory, all files outside flash folder will be deleted during reboot, as they are saved in RAM.

So you need to store all files in flash/
by mmorelie
Thu Sep 26, 2019 12:02 pm
Forum: Scripting
Topic: Built in function library
Replies: 132
Views: 133656

Re: Built in function library

Hi,

I agree with everything that has been said before. I also support the proposal made at the beginning of MD5Hash because sometimes the download of RouterOs or configuration file fails.
by mmorelie
Fri Sep 20, 2019 4:09 pm
Forum: Scripting
Topic: RBD52G-5HacD2HnD scripting and reset-configuration
Replies: 3
Views: 2793

Re: RBD52G-5HacD2HnD scripting and reset-configuration

I think i know why it's not working. After downloading the configuration file $serialNumber.rsc i do : :system reset-configuration keep-users=yes skip-backup=yes run-after-reset=(\$serialNumber.\".rsc\") On RB4011 and RB2011 the router restart and when i login if i do : /file print I can s...
by mmorelie
Fri Sep 20, 2019 3:08 pm
Forum: Scripting
Topic: RBD52G-5HacD2HnD scripting and reset-configuration
Replies: 3
Views: 2793

Re: RBD52G-5HacD2HnD scripting and reset-configuration

I have made some other tests.

I try RouterOS 6.43.16
RB2011 => OK
RB4011 => OK
RBD52G = NOK

Is there a limitation on th RBD52G for such things ?
by mmorelie
Thu Sep 19, 2019 5:02 pm
Forum: Scripting
Topic: RBD52G-5HacD2HnD scripting and reset-configuration
Replies: 3
Views: 2793

RBD52G-5HacD2HnD scripting and reset-configuration

Hi, I try something that is working on a RB2011 on a RBD52G-5HacD2HnD and is not working. The two devices run on ROuterOS 6.44.5 LTS i have a default configuration where i download a config file with : :tool fetch \$urlGetConf\ here is the test configuration : while ([:len [/interface find]] < 5) do...
by mmorelie
Thu Aug 02, 2018 10:35 am
Forum: General
Topic: Unexpected start message
Replies: 6
Views: 1463

Re: Unexpected start message

Even after netinstall i have the same message :(
Pretty scary
by mmorelie
Wed Aug 01, 2018 6:19 pm
Forum: General
Topic: Unexpected start message
Replies: 6
Views: 1463

Re: Unexpected start message

Yes, ok is the device compromise ?

because i have upgrade and it steel pop the message.

Regards
by mmorelie
Tue Jul 31, 2018 5:55 pm
Forum: General
Topic: Unexpected start message
Replies: 6
Views: 1463

Unexpected start message

When i restart my RB2011, sometimes those messages appear

cp: /nova/store/user/aaa.idx: No such file or directory
cp: /nova/store/user/aaa.dat: No such file or directory
cp: /ram/reset/aaa.idx: No such file or directory
cp: /ram/reset/aaa.dat: No such file or directory


Is it normal ?
by mmorelie
Fri Apr 06, 2018 6:18 pm
Forum: Scripting
Topic: Array modification
Replies: 7
Views: 2035

Re: Array modification

it's done with this line :foreach i in $LOGIN do={:interface pppoe-client monitor $i once do={:set ($i->"operstatus") $status}} when you do :interface pppoe-client monitor LD1 once do={:set (LD1->"operstatus") $status the actual status is put in the array LD1, at operstatus varia...
by mmorelie
Fri Apr 06, 2018 5:03 pm
Forum: Scripting
Topic: Array modification
Replies: 7
Views: 2035

Re: Array modification

no $status is not fixed, it's read from the command :
:interface pppoe-client monitor $i once
it can be connected or disconnected or something else
by mmorelie
Fri Apr 06, 2018 4:48 pm
Forum: Scripting
Topic: Array modification
Replies: 7
Views: 2035

Re: Array modification

the result as to be for exemple :
LD1={admstatus=""; interface="ether1"; operstatus="connected"; upcounter=1; user=""}
by mmorelie
Fri Apr 06, 2018 3:34 pm
Forum: Scripting
Topic: Array modification
Replies: 7
Views: 2035

Array modification

I try to create a script that get information from the configuration of the router or from some commands and store the result in an array. I have declare some pppoe-client links and want to know the status of each one and save it in different array, one per pppoe-client link. :global LD1 {user="...
by mmorelie
Thu Jan 12, 2017 12:37 pm
Forum: General
Topic: Routing distance with 2 wan access
Replies: 0
Views: 1170

Routing distance with 2 wan access

hi, I have trouble with a dual wan access. I have a RB20111 with RouterOs 6.35.2. I have a pppoe concentrator, i need to connect my Mikrotik router to this concentrator with 2 links (1 SDSL pppoe1, and one ADSL pppoe2) There is no problem with the pppoe configuration both links works. My problem is ...