Pemberitahuan ini akan muncul di page login juragan berikut scriptnya :
Cari login.html di folder page login silahkan tambah kode berikut terserah letakan dimana :
<center><img src='http://s27.postimg.org/tfeybnnyr/image.png'
onerror="this.src='img/down.png'"/align="middle"></center>
Cari login.html di folder page login silahkan tambah kode berikut terserah letakan dimana :
<center><img src='http://s27.postimg.org/tfeybnnyr/image.png'
onerror="this.src='img/down.png'"/align="middle"></center>
Penampakan jika internet normal :
penampakan jika internet down :
Tinggal tambahkan diwaled garden gambar yang diletakan di server luar berikut scriptnya :
/ip hotspot walled-garden
add action=allow disabled=no dst-host=s27.postimg.org dst-port=80
cat. apabila gambar sama dengan diposting ini bisa langsung pastekan
Agar pelanggan hotpsot yang sedang login bisa lihat pesan di page login kalau internet sedang gangguan, kick secara otomatis dengan script berikut:
/tool netwatch
add comment=internet-down-hotspot disabled=no down-script=":local dumplist [/ip hotspot active find]\r\
\n:foreach i in=\$dumplist do={\r\
\n /ip hotspot active remove \$i\r\
\n}\r\
\n:local dumplist [/ip hotspot cookie find]\r\
\n:foreach i in=\$dumplist do={\r\
\n /ip hotspot cookie remove \$i\r\
\n}" host=8.8.8.8 interval=30s timeout=1s up-script=""
jika diatas error tinggal pastekan di tools-netcwath-down :
:local dumplist [/ip hotspot active find]
:foreach i in=$dumplist do={
/ip hotspot active remove $i
}
:local dumplist [/ip hotspot cookie find]
:foreach i in=$dumplist do={
/ip hotspot cookie remove $i
}
sedangkan hostnya 8.8.8.8
1 comments:
Use this diet hack to drop 2 lb of fat in just 8 hours
More than 160,000 men and women are using a easy and SECRET "liquid hack" to burn 2 lbs each and every night as they sleep.
It's painless and it works every time.
You can do it yourself by following these easy steps:
1) Take a drinking glass and fill it up half full
2) Now learn this proven HACK
you'll become 2 lbs skinnier the next day!
Post a Comment