Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Status
    Offline
    jelihim's Avatar
    Baru Gabung
    Join Date
    Jun 2009
    Posts
    7
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    script shutdown mikrotik dari windows

    untuk melakukan soft halt mikrotik dari windows dengan satu script :

    - buat user khusus untuk shutdown dengan kewenangan terbatas
    misal usernameClick here to enlargeperator passwordClick here to enlargeperator

    - Install putty

    - jalankan perintah berikut di command prompt :
    set PATH=C:\Program Files\Putty;%PATH%

    usahakan path tersebut diset setiap komputer startup dengan meletakkan
    perintah diatas pada autoexec.bat


    - buat dengan notepad file script.ssh yang berisi perintah
    /system shutdown
    /yes

    - buat dengan notepad file shutdown.bat yang berisi :

    plink.exe -pw operator -m script.ssh operator@192.168.0.1



    jalankan file shutdown.bat dari direktori yg sama dengan file script.ssh

  2. The Following 7 Users Say Thank You to jelihim For This Useful Post:


  3. #2
    Status
    Offline
    unlockmodem's Avatar
    Member
    Join Date
    Dec 2009
    Posts
    114
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    coba dulu ah...

  4. #3
    Status
    Offline
    tyang_dusun's Avatar
    Member Super Senior
    Join Date
    Jun 2008
    Location
    Klaten, Jawa Tengah, Indonesia, Indonesia
    Posts
    521
    Reviews
    Read 0 Reviews
    Downloads
    1
    Uploads
    0
    Feedback Score
    0
    nice share gan .... btw, dah ada yg nyoba lom ne..... prokitiuwnya dunk ....

  5. #4
    Status
    Offline
    slamdunk2768's Avatar
    Newbie
    Join Date
    Feb 2010
    Posts
    41
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by jelihim Click here to enlarge
    untuk melakukan soft halt mikrotik dari windows dengan satu script :

    - buat user khusus untuk shutdown dengan kewenangan terbatas
    misal usernameClick here to enlargeperator passwordClick here to enlargeperator

    - Install putty

    - jalankan perintah berikut di command prompt :
    set PATH=C:\Program Files\Putty;%PATH%

    usahakan path tersebut diset setiap komputer startup dengan meletakkan
    perintah diatas pada autoexec.bat


    - buat dengan notepad file script.ssh yang berisi perintah
    /system shutdown
    /yes

    - buat dengan notepad file shutdown.bat yang berisi :

    plink.exe -pw operator -m script.ssh operator@192.168.0.1



    jalankan file shutdown.bat dari direktori yg sama dengan file script.ssh
    Bro,...utk file/command "plink.exe" dapetnya dari mana ya ?

    Thanks,
    Slamdunk

  6. #5
    Status
    Offline
    dylavig's Avatar
    Member Super Senior
    Join Date
    Jun 2008
    Location
    Medan
    Posts
    537
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    cmn mau nambahkan. pdhl di mikrotiknya sendiri sdh bisa buat script utk shutdown jg kan

  7. #6
    Status
    Offline
    donipermono1982's Avatar
    Moderator
    Join Date
    Feb 2008
    Location
    Jakarta Selatan
    Posts
    2,809
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    mungkin ini maksudnya semacam shorcut di windows dengan satu kali klik sama aja menjalankan perintah shutdown mikrotik.


    cmiiw Click here to enlarge

  8. #7
    Status
    Offline
    unlockmodem's Avatar
    Member
    Join Date
    Dec 2009
    Posts
    114
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    wah keren nih utk plink nya download aja di ane da coba n sukses bro.....

    caranya : plink.exe -pw passwd -m file.ssh user@ip

    passwd : password mt agan
    file.ssh : isikan aja script utk shutdown atau apa lah... ane coba utk remote log squid (extension .ssh)
    user : username
    ip : ip mikrotik ataupun ip publik (jika mau remote)
    Last edited by unlockmodem; 01-06-2010 at 19:22.

  9. #8
    Status
    Offline
    aina's Avatar
    Baru Gabung
    Join Date
    May 2010
    Posts
    2
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by jelihim Click here to enlarge

    - buat dengan notepad file script.ssh yang berisi perintah
    /system shutdown
    /yes
    awalnya saya tidak bisa, tapi dengan ditambah ";" (titik koma) di belakangnya baru bisa... Saya pake mikrotik 2.9 dan Windows XP SP2

    /system shutdown;
    /yes;

    lalu saya tambahain dikit pesan pake batch script di file shutdown.bat nya.... jadinya lumayan keren...Click here to enlarge
    Code:
    @echo off
    echo ANDA AKAN MEMATIKAN MIKROTIK
    echo TEKAN SEMBARANG TOMBOL UNTUK MELANJUTKAN
    echo TUTUP JENDELA INI UNTUK MEMBATALKAN
    pause
    echo.
    echo 3
    ping -n 2 127.0.0.1>nul
    echo 2
    ping -n 2 127.0.0.1>nul
    echo 1
    ping -n 2 127.0.0.1>nul
    
    plink.exe -pw password -m script.ssh user@192.168.0.90
    cls
    
    @echo off
    echo SEKARANG ANDA DAPAT MEMUTUSKAN LISTRIK DI MIKROTIK
    echo TEKAN SEMBARANG TOMBOL UNTUK MENUTUP JENDELA INI
    echo .: aoepoet@yahoo.com.sg :.
    pause
    thanks berat bro jelihim Click here to enlarge
    Last edited by aina; 07-08-2010 at 22:32.

  10. The Following 2 Users Say Thank You to aina For This Useful Post:


  11. #9
    Status
    Offline
    junkist's Avatar
    Member
    Join Date
    Jul 2009
    Posts
    130
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    mantap sharingnya.....makasi mas/mbak

  12. #10
    Status
    Offline
    supermanVSspiderman's Avatar
    Member
    Join Date
    Jun 2010
    Posts
    121
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    thanx bro...

    mirip2 dgn cara thread dari bro dingo y...di

    Click here to enlarge

  13. #11
    Status
    Offline
    aina's Avatar
    Baru Gabung
    Join Date
    May 2010
    Posts
    2
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by junkist Click here to enlarge
    mantap sharingnya.....makasi mas/mbak
    wakakakak... Saya bukan mbak2... Saya mas2 juga, hanya nama id nya aja yg sprt itu.... (makna id nya dalam bro...) Click here to enlarge

  14. #12
    Status
    Offline
    oscark007's Avatar
    Member
    Join Date
    Jul 2010
    Posts
    116
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Nice Info

    kl mikrotik di mati/hidupkan ada ngaruh nya nda ya sam hardware nya?..

  15. The Following User Says Thank You to oscark007 For This Useful Post:


  16. #13
    Status
    Offline
    birul's Avatar
    Baru Gabung
    Join Date
    Aug 2010
    Location
    Solo
    Posts
    8
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    Thumbs up

    thanks... bagus banget.. numpang kpas aja.. maklum pemula... lom bisa buat sendiri.Click here to enlarge

  17. #14
    Status
    Offline
    coenk's Avatar
    Newbie
    Join Date
    Mar 2010
    Posts
    68
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    ty brooooooooooooooooooooooooooooooooo
    Click here to enlargeClick here to enlargeClick here to enlargeClick here to enlargeClick here to enlarge

  18. #15
    Status
    Offline
    whiely's Avatar
    Member Senior
    Join Date
    Jun 2010
    Location
    :unidentified:
    Posts
    423
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    Talking

    Click here to enlarge Originally Posted by aina Click here to enlarge
    wakakakak... Saya bukan mbak2... Saya mas2 juga, hanya nama id nya aja yg sprt itu.... (makna id nya dalam bro...) Click here to enlarge
    yg sabar om... Click here to enlargeClick here to enlarge heheheheh



    btw, NICE SHARE..!! ijin nyoba yah om TS....Click here to enlargeClick here to enlarge

 

 
Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. script dari mikrotik ver 2.9 ke ver 3.x
    By wp11b in forum Scripting @ Mikrotik
    Replies: 2
    Last Post: 09-05-2015, 19:52
  2. Replies: 4
    Last Post: 06-11-2013, 16:15
  3. Script utk shutdown PC dari MT
    By slamdunk2768 in forum Scripting @ Mikrotik
    Replies: 0
    Last Post: 07-04-2010, 10:23
  4. Replies: 21
    Last Post: 25-11-2009, 02:35
  5. Script remove client dari registration-table
    By nathan in forum Scripting @ Mikrotik
    Replies: 1
    Last Post: 09-06-2009, 02:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •