MIkrotik-advertise-Interval - Freeradius

Hi everybody!

That’s my first post here at this forum. I’m from Brazil and my English it not the best I wish it was…

My doubt is about the Mikrotik-advertise-Interval attribute that comes from Freeradius.
In the documentation is written that this attribute is a Integer number, but this number is measure in minuts, seconds?

Could anyone explain me how it works?

yeah, it could be in seconds,minutes, hours,week and even months I guess

integer number if weeks or monthes? :laughing:

seconds, I believe - nothing else ))

Hi Chupaka

I think the advertise interval time is in minutes. Or is that only in the example in the docs?

ADD: The Mikrotik-advertise-interval is not in my Mikrotik radius dictionary. (FreeRADIUS). Because of the formatting of the Mikrotik-Advertise-Interval. it would seem to me it would need to be a string instead of an integer. But that is just me. Marching to a different drummer…

UPDATE: After testing, the value is in seconds. If you leave the time character (like ‘s’ or ‘m’) off the input string, it reverts to seconds.

Thank’s SurferTim, and the other


So if I put the representing character of seconds, months, weeks… what ever…

example: 60m=1h ; 60s=1m


is that right?

After testing, the value will be converted to the correct time if the value is entered in seconds with no time character. I tried this:

/ip hotspot user profile
set 0 advertise-interval=600
print

and the advertise-interval showed as ‘10m’.

Actually I am saving this attribute in mysql and using freeradius to send it to mikrotik.
So I cannot see how it is on mikrotik.

But as you said, it is in seconds :smiley:

I was wondering about the advertise-timeout. Anybody know how it works when I use freeradius?