Popular Posts

How to Mikrotik Remove Dynamic Host Hotspot ?

" Ekonetcomp is Home of Mikrotik Config "

How do I automatically remove dynamic hosts on an active host hotspot?
I usually use this script for automatically remove dynamic hosts on an active host hotspot



# Mikrotik RouterOS Dynamic Host Hotspot Remover Script - ekonetcomp.blogspot.com

/system scheduler
add interval=1m name=remove_dynamic_host_sched on-event="#:local LOG false;\r\
    \n \r\
    \n:if ([:len [/system script job find script=\"remove_dynamic_host\"]] = 0) do={\r\
    \n\t:if ([:len [/ip hotspot host find dynamic ]] != 0) do={\r\
    \n\t\t:if (\$LOG) do={:log warning message=\"scheduler : Find 1 or more Dynamic Host On Hotspot Hosts\";}\r\
    \n\t\t:if (\$LOG) do={:log warning message=\"scheduler : Start remove_dynamic_host Script\";}\r\
    \n\t\t/system script run remove_dynamic_host;\r\
    \n\t\t} else={\r\
    \n\t\t:if (\$LOG) do={:log warning message=\"scheduler : No Start remove_dynamic_host script , No One Find Dynamic Host on Hotspot Hosts\";}\r\
    \n\t\t}\r\
    \n\t} else={\r\
    \n\t:if (\$LOG) do={:log warning message=\"scheduler : Noting to Do, remove_dynamic_host script  Still Running\";}\r\
    \n\r\
    \n}\r\
add name=startup_remove_dynamic_host_sched on-event="# startup_remove_dynamic_host_sched\r\
    \n\r\
    \n:local LOG true;\r\
    \n#:local LOG false;\r\
    \n\r\
    \n\r\
    \n:if ([/system scheduler get [find name=\"remove_dynamic_host_sched\"] disabled ] = yes ) do={\r\
    \n\t:if (\$LOG) do={:log warning message=\"startup_enabler ; Enable  scheduler remove_dynamic_host_sched\";}\r\
    \n\t/system scheduler enable [find name=\"remove_dynamic_host_sched\"];\r\
    \n} else={\r\
    \n\t:if (\$LOG) do={:log warning message=\"startup_enabler : Noting to Do, remove_dynamic_host_sched is ENABLED\";}\r\
    \n}" policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive start-time=startup


# Mikrotik RouterOS Dynamic Host Hotspot Remover Script - ekonetcomp.blogspot.com
" Ekonetcomp is Home of Mikrotik Config "



2 Responses to "How to Mikrotik Remove Dynamic Host Hotspot ?"

" Ekonetcomp is Home of Mikrotik Config "
How do I automatically remove dynamic hosts on an active host hotspot? I usually use this script for automatically remove dynamic hosts on an active host hotspot


# Mikrotik RouterOS Dynamic Host Hotspot Remover Script - ekonetcomp.blogspot.com/system scheduler add interval=1m name=remove_dynamic_host_sched on-event="#:local LOG false;\r\ \n \r\ \n:if ([:len [/system script job find script=\"remove_dynamic_host\"]] = 0) d…
  1. Thank you for the update, very nice site.. Bobcat 300

    ReplyDelete
  2. If you are going to create a Hotspot without a managed system you can setup your wireless router with WPA2 security password for customers to join your WiFi network to access the Internet. free helium hotspot miner

    ReplyDelete

Newer Post Older Post Home


Followers

My Profile

Depok, Jawa Barat, Indonesia