Community discussions

MikroTik App

Search found 8 matches

by milanc
Sun Jul 17, 2016 3:33 pm
Forum: Beginner Basics
Topic: Communication in LAN over public IP
Replies: 1
Views: 849

Communication in LAN over public IP

have CCR router on IGW (connected to my provider) and two FreeBSD servers. BSD1 is directly connected to port in CCR. BSD2 is remote webhosting (and next services) server in LAN with IP 10.0.254.78 (2 hops far). Some public IP addresses are set on WAN interface of CCR. One of them is redirected into...
by milanc
Sat May 05, 2012 9:38 pm
Forum: Scripting
Topic: Question confirmation in API
Replies: 1
Views: 887

Question confirmation in API

Hi.
What can be done via the API to confirm yes/no question? Typically, for example...

/system reboot
Reboot, yes? [y/N]:
or
/system routerboard upgrade
Do you really want to upgrade firmware? [y/n]

... Is this possible?

Thanks for answer.
by milanc
Sat May 05, 2012 3:58 am
Forum: RouterBOARD hardware
Topic: RB1100 ROS 5.12 winbox time out
Replies: 6
Views: 3158

Re: RB1100 ROS 5.12 winbox time out

Hi,
i have the same problem on RB450G ROS 5.15. Winbox/telnet/ssh/mac telnet timeouts after some days, router works properly.

Milan
by milanc
Sun Aug 28, 2011 4:29 am
Forum: Scripting
Topic: perl API client
Replies: 109
Views: 68686

Re: perl API client

Hi, is in function get_by_key foreach (@results) { my $item = $_; foreach my $result_key (keys (%$item)) { if (exists($item->{$key})) { if ($key eq $result_key) { $result_hash->{ $item->{$key} } = $item } } else { $result_hash->{ $item->{'.id'} } = $item <--- HERE } } } Thanks.
by milanc
Tue Aug 23, 2011 3:43 am
Forum: Scripting
Topic: perl API client
Replies: 109
Views: 68686

Re: perl API client

It works, thank you very much. Just the following warning is written... Use of uninitialized value in hash element at /usr/local/lib/perl5/site_perl/5.10.1/Mtik.pm line 414. Use of uninitialized value in hash element at /usr/local/lib/perl5/site_perl/5.10.1/Mtik.pm line 414. Use of uninitialized val...
by milanc
Sun Aug 21, 2011 4:58 pm
Forum: Scripting
Topic: perl API client
Replies: 109
Views: 68686

Re: perl API client

Hi, i have problem. Is possible get via api UPS status? Command is /system ups monitor 0 once This is ok... my $ret = $mt->get_by_key('/system/ups/print'); print Dumper($ret); $VAR1 = { '*3' => { 'nominal-battery-voltage' => '24', 'disabled' => 'false', 'manufacture-date' => '08/06/99', 'serial' => ...
by milanc
Wed May 26, 2010 12:25 am
Forum: General
Topic: SNMP is not returning data in ap bridge mode
Replies: 1
Views: 879

Re: SNMP is not returning data in ap bridge mode

Hi, I'm upgraded to RouterOS 4.9 (rb600) and it's the same problem.
by milanc
Mon May 24, 2010 12:31 am
Forum: General
Topic: SNMP is not returning data in ap bridge mode
Replies: 1
Views: 879

SNMP is not returning data in ap bridge mode

Hi, I have problem reading data using SNMP on interface with 2.4 GHz band (ap bridge mode). - in console, interface, wireless print oid... listing is ok. - snmpget/snmpwalk from external machine to any of these oids no value is returned (even oid is as non existing). - on interface with band 5 GHz (...