Community discussions

MikroTik App
 
agonzalez
just joined
Topic Author
Posts: 2
Joined: Tue Sep 05, 2023 8:52 pm

disable "Login By Trial"

Tue Sep 05, 2023 8:58 pm

how can i disable and enable "Login By Trial" in hotspot server profile using a script
 
User avatar
mohmadtnnarii
just joined
Posts: 6
Joined: Thu Sep 28, 2023 1:34 am

Re: disable "Login By Trial"

Fri Sep 29, 2023 8:10 pm

hello

peace be upon you

yes you can

use this script for enable trial time
 ip hotspot profile set login-by=http-chap,https,http-pap,mac-cookie,tria
l [find name=xxx]
and use this script for disable trial time
 ip hotspot profile set login-by=http-chap,https,http-pap,mac-cookie [find name=xxxxxx]
edit (xxxxxx) to your profile name and edit (login-by) and set any Choose the options that suit you

Who is online

Users browsing this forum: No registered users and 8 guests