Quick fix for simultaneous on Easyhotspot
sebelumnya suwun buat mas Rafee atas distro dan trik2 yang telah diberikan
biasanya satu user bisa dibuat login rame2 oleh beberapa user sekaligus, wah bisa bangkrut dong lama…he..he, untung mas Rafee ngasih trik ini (tak comot dari blognya)
for quick fix please replace your “/var/www/system/application/models/billingplanmodel.php” file with http://pastebin.com/f3ceb50d7
and replace your “/var/www/system/application/models/postpaidmodel.php with http://pastebin.com/f6b5e1485
cuman setelah diterapkan, kok masih bablas aja ya….satu user masih bisa di buat login oleh beberapa orang, karena penasaran, utak-atik sampai di satru istri gara2 dicuekin katanya ( he..he), akhirnya ketemu juga, tinggal buka pagar aja difile /etc/freeradius/sql.conf, pada baris…
#######################################################################
# Simultaneous Use Checking Queries
#######################################################################
# simul_count_query - query for the number of current connections
# - If this is not defined, no simultaneouls use checking
# - will be performed by this module instance
# simul_verify_query - query to return details of current connections for verification
# - Leave blank or commented out to disable verification step
# - Note that the returned field order should not be changed.
#######################################################################
# Uncomment simul_count_query to enable simultaneous use checking
hilangkan pagar disini----> simul_count_query = "SELECT COUNT(*) FROM ${acct_table1} WHERE UserName='%{SQL-User-Name}' AND AcctStopTime = 0"
simul_verify_query = "SELECT RadAcctId, AcctSessionId, UserName, NASIPAddress, NASPortId, FramedIPAddress, CallingStationId, FramedProtocol FROM ${acct_table1} WHERE UserName='%{SQL-User-Name}' AND AcctStopTime = 0"
habis itu restart pc, dan coba…..
semoga berhasil
rifen berkata,
Januari 14, 2009 pada 9:53 am
mass setelah saya ikutin tutor yang diatas kok malah ada error kayak temen2 yang di blognya mas rafee. kira2 apanya yang salah ya mass…..
poerwo2211 berkata,
Januari 16, 2009 pada 1:28 pm
kalo lihat dari pesan errornya mungkin cuman masalah file permission aja
coba kasih perintah di konsole
sudo chmod 777 /var/www/system/application/models/billingplanmodel.php
dan
sudo chmod 777 /var/www/system/application/models/postpaidmodel.php
dedyisn berkata,
Februari 16, 2009 pada 1:44 am
Makasih mas atas infonya . saya cobain dulu mudah mudahan berhasil
Easyhotspot based xubuntu 7.10 | Learn to be better berkata,
Februari 16, 2009 pada 5:42 am
[...] user. I have do some fix from easyhotspot source. But the problem is there . There is a tips from Quickfix from poerwo but i’m not tested it yet I hope soon it will be ready. If you want to get much information, [...]
adhisubagio berkata,
April 28, 2009 pada 11:39 am
good job man, aku dah coba dan berhasil, cuma ada masalah terakhir yaitu kalo server/easyhotspot mati karena mati lampu, klien nggak bisa logout dan login. karena waktu server hidup kembali login failed, karena sebelumnya udah ada login dan belum logout. solusinya apa ya? apa ada hubungannya dengan idle time? help please
poerwo2211 berkata,
Mei 1, 2009 pada 12:27 pm
aku juga ngalamin masalah itu mas, sekarang aku pake ubuntu 8.10 + chillispot +freeradius + hotcakes hotspot manager
semua masalah di atas udah gak muncul lagi, fitur2 hotcakes bagus mas…kayaknya easyhostpsot ada versi terbarunya..coba di cek ke webnya mas? siapa tahu masalah ini udah di perbaiki
desoed berkata,
Mei 13, 2009 pada 1:40 am
Mas mau tanya nih, saya sudah instal easyhotspot dan bisa berjalan baik. Tapi ada sedikit masalah yaitu pada menu onlineuser -nya masih ada user yang online …padahal semua user sudah disconect……please ada yang bisa bantu…..
thanks sebelumnya
dedek
poerwo2211 berkata,
Mei 13, 2009 pada 9:48 am
@desoed
coba ikuti petunjuk di link ini mas
http://achmadz.blogspot.com/2008/02/chillispot-force-user-to-logout.html
afiq berkata,
Agustus 26, 2009 pada 3:13 am
mas Poerwo, minta tutorialnya yg pakai hotcakes dunk..please..
Udah coba install tapi gagal terus..
Thanks before
poerwo2211 berkata,
September 11, 2009 pada 9:52 am
yang pake hotcakes, install dari nol semua lho, ini tak kasih link aja ya…http://hotcakes.sourceforge.net/hotcakes_setup_guide/index.html
kpknl-surabaya berkata,
September 11, 2009 pada 6:20 am
siap bos…..
iku boso opo se….
poerwo2211 berkata,
September 11, 2009 pada 9:48 am
iki sopo yo….?
jigong berkata,
September 18, 2009 pada 7:44 am
itu trik di atas perlu hati2 di coba. kemungkinan gagal dan tidak bisa login lagi di client sangat bisa terjadi. sangat beda dengan anjuran dari author nya sendiri itu harus di ubah pada tabel radreply nya..
thks
poerwo2211 berkata,
Oktober 7, 2009 pada 12:58 am
iya mas itu bisa terjadi, saya sekarang pake hotcakes hotspot dan lumayan lancar……mau coba yfi hotspot cuman belum ada waktu
joni berkata,
Oktober 4, 2009 pada 12:40 pm
mas mau tanya, untuk memperbahuri certificat easyhotspot supai tidak invalid lagi bagaimana caranya??
daii berkata,
Oktober 6, 2009 pada 1:35 am
..hallo mas,
gni mahh saya ada permasalahan pada easyhotspot v.2 kok force disconnect pada ONLINE user ga bisa berfungsi yah mass.
mohon pecerahan nyah
makasii
poerwo2211 berkata,
Oktober 7, 2009 pada 12:56 am
aku belum pernah pake easyhotspot v.2 tapi coba trik ini
1. edit /etc/init.d/chilli to add listen port for disconnect packet
by add the line DAEMON_ARGS=”–coaport 3779 –conf /etc/chilli.conf”
example
# PATH should only include /usr/* if it runs after the mountnfs.sh script
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC=”Chillispot captive portal”
NAME=chillispot
DAEMON=/usr/sbin/chilli
DAEMON_ARGS=”–coaport 3779 –conf /etc/chilli.conf” # the line to add
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
2. add coaport on /etc/chilli.conf (i use port 3779)
add this lines
# TAG COA Port
coaport 3779
and then restart chilli
daii berkata,
Oktober 9, 2009 pada 1:30 am
.– saya sudahh lakukan perintah mas yang di ^ …
untuk men disconnectkan client nya pke command appa??
. yah mas. ??