Community discussions

MUM Europe 2020

Search found 19 matches

by Diamont
Fri Jul 15, 2016 5:39 pm
Forum: Scripting
Topic: Netwatch Script
Replies: 2
Views: 1422

Re: Netwatch Script

Here is my script:

:local i 0; {:do {:set i ($i + 1)} while (($i < 2) && ([/ping domain.com interval=1 count=1]=0))};
        :if ($i=2) do={:log info "Main AP Down"; 
         /interface disable ether5}
by Diamont
Fri Jul 15, 2016 1:20 pm
Forum: Scripting
Topic: Netwatch Script
Replies: 2
Views: 1422

Netwatch Script

Hi. I would like to do some action when remote host is down. This host has a dynamic IP and DDNS service. The problem is that Netwatch in Mikrotik resolves IP only once when you add a new host. I need the script which will resolve and ping remote host every 1 minute and do some action if it`s down.
by Diamont
Sun Jan 03, 2016 2:38 am
Forum: General
Topic: Did we loose IP cloud?
Replies: 155
Views: 26873

Re: Did we loose IP cloud?

Russia too.
by Diamont
Fri Jul 17, 2015 4:35 pm
Forum: Scripting
Topic: Delete often repeating log
Replies: 4
Views: 836

Re: Delete often repeating log

Can you tell me how to disable Wireless Info logging?
by Diamont
Fri Jul 17, 2015 11:44 am
Forum: Scripting
Topic: Delete often repeating log
Replies: 4
Views: 836

Delete often repeating log

Hello. What is the scrip to delete often repeating log messages based on type / name of the record. Example of log messages are on the screenshot.
by Diamont
Wed Jul 23, 2014 9:33 pm
Forum: Scripting
Topic: Syslog monitor
Replies: 6
Views: 1086

Re: Syslog monitor

If i would know scripting, i wouldn`t post this thread.

Probably, i will edit the scipt so it will delete it`s own shedule once the first SMS sent.
by Diamont
Wed Jul 23, 2014 9:21 pm
Forum: Scripting
Topic: Syslog monitor
Replies: 6
Views: 1086

Re: Syslog monitor

Looks like you misspelled too. :) Working script is:
:foreach i in=[/log find where message~"device changed"] do={
  /tool sms send usb1 "XXXXXXXXX" \ message="WARNING"
}
Anyway thanks.
by Diamont
Wed Jul 23, 2014 8:44 pm
Forum: Scripting
Topic: Syslog monitor
Replies: 6
Views: 1086

Re: Syslog monitor

:put /log find where message~"device changed" do={
/tool sms send usb1 "XXXXXXXXX" \ message="WARNING"
}

Does not work.
by Diamont
Wed Jul 23, 2014 8:22 pm
Forum: Scripting
Topic: Syslog monitor
Replies: 6
Views: 1086

Syslog monitor

Hi ALL. I need to monitor some phrase in syslog (for example "device changed") and once it found, send SMS via USB modem. So how can i monitor RB`s syslog using script?
by Diamont
Wed Jul 23, 2014 8:11 pm
Forum: General
Topic: Request for for some PPPoE Server features
Replies: 3
Views: 1161

Re: Request for for some PPPoE Server features

What`s about adding this feature in new ROS releases?
by Diamont
Fri Sep 20, 2013 7:52 pm
Forum: General
Topic: Request for for some PPPoE Server features
Replies: 3
Views: 1161

Re: Request for for some PPPoE Server features

We don`t have radius.Built-in AAA is enough for us.Almost enough.
by Diamont
Fri Sep 20, 2013 5:24 am
Forum: General
Topic: MAC server issue
Replies: 1
Views: 371

MAC server issue

When i connect RB directly to my PC with Winbox, i can easily use MAC server.However, when i connect RB to my home AP via copper and my PC to AP via copper or wireless, the Winbox work very slow, freezes and sometime crashes.It looks like some ARP or may be MTU problems between RB and my home AP, bu...
by Diamont
Fri Sep 20, 2013 5:14 am
Forum: General
Topic: Request for for some PPPoE Server features
Replies: 3
Views: 1161

Request for for some PPPoE Server features

Request for for some PPPoE Server features:

Ability to connect to PPPoE server with any or even empty username and password

Logging passwords in PPPoE server when using PAP. Currently, when user trying to authenticate without success, i cannot see his password
by Diamont
Wed Sep 11, 2013 11:56 pm
Forum: General
Topic: 6.3 Released
Replies: 95
Views: 20593

Re: 6.3 Released

*) pptp, l2tp, sstp - allow to specify server via dns name;

This is very very important small feature for my region :) - lets say goodbye to some significant scripting
Just for Beeline.All other (i.e. NORMAL) ISPs use PPPoE or IPoE. :lol:
by Diamont
Tue Sep 10, 2013 9:06 pm
Forum: General
Topic: PPPoE server with any username and password
Replies: 4
Views: 1794

Re: PPPoE server with any username and password

Did they include such option in new ROS 6.2 or 6.3 ?
by Diamont
Tue Aug 20, 2013 9:17 am
Forum: General
Topic: route traffic between 2 networks
Replies: 2
Views: 462

Re: route traffic between 2 networks

In order to route the traffic (of entire 192.168.100.0 network) , your Mikrotik-1 should stay between the swtich and Nanostation...
by Diamont
Tue Aug 20, 2013 5:12 am
Forum: General
Topic: PPPoE server with any username and password
Replies: 4
Views: 1794

Re: PPPoE server with any username and password

I tried to do so in built-in Radius server with no success.Can you help me with that?
by Diamont
Sun Aug 18, 2013 7:17 pm
Forum: General
Topic: v6.2 released
Replies: 247
Views: 90729

Re: v6.2 released

Can PPPoE server accept any username and password to accept all pppoe clients?
by Diamont
Sun Aug 18, 2013 7:03 pm
Forum: General
Topic: PPPoE server with any username and password
Replies: 4
Views: 1794

PPPoE server with any username and password

Hi All! How to setup the PPPoE server in my RouterBoard so anyone can connect to it with any (or even blank) username and password?