Community discussions

MikroTik App

Search found 8 matches

by atillaeyice
Thu Apr 18, 2024 8:16 am
Forum: General
Topic: RB5009, RouterOS 7.9.1, USB slot keeps changing
Replies: 14
Views: 6234

Re: RB5009, RouterOS 7.9.1, USB slot keeps changing

I have the same issue with the Sandisk. however, USB power reset fixes it so If you use containers run this at startup then its should fix it. :delay delay-time=5s :local containerStatus [/container get 0 value-name=status] :log warning message=$containerStatus :if ($containerStatus = "stopped&...
by atillaeyice
Fri Jun 01, 2018 10:08 am
Forum: General
Topic: Winbox encoding error when launched from windows command promt
Replies: 2
Views: 1393

Winbox encoding error when launched from windows command promt

Hello im trying to add add an addon to my radius server so i can just tab and winbox to their account but the problem is that when passing arguments whit comand promt i get this output. username and passwords for users containing Turkish characters "ş Ş " when command prompt passes that to...
by atillaeyice
Thu Apr 19, 2018 4:11 pm
Forum: Scripting
Topic: Script fails to connect Trying to loop it
Replies: 4
Views: 1156

Re: Script fails to connect Trying to loop it

Put it in scheduler with interval 00:05:00. It will run every 5 minutes. It actually makes the next attempt to update every 5-10 minutes depending on when your original script actually processes and this one runs. This script will attempt to update until it is done. On reboot, the variables are cle...
by atillaeyice
Thu Apr 19, 2018 10:50 am
Forum: Scripting
Topic: Script fails to connect Trying to loop it
Replies: 4
Views: 1156

Re: Script fails to connect Trying to loop it

Use a Global Variable instead of uptime. In your initial script add; :global AutoUpdateStatus and just before your fetch command add :$AutoUpdateStatus=“on” Now 5 min should be; :global AutoUpdateStatus :local AutoUpdateTimer :if $AutoUpdateStatus=“on” do {:if $AutoUpdateTimer!=“on” do {:$AutoUpdat...
by atillaeyice
Wed Apr 18, 2018 4:45 pm
Forum: Scripting
Topic: Script fails to connect Trying to loop it
Replies: 4
Views: 1156

Script fails to connect Trying to loop it

Hello Im in need of some help have setup script to update devices firmware settings etc .. all at same time. but than my web server that i run on my private network can not handle all the devices connecting at same time. which 04.00 Am so what im attempting to do after this update if success device ...
by atillaeyice
Wed Nov 09, 2016 9:43 pm
Forum: Scripting
Topic: :put multiple variable into same string ?
Replies: 1
Views: 2382

:put multiple variable into same string ?

Hello I’m trying to make a script that i keep getting errors :local fullname2 [/file get pwt.txt content] :local fullname [/interface pppoe-client get 0 value-name=user]; :local name [:pick $fullname 0 [:find $fullname "@"] $fullname2] :put ("The value of username is: " . $name);...
by atillaeyice
Tue Nov 01, 2016 10:36 am
Forum: Scripting
Topic: script get pppoe name to system identity
Replies: 1
Views: 1232

Re: script get pppoe name to system identity

any ideas what i been doing wrong
by atillaeyice
Mon Oct 31, 2016 9:02 pm
Forum: Scripting
Topic: script get pppoe name to system identity
Replies: 1
Views: 1232

script get pppoe name to system identity

im trying to make script to get pppoe user name for an example "user1"@net to system identity automaticly so i want the part before @ to be taken is this possible to make ? :local rescontent :interface pppoe-client print file=ppoeusr.txt :local fileContents [/file get [/file find name=ppoe...