Community discussions

MikroTik App

Search found 30 matches

by Turamarth
Thu Feb 13, 2020 10:36 pm
Forum: Scripting
Topic: hotspot management from PHP API
Replies: 14
Views: 7355

Re: hotspot management from PHP API

Hi again, my script was working fine till now (some years working perfect), something more that i saw change with any of last routerOS updates, and now i have a problem with the remove part from hotpost, the enable/disable part works fine, looks like the problem is in the read return from the router...
by Turamarth
Tue May 28, 2013 3:11 am
Forum: General
Topic: Double QoS for v6 is possible
Replies: 71
Views: 47616

Re: Double QoS for v6 is possible

Send the support file generated when reboot happens to support ppl, they will give you details about it.
by Turamarth
Fri May 24, 2013 7:27 pm
Forum: RouterBOARD hardware
Topic: RB1100AHx2 Rebooting Problem
Replies: 11
Views: 4580

Re: RB1100AHx2 Rebooting Problem

Switching to another ethernet port dont solve the problem here.

We updated to 6.0 with hope that fix something, but have other bugs this version...
by Turamarth
Thu May 23, 2013 5:00 pm
Forum: General
Topic: bypassing dynamic queues (hotspot pppoe)
Replies: 17
Views: 5234

Re: bypassing dynamic queues (hotspot pppoe)

same problem here, this will need a fix ...
by Turamarth
Thu May 23, 2013 4:46 pm
Forum: General
Topic: Simple Queue Passthrough?
Replies: 1
Views: 1897

Re: Simple Queue Passthrough?

same problem here
by Turamarth
Thu May 23, 2013 4:18 pm
Forum: General
Topic: Double QoS for v6 is possible
Replies: 71
Views: 47616

Re: Double QoS for v6 is possible

actuallly not work as should do :/

use both queues at same time so the hotspot queue still limit the final bandwith of the client.


any way to avoid use both queues ? just the first with priority or other kind of order it ?
by Turamarth
Wed May 22, 2013 1:10 pm
Forum: General
Topic: Packet mark / tos problem
Replies: 14
Views: 1582

Re: Packet mark / tos problem

Thanks for the info, so this should work liks is now.
by Turamarth
Wed May 22, 2013 1:08 pm
Forum: General
Topic: Double QoS for v6 is possible
Replies: 71
Views: 47616

Re: Double QoS for v6 is possible

now seems work even with the cache simple queues at the bottom of list.

im trying with v6.0 now, maybe they change the order of execution.
by Turamarth
Wed May 22, 2013 2:33 am
Forum: General
Topic: Double QoS for v6 is possible
Replies: 71
Views: 47616

Re: Double QoS for v6 is possible

no, no problem at all with that, just need get used to think it other way. anyway is working now with simple queues. my last question is about the priority in queue list, i mean, the dynamic ones always are in top of the list. how works the execution order in simple queue list? by order list? or by ...
by Turamarth
Tue May 21, 2013 7:46 pm
Forum: General
Topic: Double QoS for v6 is possible
Replies: 71
Views: 47616

Re: Double QoS for v6 is possible

so i can forgot queue tree and must do all simple queues :/
by Turamarth
Tue May 21, 2013 7:34 pm
Forum: General
Topic: Packet mark / tos problem
Replies: 14
Views: 1582

Re: Packet mark / tos problem

Yes need be as router the mk1

and have lot of ports forwards too.

the tos and packet mark from one mk to ther keep or disapear?
by Turamarth
Tue May 21, 2013 6:44 pm
Forum: General
Topic: Packet mark / tos problem
Replies: 14
Views: 1582

Re: Packet mark / tos problem

the mk 2 is the gateway to internet of mk 1

mk 2 is as router.
by Turamarth
Tue May 21, 2013 5:40 pm
Forum: General
Topic: Packet mark / tos problem
Replies: 14
Views: 1582

Re: Packet mark / tos problem

Yes we have multiple gateways and the second mk is doing nat (masquerade) for each of them.


I attach a resumed image of our network.

I hope it helps
by Turamarth
Tue May 21, 2013 5:01 pm
Forum: General
Topic: Double QoS for v6 is possible
Replies: 71
Views: 47616

Re: Double QoS for v6 is possible

There is a problem with queue simple and tree in v6 and we had to downgrade to keep running our network. We have a hotspot that create dinamics simple queues for each user. Web have a proxy cache. in v5.x we have a mangle that all traffic coming from cache get mark and pass to a queue tree with more...
by Turamarth
Tue May 21, 2013 4:38 pm
Forum: General
Topic: Packet mark / tos problem
Replies: 14
Views: 1582

Re: Packet mark / tos problem

the reason of mark some packets is i want to force route of one of lan ips, see the mangle of first mk, i want only force route of packets from 192.168.0.35, leaving the others (192.168.0.0/24) without mark to follow the default route. if there is only 1 mk im sure will work fine, but there is 2 mk ...
by Turamarth
Tue May 21, 2013 2:35 pm
Forum: General
Topic: Packet mark / tos problem
Replies: 14
Views: 1582

Re: Packet mark / tos problem

Yes, and the route is working fine because are other connections working with this. if i do this: 3 X ;;; chain=prerouting action=mark-routing new-routing-mark=route1 passthrough=no src-address=169.254.107.14 instead of: 2 X ;;; TOS chain=prerouting action=mark-routing new-routing-mark=route1 passth...
by Turamarth
Tue May 21, 2013 1:25 pm
Forum: General
Topic: Packet mark / tos problem
Replies: 14
Views: 1582

Re: Packet mark / tos problem

Yes thats the idea, the all trafic from this ip must go to the specified route.
by Turamarth
Tue May 21, 2013 12:37 am
Forum: General
Topic: Packet mark / tos problem
Replies: 14
Views: 1582

Packet mark / tos problem

I have un mk RB532A at home, and i have a mange marking all packets from one of lan ips with TOS. 4 chain=prerouting action=mark-packet new-packet-mark=sirc passthrough=yes src-address=192.168.0.35 5 chain=prerouting action=change-dscp new-dscp=6 passthrough=yes in the datacenter our GW is a MK RB11...
by Turamarth
Mon Apr 08, 2013 4:10 am
Forum: General
Topic: Remove tzsp encapsulation
Replies: 0
Views: 471

Remove tzsp encapsulation

There is any software to remove tzsp encapsulation from a mikrotik streaming sniffer?

thanks
by Turamarth
Fri Mar 08, 2013 12:48 am
Forum: General
Topic: Better Torch and list filters
Replies: 1
Views: 1106

Re: Better Torch and list filters

I would like to be able to torch traffic based on TOS/DSCP and/or connection-mark/packet-mark.
I agree, will be a nice feature.

We need it :)
by Turamarth
Sat Oct 06, 2012 10:25 pm
Forum: Scripting
Topic: hotspot management from PHP API
Replies: 14
Views: 7355

Re: hotspot management from PHP API

i dont edit the first code with the read() :P

i revised all code again, and now works fine.

Lot of thanks for ur help and ur tips.
by Turamarth
Sat Oct 06, 2012 9:54 pm
Forum: Scripting
Topic: hotspot management from PHP API
Replies: 14
Views: 7355

Re: hotspot management from PHP API

BTW, I'm not even sure the removal in the "host" is necesary. It should be deleted automatically as a consequence of the user deletion. Should... but not... $API2->write('/ip/hotspot/host/print',true); $READ2 = $API2->read(true); foreach ($READ2 as $value2) { if ($value2['mac-address'] == $mac) { $...
by Turamarth
Sat Oct 06, 2012 9:02 pm
Forum: Scripting
Topic: hotspot management from PHP API
Replies: 14
Views: 7355

Re: hotspot management from PHP API

i tried with a read() after each remove, and only works the disable part. the remove one fails.

Anyway i will study ur api for the next projects, but for now i dont understand fully this api so.. i go slowly :P

Thanks for the tips
by Turamarth
Sat Oct 06, 2012 3:02 am
Forum: Scripting
Topic: hotspot management from PHP API
Replies: 14
Views: 7355

Re: hotspot management from PHP API

New problem, becouse the long arrays coming from mk, we need use 2 calls to api, but now, nothing wokrs... <?php require('routeros_api.class.php'); include('../../incluits/config.php'); include('../../incluits/functions.php'); if(!isset($_SESSION["admin"]) ) { redirigir_a("../index.php?stat=nouser")...
by Turamarth
Sun Sep 30, 2012 7:06 pm
Forum: Scripting
Topic: hotspot management from PHP API
Replies: 14
Views: 7355

Re: hotspot management from PHP API

Lol, i fell stupid :/


thx man i dont see this noob problem :S

all works fine now :)
by Turamarth
Sun Sep 30, 2012 6:06 pm
Forum: Scripting
Topic: hotspot management from PHP API
Replies: 14
Views: 7355

hotspot management from PHP API

The code: require('routeros_api.class.php'); function recorro($matriz) { foreach($matriz as $key=>$value) { if (is_array($value)) { //echo $value["name"].'<br>'; //si es un array busco dentro if ($value["name"] == $mac) { //si coincide con el valor deseado, lo devuelvo para usarlo return $value['.id...
by Turamarth
Thu Jul 12, 2012 1:11 am
Forum: General
Topic: Disconnecting unauthorized hotspot users
Replies: 23
Views: 17160

Re: Disconnecting unauthorized hotspot users

Acct-Interim-Interval only updates the account stats to db.

still no luck with my problem :/
by Turamarth
Tue May 29, 2012 3:38 pm
Forum: General
Topic: hotspot with freeradius on mysql - rx/tx settings
Replies: 8
Views: 7036

Re: hotspot with freeradius on mysql - rx/tx settings

thx for reply, actually the problem was in the op value in db.

now is working fine. thx :)
by Turamarth
Mon May 28, 2012 7:21 pm
Forum: General
Topic: Disconnecting unauthorized hotspot users
Replies: 23
Views: 17160

Re: Disconnecting unauthorized hotspot users

I have a similar problem, i have a web to administrate the radius db, i have a form to enable or disable each single user from this db. the problem is when i disable a user, how i can clear him from host list ? i mean, without use keepalive timeout or idletimeout, i dont want disturb the rest of use...
by Turamarth
Wed May 09, 2012 4:04 am
Forum: General
Topic: hotspot with freeradius on mysql - rx/tx settings
Replies: 8
Views: 7036

Re: hotspot with freeradius on mysql - rx/tx settings

Im trying to manage hotspot user-profiles from mysql database and i could not make the users use the correct profile. i tryed with

username Mikrotik-Group := test
and
username Mikrotik-Rate-Limit := 64k/64k

but nothing, the user still using full bandwith.

Any idea? thx :)