Bismillahirrohmaanirrohiim
Saya download dan bakar Easyhotsopt 0.2b yang berbasiskan Ubuntu Jaunty, 9.10.
Instalasi langsung ke komputer seperti biasa..
Ubah file /etc/apt/sources.list dengan file berikut :
http://www.4shared.com/file/8GPHd9sc/sources.html
Lakukan update dan upgrade ubuntu dengan perintah :
# apt-get update && apt-get upgrade -y
Kemudian melakukan perubahan pada "chillispot" menjadi "coovachilli"
Silahkan unduh caranya di : http://www.4shared.com/file/TI63dCHY/raplace-chillispot-coova-easyh.html
File-file yang diperlukan adalah :
http://www.4shared.com/file/brpFLrll/haserl-080tar.html
http://www.4shared.com/file/w1u6ihYJ/coova-chilli_122_i386.html
Kemudian ubah file /etc/chilli/defaults dengan file beriku :
http://www.4shared.com/file/OFsW6RgW/20111125stabledefaultschilli.html
Install webmin dengan mengikuti panduan pada link ini :
http://www.webmin.com/deb.html
Lakukan instalasi squid dan sarg dengan perintah
# apt-get install squid sarg
Ganti file /etc/squid/squid.conf dengan file berikut :
http://www.4shared.com/file/ARWWCZMO/20111125stablesquid.html
Agar squid dapat berjalan pada client "easyhotspot" maka lakukan langkah-langkah berikut :
diambil dari : http://catatanfaish.wordpress.com/2010/12/18/squid-di-easyhotspot/
1. ubah baris berikut, menjadi "=1" pada file /etc/sysctl.conf
"net.ipv4.ip_forward=1"
2. Diasumsikan port squid adalah : 3121, Ubah file pada /etc/chilli/up.sh dengan file berikut
http://www.4shared.com/file/tAGugTpd/20111125stableup.html
3. Lakukan instalasi berikut
# wget http://www.squid-cache.org/contrib/squid_radius_auth/squid_radius_auth-1.10.tar.gz
# tar -zxvf squid_radius_auth-1.10.tar.gz
# cd squid_radius_auth-1.10
# make clean
# make install
4. Pada baris paling atas file : /etc/squid/squid.conf, tambahkan
auth_param basic program /usr/local/squid/libexec/squid_radius_auth –h 10.1.0.1 –w testing123
#sesuaikan ip server anda dan password radius anda
auth_param basic children 5
auth_param basic realm HAYOOO>>>>ANDA MAU MASUK DENGAN PAKSA, SAMI MAWON MAS LOGIN
auth_param basic credentialsttl 24 hours
auth_param basic casesensitive off
### ACL untuk Radius ###
acl radiusauth proxy_auth REQUIRED
### ALLOW for RADIUS AUTH
http_access allow radiusauth
Pada akhirnya tambahkan baris berikut pada file /etc/chilli/up.sh, untuk memperbaiki routing internet
route del -net default
route add -net default gw xxx.xxx.xxx.xxx (IP gateway internet anda)
Hasil, dapat anda lihat di
http://localhost/easyhotspot untuk konfigurasi pengguna wifi
http://localhost/squid-reports untuk melihat trafik pengguna
link-link berguna:
http://ndra.gmib26.net/2010/06/install-easyhotspot-dan-konfigurasi-freeradius-serta-coova-chilli-di-ubuntu-10-04-lts-server-edition/
http://www.webmin.com/deb.html
http://catatanfaish.wordpress.com/2010/12/18/squid-di-easyhotspot/
tambahan tips dari http://easyhotspot.inov.asia/forum/viewtopic.php?f=20&t=8240
Berbagai kendala yang saya alami antara lain =
== force disconnect/kick users (teratasi), dengan cara edit /etc/init.d/chilli menjadi seperti ini :
#! /bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/chilli
NAME=chilli
DESC=chilli
OPTS="--pidfile /usr/local/var/run/$NAME.pid --coaport 3799"
START_CHILLI=0
dan pada /etc/chilli/default, tambahkan =
HS_COAPORT=3799
dan pada /etc/chilli/up.sh, baris ini menjadi
ipt_in -p tcp -m tcp –dport $port –dst $ADDR -j DROP
Semoga bermanfaat,
20111125
diedit kembali pada
20111204
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment