soppiann11

WMS @wifi.id

Nov 24th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. *** testing 123 auto rekonek WMS ***
  2.  
  3. /tool netwatch
  4. add down-script="{\r\
  5. \nlog error (\"WMS is down --- trying to reconnect ......\")\r\
  6. \n:local ip [/ip address get [/ip address find interface=\"namaINTERFACE\"] address];\r\
  7. \n:local ip [put [:pick \$ip 0 [:find \$ip \"/\"]]]\r\
  8. \n/tool fetch http-method=post http-data=\"username=USERNAMEWMS@freeMS&password=PASSWORDWMS\" url=(\"https://welcome2.wifi.id/wms/auth/authnew/autol\
  9. ogin/quarantine.php\\\?ipc=\$ip&gw_id=GWIDurl&client_mac=MACADDRESSinterface&wlan=WLANurl:UN%20CHECK\") keep-result=no\r\
  10. \nlog warning (\"WMS is UP\")\r\
  11. \n}" host=8.8.8.8 interval=10s
  12.  
  13. *** noted , ganti yang perlu diganti untuk disesuaikan dengan data yang ada ****
  14. *** setelah itu copy paste di new terminal ****
Add Comment
Please, Sign In to add comment