MikroTik Scripting: Lesson 2 - Hello World

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ต.ค. 2024
  • In this lesson, we continue on from lesson one to configure our development environment and build our first "hello world" script. In this video we:
    Open a VSC development folder
    Verify SSH access from VSC
    Add a development user
    Add 2 extensions to VSC: Mikrotik RouterOS Script & ftp-sync
    Configure plugin ftp-sync
    Create, test, deply & debug our script script (hello.rsc)
    The slide deck, cheat-sheet and book details are available from mikrotikscript....
    If you enjoyed this video, please consider giving it a "like" and subscribe to my channel. Thanks!
    ** Don't forget that you can get a copy of the Mikrotik Scripting book from Amazon in paperback and e-book formats. **

ความคิดเห็น • 20

  • @LeoMikrotik
    @LeoMikrotik 11 หลายเดือนก่อน

    Best MikroTIk Scripting class I've ever attended; Thank you, I'm going to buy the book now!

    • @WifiNigel
      @WifiNigel  11 หลายเดือนก่อน

      Thanks for the feedback, glad it was useful. :)

  • @evancrosley2857
    @evancrosley2857 9 หลายเดือนก่อน

    Thank you so much for providing these videos, Nigel. I don't have a lot of money, and this has been a big help studying. I will be buying your book with my first paycheck!

    • @WifiNigel
      @WifiNigel  9 หลายเดือนก่อน +1

      Thanks for the kind words. I'm so glad the videos have been useful. Good luck with your studies and future career.

  • @khx73
    @khx73 5 หลายเดือนก่อน

    This is exactly what I needed to find. Thanks so much!

    • @WifiNigel
      @WifiNigel  5 หลายเดือนก่อน

      Glad it was helpful!

  • @bagussangaji830
    @bagussangaji830 5 หลายเดือนก่อน

    WOW thanks for the lesson sir, i like your content about computer network.

    • @WifiNigel
      @WifiNigel  5 หลายเดือนก่อน

      You are most welcome

  • @sergiobeltrao
    @sergiobeltrao ปีที่แล้ว +2

    17:35 Just a detail to share. MikroTik accepts short command names if the rest of it has only one possible match. For example, you can use 'pr' instead of 'print', and it will still work. Similarly, 'pu' can be used exclusively for 'put'. However, the single letter 'p' can be ambiguous, as it can refer to multiple commands like 'parse', 'pick', or 'put'. I'm not advanced in scripting on MikroTik, but your playlist will certainly help me. Thank you!

    • @WifiNigel
      @WifiNigel  ปีที่แล้ว

      Hi, thanks for the feebback and sharing this useful information!

  • @EstherNjeri-x2b
    @EstherNjeri-x2b 5 หลายเดือนก่อน

    Amazing work ...that summary after the tutorial is amazing

    • @WifiNigel
      @WifiNigel  5 หลายเดือนก่อน

      Glad you liked it!

  • @ryansupit7038
    @ryansupit7038 10 หลายเดือนก่อน

    thank you for the videos sir, it's really hard to find clear and descriptive mikrotik scripting tutorial

    • @WifiNigel
      @WifiNigel  10 หลายเดือนก่อน

      Glad it was helpful. Thank you for the kind feedback!

  • @swordlion294
    @swordlion294 ปีที่แล้ว +1

    Really good tutorials. Just started scripting on my Rb2011uias router. 👍

    • @WifiNigel
      @WifiNigel  ปีที่แล้ว

      Good to hear. Hope it's all going well :)

  • @flyboris2371
    @flyboris2371 ปีที่แล้ว

    Thanks, very interesting!

    • @WifiNigel
      @WifiNigel  ปีที่แล้ว

      Glad you liked it!

  • @PopovGP
    @PopovGP ปีที่แล้ว +2

    Hi!
    ftp-sync extension does not work with strong crypto option enabled in RouterOS 7.11.
    I got an error:
    "Ftp-sync: Uploading TemperatureChecker.rsc failed:
    Error: Handshake failed: no matching host key format"
    or should do
    /ip/ssh/set strong-crypto=no
    on my router.
    Switched to SFTP extension by Natizyskunk (v1.16.3).
    My sftp.json in .vscode directory look like:
    {
    "name": "Profile Name",
    "host": "192.168.88.1",
    "protocol": "sftp",
    "port": 22,
    "secure": true,
    "username": "my_username",
    "remotePath": "",
    "password": "my_password",
    "uploadOnSave": true
    }
    This works.

    • @WifiNigel
      @WifiNigel  11 หลายเดือนก่อน

      Thanks for sharing this information!