Posts

Auto Login Failure Notification Telegram

Auto Login Function of wifi vendo systems for Mikrotik based paperless voucher may fail. For some technical reasons, it is  not 100% of the time, users phone auto login is successful but it will successfully create a voucher code to the mikrotik. JuanFi System will save the voucher code in text box but some users closed the browser and the voucher saved erased. This tutorial is for us to be notified in case there is a voucher code created by wifi vendo but didn't login or unsuccessfully do the auto login function.  Mikrotik Terminal /system script add comment=1 dont-require-permissions=no name=userlist owner=admin policy=\ ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source="0"  /system schedule add interval=10s name=userlist on-event="###replace telegram token\r\ \n:local telegramToken \"your token\";\ \r\ \n###replace telegram chat id / group id\r\...

Fix Uptime Reset on sudden Power Interruption

Image
The issue of uptime problem is when the active user didn't logout or safe mikrotik shutdown the active user uptime is not save to user statistic uptime. An example to this is a user with 2hrs limit-uptime and he/she used it for an hour then an unexpected power interuption happen, as a result the active uptime used by user is not save and the uptime statistic of user is still 00:00:00. There are different ways of fixing uptime reset causes by power interuption. Saving active user uptime using a scheduler script to mikrotik memory like comment in (user, scheduler and script), creating a scheduler, script source or file that containing there current active uptime. I choose using comment on scheduler created by user validity. Note: Currently using JuanFi WiFi Vendo system. For Reference visit JuanFi by Ivan Alayan 1.)  add a script to the end of On-Logout in user profile User Profile On Logout /sys sch set [find where name=...

Popular posts from this blog

Fix Uptime Reset on sudden Power Interruption

Auto Login Failure Notification Telegram