Community discussions

MikroTik App

Search found 34 matches

by SpectatorCN
Tue Oct 12, 2010 12:31 am
Forum: Scripting
Topic: PHP API connection
Replies: 32
Views: 16454

Re: PHP API connection

I had the same problem with the API for version 4.10. To test did downgrade one server to 4.5, and another server updated to 5.0rc1. And they both work without the above problems. Almost. )) In one week, both servers had to reboot. In 5.0rc1 and in version 4.5 session disappear good. BUT in an uncer...
by SpectatorCN
Mon Oct 11, 2010 11:58 pm
Forum: General
Topic: fetch error: maximal connection count reached
Replies: 12
Views: 8804

Re: fetch error: maximal connection count reached

Yes you are right. Connection limit is 10.
For some reason I did not notice the hanging session in /system script job
They hang up if the http server returns nothing.
Thank you very much.
by SpectatorCN
Mon Oct 11, 2010 12:07 am
Forum: General
Topic: fetch error: maximal connection count reached
Replies: 12
Views: 8804

fetch error: maximal connection count reached

Hi to all. I am use a simple script like this: /tool fetch mode=http address=10.0.0.1 src-path=("/test/index.php") dst-path="/commands.txt" port=80 host=host.com; ...... some code ...... } Sheduler run it each 30 seconds. But after a while the script has stopped request URL. When...
by SpectatorCN
Tue Jun 29, 2010 5:29 pm
Forum: General
Topic: MikroTik RouterOS version 5.0beta3 released!
Replies: 91
Views: 39783

Re: MikroTik RouterOS version 5.0beta3 released!

We have a problem with add or delete rules throw API (PHP) in 5.0beta3 released.
It sometimes work sometimes not.
In 80% API work, otherwise not.

This happened after updating to version 5.0beta3 released.
Downgraded to 4.10 and it's work ok. But have old problem with many not dropped session.
by SpectatorCN
Sat Jun 26, 2010 5:18 pm
Forum: General
Topic: MikroTik RouterOS version 5.0beta3 released!
Replies: 91
Views: 39783

Re: MikroTik RouterOS version 5.0beta3 released!

We have a problem with add or delete rules throw API (PHP) in 5.0beta3 released. It sometimes work sometimes not. In 80% API work, otherwise not. This happened after updating to version 5.0beta3 released. In good case debug show this: Connection attempt #1 to 10.*.*.*:8728... <<< [6] /login >>> [5/5...
by SpectatorCN
Fri Jun 26, 2009 5:11 pm
Forum: Scripting
Topic: Remote Control of traffic shaping over SSH, Telnet
Replies: 18
Views: 5576

Re: Remote Control of traffic shaping over SSH, Telnet

To be honest API for PHP in the wiki describes how disgusting.
And the search showed that no one I could not understand how to send multiple parameters.
$API->write('/queue/simple/print',false);
$API->write('?name='.$name);
$ARRAY = $API->read();
Really works.
This is a good thing.
by SpectatorCN
Fri Jun 26, 2009 4:52 pm
Forum: Scripting
Topic: Remote Control of traffic shaping over SSH, Telnet
Replies: 18
Views: 5576

Re: Remote Control of traffic shaping over SSH, Telnet

And in API no 'find' & no 'where' to select 1 element, rather than all at once. omg, I'm again too late =) http://wiki.mikrotik.com/wiki/API#Queries So your posts should not believe? http://forum.mikrotik.com/viewtopic.php?f=2&t=26790&p=130214&hilit=there%27s+no+analogue#p130214 and...
by SpectatorCN
Fri Jun 26, 2009 2:45 pm
Forum: Scripting
Topic: Remote Control of traffic shaping over SSH, Telnet
Replies: 18
Views: 5576

Re: Remote Control of traffic shaping over SSH, Telnet

Sometimes not.
Telnet simple.
And in API no 'find' & no 'where' to select 1 element, rather than all at once.
by SpectatorCN
Thu Jun 25, 2009 4:46 pm
Forum: Scripting
Topic: Remote Control of traffic shaping over SSH, Telnet
Replies: 18
Views: 5576

Re: Remote Control of traffic shaping over SSH, Telnet

Thanks to all.
Everything works.
I edited the script above.
All excellent.
by SpectatorCN
Thu Jun 25, 2009 4:23 pm
Forum: Scripting
Topic: Remote Control of traffic shaping over SSH, Telnet
Replies: 18
Views: 5576

Re: Remote Control of traffic shaping over SSH, Telnet

SpectatorCN: can you see the difference?
I do not like when my nickname provide bold, but still thanks.
Just drew attention to the put.
by SpectatorCN
Thu Jun 25, 2009 4:16 pm
Forum: Scripting
Topic: Remote Control of traffic shaping over SSH, Telnet
Replies: 18
Views: 5576

Re: Remote Control of traffic shaping over SSH, Telnet

Features:
1) Remove the color of characters in the console
sorry for late advice... use
$mtlogin = "user+ct";
instead of
$mtlogin = "user";
Where were You before?
Thank you.
by SpectatorCN
Thu Jun 25, 2009 4:01 pm
Forum: Scripting
Topic: Remote Control of traffic shaping over SSH, Telnet
Replies: 18
Views: 5576

Re: Remote Control of traffic shaping over SSH, Telnet

This is my simple script written in PHP. It may be useful to someone. Features: reading all from the port after send command #!/usr/bin/php <?php $mthost = "10.0.0.1"; $mtlogin = "user"; $mtpass = "password"; # Заголовок для telnet $header1=chr(0xFF).chr(0xFB).chr(0x1F)...
by SpectatorCN
Thu Jun 25, 2009 3:27 pm
Forum: Scripting
Topic: Remote Control of traffic shaping over SSH, Telnet
Replies: 18
Views: 5576

Re: Remote Control of traffic shaping over SSH, Telnet

add comment to your rule, then find rule number using comment and remove using that rule number you got.
I am search by name. And can't find number.
How find rule number using comment?
queue simple print where comment="test" ???

Don't work. It show wrong number/
by SpectatorCN
Thu Jun 25, 2009 3:21 pm
Forum: Scripting
Topic: Remote Control of traffic shaping over SSH, Telnet
Replies: 18
Views: 5576

Re: Remote Control of traffic shaping over SSH, Telnet

try
:put [queue simple print as-value where name = test]
p.s. why not API?
[admin@MT1] > queue simple print as-value where name=test  
[admin@MT1] > 
Nothing.
Now i look in API side.
by SpectatorCN
Thu Jun 25, 2009 2:30 pm
Forum: Scripting
Topic: Remote Control of traffic shaping over SSH, Telnet
Replies: 18
Views: 5576

Remote Control of traffic shaping over SSH, Telnet

I am writing script for remote control MT via telnet or ssh, and faced with the problem A simple example: Add rule: "queue simple add name = test target-address = 10.10.10.2/32 max-limit = 512000/512000" Rule added at number 3016 All excellent. But the rule is necessary to remove by it num...
by SpectatorCN
Thu Jun 25, 2009 1:29 pm
Forum: General
Topic: Feature Request: *really* support SNMP v2C
Replies: 18
Views: 7870

Re: Feature Request: *really* support SNMP v2C

3.25, x86 - works fine for me
Ok.Thanks!
I will search for a problem at myself.
by SpectatorCN
Thu Jun 25, 2009 3:23 am
Forum: General
Topic: Feature Request: *really* support SNMP v2C
Replies: 18
Views: 7870

Re: Feature Request: *really* support SNMP v2C

SNMP on RB493 with v.3.14 works fine.
But on x86 with v.3.25 does not want to work "Timeout: No Response from xx.xx.xx.xx"
It's my mistake or SNMP is not working on x86?
by SpectatorCN
Thu Jun 25, 2009 3:10 am
Forum: General
Topic: Feature Request: *really* support SNMP v2C
Replies: 18
Views: 7870

Re: Feature Request: *really* support SNMP v2C

SNMP v2c read only?
by SpectatorCN
Fri Jun 19, 2009 4:27 pm
Forum: General
Topic: Question about shaping (possible or not)
Replies: 17
Views: 4937

Re: Question about shaping (possible or not)

Are you sure you XEN package was/is not enabled in one of the tries.

You talk about viVirtualization package?
I do not install it.
by SpectatorCN
Fri Jun 19, 2009 4:16 pm
Forum: General
Topic: Question about shaping (possible or not)
Replies: 17
Views: 4937

Re: Question about shaping (possible or not)

After updating felt a substantial difference. There are two things. 1) When traffic at 350 Mbps, without shaping - ping a little more than 1-3 ms. Why? 2) In your personal experience - how best to cut traffic? I have a 6 unlimited packages. But! Without shaping ping is excellent, with shap - 50-80 m...
by SpectatorCN
Fri Jun 19, 2009 4:05 pm
Forum: General
Topic: Question about shaping (possible or not)
Replies: 17
Views: 4937

Re: Question about shaping (possible or not)

No I have not wrote in support. Just did not have time.
With a network card issue decided. Installed 3.13 and upgraded to 3.25 - network cards work.
And if just install 3.25 - do not work.
by SpectatorCN
Fri Jun 19, 2009 3:45 am
Forum: General
Topic: Question about shaping (possible or not)
Replies: 17
Views: 4937

Re: Question about shaping (possible or not)

Because the Intel PRO/1000 PT is works only at 3.13.
I try all versions MT - does not work.

And this is one of the few Intel network cards supported by Mikrotik.

Look this link http://forum.mikrotik.com/viewtopic.php ... 39#p144539
by SpectatorCN
Thu Jun 18, 2009 1:36 am
Forum: General
Topic: Question about shaping (possible or not)
Replies: 17
Views: 4937

Re: Question about shaping (possible or not)

Decided to revert to the old topic. TEST Mikrotik on PC - CPU Intel ® Core ™ 2 Duo 3 GHz - Intel LGA775 Platform - Intel ® G33 chipset - Dual-channel DDR2 1066 MHz * 1 Gb - Flash Drive 8 Gb Speed 300h Especially found two network cards "82572EI Gigabit Ethernet Controller" Immediately put ...
by SpectatorCN
Fri Feb 13, 2009 10:50 am
Forum: General
Topic: Please help with instalation Intel PRO/1000 Ethernet(8257EI)
Replies: 8
Views: 2787

Re: Please help with instalation Intel PRO/1000 Ethernet(8257EI)

the driver menu is not for PCI cards, don't use it. you can't add new drivers, if the card doesn't work in latest RouterOS version, there is nothing you can do WHY? http://wiki.mikrotik.com/wiki/Supported_Hardware have line: Intel PRO/1000 PT ( 82572EI Gigabit Ethernet Controller rev: 6) 3.13 Works...
by SpectatorCN
Fri Feb 13, 2009 10:44 am
Forum: General
Topic: Please help with instalation Intel PRO/1000 Ethernet(8257EI)
Replies: 8
Views: 2787

Re: Please help with instalation Intel PRO/1000 Ethernet(8257EI)

You can excuse me for impudence, but you're too high to deliver the product. I like the MK as a product, but apparently I grew up above it. My useful bandwidth of more than 130 TB per month. I am tuning in every possible way to Linux, and take out with him all that can be up to the hardware limit, b...
by SpectatorCN
Fri Feb 13, 2009 10:33 am
Forum: General
Topic: Please help with instalation Intel PRO/1000 Ethernet(8257EI)
Replies: 8
Views: 2787

Re: Please help with instalation Intel PRO/1000 Ethernet(8257EI)

2 Mikrotik Team, Again the same story as with the 82571EB. What do Mikrotik support? Realtek? I certainly understand that the issuance of Mikrotik OS, it is intended primarily for the RouterBOARD. But why then do the version for PC? If supported only equipment which is not a server? I have over 20 ...
by SpectatorCN
Fri Feb 13, 2009 1:52 am
Forum: General
Topic: Please help with instalation Intel PRO/1000 Ethernet(8257EI)
Replies: 8
Views: 2787

Re: Please help with instalation Intel PRO/1000 Ethernet(8257EI)

In the BIOS setup to disable all unnecessary excluding internal LAN and USB. USB is necessary for connecting a keyboard, because the motherboard has no PS / 2. The most interesting that the integrated network card to work immediately, although it does not suit me. And Intel network cards have been p...
by SpectatorCN
Fri Feb 13, 2009 1:47 am
Forum: General
Topic: Please help with instalation Intel PRO/1000 Ethernet(8257EI)
Replies: 8
Views: 2787

Re: Please help with instalation Intel PRO/1000 Ethernet(8257EI)

Sorry, I forgot to specify the version of MT - 3.20
by SpectatorCN
Thu Feb 12, 2009 11:23 pm
Forum: General
Topic: Please help with instalation Intel PRO/1000 Ethernet(8257EI)
Replies: 8
Views: 2787

Please help with instalation Intel PRO/1000 Ethernet(8257EI)

I can not install a driver. I try to do everything in accordance with the documentation. I have Intel PRO/1000 PT (82572EI Gigabit Ethernet Controller (Copper) (rev: 6)) specifically purchased for Mikrotik :) [admin@MikroTik] > /system resource io print PORT-RANGE OWNER 0x20-0x21 APIC 0x40-0x43 [tim...
by SpectatorCN
Thu Feb 12, 2009 12:03 pm
Forum: General
Topic: Question about shaping (possible or not)
Replies: 17
Views: 4937

Re: Question about shaping (possible or not)

Another issue that worries me and a few other people whether delivery RB/1000 directly from Latvia?
As the yours official distributors of Mikrotik in the Ukraine do margin from 50% to 80%.
I think it very much.
by SpectatorCN
Thu Feb 12, 2009 11:50 am
Forum: General
Topic: Question about shaping (possible or not)
Replies: 17
Views: 4937

Re: Question about shaping (possible or not)

Macgaiver suggested a good idea to split the work load. I'd also suggest you use a separate router for BGP if you are running full tables. Think about RAID but with routers -- RAIR
By the way, about the full table. RB/1000 will be able to withstand the full view of the two uplinks?
by SpectatorCN
Wed Feb 11, 2009 4:31 am
Forum: General
Topic: Question about shaping (possible or not)
Replies: 17
Views: 4937

Re: Question about shaping (possible or not)

In is not smart to have shaping for 3000-4000 users on the same piece of hardware - you need to limit your client upload as close to client as possible, or else it will spam all the network with traffic that will eventually dropped by main router. I suggest up to 500clients per main router (2 x /24...
by SpectatorCN
Wed Feb 11, 2009 4:24 am
Forum: General
Topic: Question about shaping (possible or not)
Replies: 17
Views: 4937

Re: Question about shaping (possible or not)

http://forum.mikrotik.com/viewtopic.php?p=141378#p141378 http://forum.mikrotik.com/viewtopic.php?p=137128#p137128 http://forum.mikrotik.com/viewtopic.php?f=13&t=29211 Check these out. Check this one as well: http://forum.mikrotik.com/viewtopic.php?f=2&t=29587 Thanks for the links, but I am ...
by SpectatorCN
Tue Feb 10, 2009 2:24 am
Forum: General
Topic: Question about shaping (possible or not)
Replies: 17
Views: 4937

Question about shaping (possible or not)

Who use mikrotik in large networks please answer. Task: It is necessary to limit the speed of approximately 3000-4000 users. Limitations in the speed different from 512 kbit up to 10 Mbit. This means that the interface should be approximately 4000 rules of shaping. At the same server is scheduled to...