Community discussions

MikroTik App
 
farhadsher
just joined
Topic Author
Posts: 16
Joined: Tue Jul 15, 2014 3:57 pm

Simple Queue does not work with Hotpspot

Mon Aug 04, 2014 12:19 pm

Hi,

after enabling hotspot, Simple Queue does not work on none of the ip addresses.

please see below hotspot profile print:

ip hotspot profile> print
Flags: * - default
0 * name="default" hotspot-address=0.0.0.0 dns-name="" html-directory=hotspot
rate-limit="" http-proxy=0.0.0.0:0 smtp-server=0.0.0.0
login-by=cookie,http-chap http-cookie-lifetime=3d split-user-domain=no
use-radius=no

and Queue print:

/queue simple> print
Flags: X - disabled, I - invalid, D - dynamic
0 name="queue1" target=10.0.0.2/32 parent=none packet-marks="" priority=8/8
queue=default-small/default-small limit-at=0/0 max-limit=768k/1M
burst-limit=1M/2768k burst-threshold=384k/512k burst-time=2m30s/2m30s

1 name="queue2" target=10.0.0.3/32 parent=none packet-marks="" priority=8/8
queue=default-small/default-small limit-at=0/0 max-limit=768k/1M
burst-limit=1M/2768k burst-threshold=384k/512k burst-time=2m30s/2m30s

2 name="queue7" target=10.0.0.8/32 parent=none packet-marks="" priority=8/8
queue=default-small/default-small limit-at=0/0 max-limit=768k/1M
burst-limit=1M/2768k burst-threshold=384k/512k burst-time=2m30s/2m30s

can any one help with this ?

regards,

Farhad
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Simple Queue does not work with Hotpspot

Mon Aug 04, 2014 4:39 pm

I don't see the profile for the hotspot. I see only the default.

I use the rate-limit entry in "/ip hotspot user profile" to limit user upload/download rates.
 
farhadsher
just joined
Topic Author
Posts: 16
Joined: Tue Jul 15, 2014 3:57 pm

Re: Simple Queue does not work with Hotpspot

Mon Aug 04, 2014 6:59 pm

hi,

yah i forgot to past that see below

/ip hotspot user profile> print
Flags: * - default
0 * name="default" idle-timeout=none keepalive-timeout=2m status-autorefresh=1m
shared-users=unlimited add-mac-cookie=yes mac-cookie-timeout=3d
address-list="" transparent-proxy=no
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Simple Queue does not work with Hotpspot

Mon Aug 04, 2014 7:12 pm

This sets the user upload/download speed limit to 512k upload and 1M download.
/ip hotspot user profile
set 0 rate-limit="512k/1M"
 
farhadsher
just joined
Topic Author
Posts: 16
Joined: Tue Jul 15, 2014 3:57 pm

Re: Simple Queue does not work with Hotpspot

Sat Aug 09, 2014 6:12 pm

thank you for your reply. let is say i have 1,000 spot users how i can give them bandwidth of 1.5Mbps download and 1Mbps upload ?
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Simple Queue does not work with Hotpspot

Sat Aug 09, 2014 8:00 pm

The entry won't take fractions, so use K instead of M.
/ip hotspot user profile
set 0 rate-limit="1M/1500K"
 
farhadsher
just joined
Topic Author
Posts: 16
Joined: Tue Jul 15, 2014 3:57 pm

Re: Simple Queue does not work with Hotpspot

Mon Aug 11, 2014 10:22 am

thank you. will try this and will get back to you
 
farhadsher
just joined
Topic Author
Posts: 16
Joined: Tue Jul 15, 2014 3:57 pm

Re: Simple Queue does not work with Hotpspot

Mon Aug 11, 2014 10:30 am

it works thank you so much. now how i can give them unlimited bandwidth to cache contents ?
i already configured below but i think it is not working

name="unlimitcache" parent=global packet-mark=cache-hits limit-at=0
queue=default priority=8 max-limit=0 burst-limit=0 burst-threshold=0
burst-time=0s

can you please help on this as well ?
 
User avatar
arjuneu
Member Candidate
Member Candidate
Posts: 173
Joined: Fri Oct 07, 2011 10:24 am

Re: Simple Queue does not work with Hotpspot

Tue Aug 12, 2014 6:05 am

it works thank you so much. now how i can give them unlimited bandwidth to cache contents ?
i already configured below but i think it is not working

name="unlimitcache" parent=global packet-mark=cache-hits limit-at=0
queue=default priority=8 max-limit=0 burst-limit=0 burst-threshold=0
burst-time=0s

can you please help on this as well ?
Have a look at the below link.

http://radiusm.blogspot.com/
 
farhadsher
just joined
Topic Author
Posts: 16
Joined: Tue Jul 15, 2014 3:57 pm

Re: Simple Queue does not work with Hotpspot

Tue Aug 12, 2014 8:09 am

i'm sorry to inform you that it is not working.
I have hotspot activated so I want to give unlimit bandwidth to cache contents.
your one is only for simple queue clients.
 
User avatar
arjuneu
Member Candidate
Member Candidate
Posts: 173
Joined: Fri Oct 07, 2011 10:24 am

Re: Simple Queue does not work with Hotpspot

Tue Aug 12, 2014 9:39 am

i'm sorry to inform you that it is not working.
I have hotspot activated so I want to give unlimit bandwidth to cache contents.
your one is only for simple queue clients.
Limitation on hotspot also uses the simple queue. I'm currently running Hotspot and PPPoE on same interface. This script works for both Hotspot and PPPoE.
 
farhadsher
just joined
Topic Author
Posts: 16
Joined: Tue Jul 15, 2014 3:57 pm

Re: Simple Queue does not work with Hotpspot

Tue Aug 12, 2014 4:58 pm

cache server does not work. and this rule does not work either.

name="unlimitcache" parent=global packet-mark=cache-hits limit-at=0
queue=default priority=8 max-limit=0 burst-limit=0 burst-threshold=0
burst-time=0s

Who is online

Users browsing this forum: kkeyser and 36 guests