Skip to content

From Small to BIGGER

Menu
  • Home
  • About Us
  • Portofolio
  • Contact
Menu

Mikrotik – Script Function how to run and output

Posted on October 21, 2022October 21, 2022 by kura

Case: enabled user pppoe and print result

  1. Create script on /system script add name=”Unsuspend”
:local date;

:set date [/system clock get date];

/ppp secret set [find where name~"$p"] comment="Unsuspend $date, Kura" disabled=no

/ppp secret print where name~"$p"

2. call script on terminal

@Mikrotik]> :global f [:parse [/system script get Unsuspend source ]]

3. set parametter and run

@Mikrotik]> $f p="003174"

FacebookTweetLinkedIn

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Laravel & Datatables – Server Side Manualy
  • Linux – User Login Set Directory & Set Permission
  • Javascript Call Function From iFrame
  • Python – Create data dummy attendance
  • PHPWord Convert HTML + PDF

Categories

  • Apache
  • Database
  • Freeradius
  • Javascript
  • Mikrotik
  • Mysql
  • Networking
  • PHP
  • Postgresql
  • Programming
  • Python
  • Server
©2025 From Small to BIGGER | Built using WordPress and Responsive Blogily theme by Superb