You are on page 1of 15

Strict Standards: Only variables should be assigned by reference in

/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/cms_core_functions.php
on line 12

Strict Standards: Only variables should be assigned by reference in


/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/cms_core_functions.php
on line 16
Strict Standards: Only variables should be assigned by reference in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/cms_core_functions.php
on line 31
xml:lang="en-GB" lang="en-GB" >
Strict Standards: Only variables should be assigned by reference in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/call_menu.php on line 3

Strict Standards: Only variables should be assigned by reference in


/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/call_menu.php on line 8

Strict Standards: Only variables should be assigned by reference in


/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/responsive/responsive_
mobile_top_bar.php on line 55

Strict Standards: Non-static method JSite::getMenu() should not be called statically, assuming
$this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/responsive/responsive_
mobile_top_bar.php on line 99

Strict Standards: Non-static method JApplication::getMenu() should not be called statically,


assuming $this from incompatible context in
/home/k1589881/public_html/blog/includes/application.php on line 539
Easyhotspot V.2

Home
OpenWrt
Hotspot
o Easyhotspot V.1
o Easyhotspot V.2
o Easyhotspot-OpenWrt
Pengantar
Konfigurasi Awal
Konfigurasi Mysql-Server
Konfigurasi Easyhotspot
Konfigurasi Freeradius
Konfigurasi Coova-Chilli
Konfigurasi Tambahan
Start Up Coova-Chilli
Force Disconnect
Easyhotspot GMT+7
troubleshooting
E-book
o Easyhotspot ENG
o Easyhotspot IDN
Articles
o Web Server
Lighttpd
Domain/Hostnames
Domain Name System
Whois
Web Hosting /Sever Hositng
Address Record
PHP
o Electro
Komponen
o Computer
Recovery File

Strict Standards: Only variables should be assigned by reference in


/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/responsive/responsive_
mobile_top_bar.php on line 165
Search...

Strict Standards: Only variables should be assigned by reference in


/home/k1589881/public_html/blog/modules/mod_jtricks_custom_advanced/mod_jtricks_cu
stom_advanced.php on line 10
Silahkan copas artikel yang ada di blog ini, dengan catatan mencantumkan link sumber. Link
harus hidup. Tks.

Strict Standards: Non-static method S5modMainMenuHelper::S5buildXML() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/default.ph
p on line 43

Strict Standards: Only variables should be assigned by reference in


/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 182

Strict Standards: Non-static method S5modMainMenuHelper::getChildItems() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 325
Strict Standards: Non-static method S5modMainMenuHelper::getChildItems() should not be
called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 325

Strict Standards: Non-static method S5modMainMenuHelper::getChildItems() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 325

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getChildItems() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 394

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380
Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be
called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getChildItems() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 394

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getChildItems() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 325

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getChildItems() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 325

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getChildItems() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 394

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getChildItems() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 394

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Strict Standards: Non-static method S5modMainMenuHelper::getChildItems() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 394

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be


called statically, assuming $this from incompatible context in
/home/k1589881/public_html/blog/templates/shape5_vertex/vertex/s5flex_menu/helpers.ph
p on line 380

Homeberanda
OpenWrtArea
HotspotManagement
o Easyhotspot V.1
o Easyhotspot V.2
o Easyhotspot-OpenWrt
Pengantar
Konfigurasi Awal
Konfigurasi Mysql-Server
Konfigurasi Easyhotspot
Konfigurasi Freeradius
Konfigurasi Coova-Chilli
Konfigurasi Tambahan
Start Up Coova-Chilli
Force Disconnect
Easyhotspot GMT+7
troubleshooting
E-bookdownload
o Easyhotspot ENG
o Easyhotspot IDN
Articlesarchives
o Web ServerArticles
Lighttpd
Domain/Hostnames
Domain Name System
Whois
Web Hosting /Sever Hositng
Address Record
PHP
o ElectroArticles
Komponen
o ComputerArticles
Recovery File

Cari di w eb ini ...


Cari
You are here: Home // Hotspot // Easyhotspot V.2
Login Register

Easyhotspot V.2
Details
Hits: 1583
Berbeda dengan artikel sebelumnya Easyhotspot Versi 1 , disini saya coba menjelaskan instalasi
mode manual mulai dari nol

Pada tahap awal, yg perlu kita persiapkan adalah sebua PC/Lapie/ Virtual Box untuk
pemasangan OS Linux, saya sendiri pada waktu itu mempergunakan Ubuntu Server 10.04 LTS.

Mengapa harus ubuntu/ubuntu server? Karena cuma itu yg saya tau :D


Ikut aja ya :) Penekanan saya agar rekan2 sekalian paham bagaimana Easyhotspot bs bekerja, krn
dari itulah saya kasih yg termudah dulu, di versi sebelumnya.

Apa perbeda'annya dengan yg sebelumnya? klu yang full distro, kita tidak bisa menambahkan
paket-paket lain, krn sdh tidak tersedia dari distro yg bersangkutan dikarekan sudah beberapa
kali release versi yg lebih baru untuk debian family(Ubuntu

Langsung ke TKP:
1. Install Ubuntu server, jika belum paham saya kasih versi PDF karya om OPIK Design DISINI

2. Install paket2 berikut:

sudo apt-get -y install iptraf iftop whois sysstat snmp snmpd rrdtool
dbconfig-common libphp-adodb php5-cli php5-gd php5-gmp php-pear php5-snmp
php5-adodb make rpm alien subversion nmap libnet-netmask-perl curl freeradius
freeradius-mysql php5-mcrypt perl openssl libnet-ssleay-perl libauthen-pam-
perl libpam-runtime libio-pty-perl unzip git-core

3. Apabila Ingin lebih mudah untuk copas dll, silahkan install webmin, semantara googling aja
ya :D

4. kopy easyhotspot only dengan menggunakan perintah berikut:

cd /opt && git clone


git://easyhotspot.git.sourceforge.net/gitroot/easyhotspot/easyhotspot

5.Akses Mysql

mysqladmin -u root password abc123


mysql -u root -pabc123 create hotspot
cd /opt/easyhotspot/install
mysql -u root -pabc123 hotspot <easyhotspot_opensource_2010-10-21.sql
mysql -u root -p
mysql> use mysql;
mysql> INSERT INTO user (Host,User,Password)
VALUES('%','easyhotspot',PASSWORD('easyhotspot'));
mysql> grant all privileges on *.* to easyhotspot@localhost;
mysql> grant usage on *.* to easyhotspot@localhost identified by
'easyhotspot';
mysql> flush privileges;
mysql> quit
6. Edit /etc/freeradius/sql.conf

...................
sql {
#
# Set the database to one of:
#
# mysql, mssql, oracle, postgresql
#
database = "mysql"

#
# Which FreeRADIUS driver to use.
#
driver = "rlm_sql_${database}"

# Connection info:
server = "localhost"
#port = 3306
login = "easyhotspot"
password = "easyhotspot"

# Database table configuration for everything except Oracle


radius_db = "hotspot"
.......................

7. Edit /opt/easyhotspot/htdocs/system/application/config/database.php

........................
$db['default']['hostname'] = "localhost";
$db['default']['username'] = "easyhotspot";
$db['default']['password'] = "easyhotspot";
$db['default']['database'] = "hotspot";
$db['default']['dbdriver'] = "mysql";
$db['default']['dbprefix'] = "";
# $db['default']['active_r'] = TRUE;
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = "";
..........................

8. Edit /etc/freeradius/sql.conf

...................................................

sql {
#
# Set the database to one of:
#
# mysql, mssql, oracle, postgresql
#
database = "mysql"

#
# Which FreeRADIUS driver to use.
#
driver = "rlm_sql_${database}"

# Connection info:
server = "localhost"
#port = 3306
login = "easyhotspot"
password = "easyhotspot"

# Database table configuration for everything except Oracle


radius_db = "hotspot"
............................................................

9. Edit /etc/freeradius/radiusd.conf

bagian modules
...........................................
$INCLUDE sql.conf
.........................................
$INCLUDE sql/mysql/counter.conf
.........................................

bagian instantiate tambahkan kedalamnya


................
max_all_mb
noresetcounter
...............

10. Edit /etc/freeradius/sites-enabled/default

bagian authorise yang berisi sql hilangkan tanda pagar didepannya dan selanjutnya tambahkan
dibawahnya menjadi sprti ini
..........................
sql
max_all_mb
noresetcounter
........................

bagian accounting, session dan post-auth yang terdappat didalamnya sql , hilangkan semua tanda
pagaryg terdapat didepannya .

11. Edit /etc/freeradius/sql/mysql/counter.conf


Cari bagian ini sqlcounter noresetcounter { , hapus semua samapi tanda }
ganti dengan ini
.........................................
sqlcounter noresetcounter {
counter-name = Session-Timeout
check-name = Session-Timeout
reply-name = Session-Timeout
sqlmod-inst = sql
key = User-Name
reset = never
query = "SELECT SUM(Acctsessiontime) FROM radacct WHERE
UserName='%{%k}'"
}

sqlcounter max_all_mb {
counter-name = Max-All-MB
check-name = Max-All-MB
reply-name = ChilliSpot-Max-Total-Octets
sqlmod-inst = sql
key = User-Name
reset = never
query = "SELECT SUM(AcctInputOctets)/(1024*1024) +
SUM(AcctOutputOctets)/(1024*1024) FROM radacct WHERE UserName='%{%k}'"
}

12. Check apakah radius sudah bekerja dengan benar, dengan mode debug. Masukkan command
dibawah ini. Jika sudah tidak ada error akhiri dengan menekan tombol Ctrl+C
/etc/init.d/freeradius stop
/usr/sbin/freeradius -X
untuk menjalankan radius dalam mode normal, berikan perintah berikut
/usr/sbin/freeradius

13. Konfigurasi coova-chilli.


wget http://ap.coova.org/chilli/coova-chilli_1.2.2_i386.deb
dpkg -i coova-chilli_1.2.2_i386.deb

14. Edit file /etc/default/chilli

START_CHILLI=0 ubah menjadi START_CHILLI=1

15. Instalasi haserl


wget http://sourceforge.net/projects/haserl/files/haserl/0.8.0/haserl-0.8.0.tar.gz/download
tar -zxvf haserl-0.8.0.tar.gz
cd haserl-0.8.0 && ./configure && make && sudo make install

16. Edit edit bagian dibawahini pada file /etc/chilli/wwwsh,


haserl=/usr/local/bin/haserl

17. tambahkan baris berikut pada file /etc/chilli/up.sh

# may not have been populated the first time; run again
[ -e "/var/run/chilli.iptables" ] && sh /var/run/chilli.iptables 2>/dev/null
# force-add the final rule necessary to fix routing tables
iptables -I POSTROUTING -t nat -o $HS_WANIF -j MASQUERADE

18 . Sesuaikan konfigurasi /etc/chilli/defauls, berikut contoh:


# -*- mode: shell-script; -*-
#
# Coova-Chilli Default Configurations.
# To customize, copy this file to /etc/chilli/config
# and edit to your liking. This is included in shell scripts
# that configure chilli and related programs before file 'config'.

###
# Local Network Configurations
#

# HS_WANIF=eth0 # WAN Interface toward the Internet


HS_LANIF=eth1 # Subscriber Interface for client devices
HS_NETWORK=10.1.0.0 # HotSpot Network (must include HS_UAMLISTEN)
HS_NETMASK=255.255.255.0 # HotSpot Network Netmask
HS_UAMLISTEN=10.1.0.1 # HotSpot IP Address (on subscriber network)
HS_UAMPORT=3990 # HotSpot UAM Port (on subscriber network)
HS_UAMUIPORT=4990 # HotSpot UAM "UI" Port (on subscriber network,
for embedded portal)
HS_COAPORT=3779
# HS_DYNIP=
# HS_DYNIP_MASK=255.255.255.0
# HS_STATIP=
# HS_STATIP_MASK=255.255.255.0
# HS_DNS_DOMAIN=

# OpenDNS Servers
HS_DNS1=208.67.222.222
HS_DNS2=208.67.220.220

###
# HotSpot settings for simple Captive Portal
#
HS_NASID=nas01
HS_RADIUS=localhost
HS_RADIUS2=localhost
HS_UAMALLOW=www.coova.org
HS_RADSECRET=easyhotspot # Set to be your RADIUS shared secret
HS_UAMSECRET=easyhotspot # Set to be your UAM secret
HS_UAMALIASNAME=chilli

# Configure RADIUS proxy support (for 802.1x + captive portal support)


# HS_RADPROXY=on
# HS_RADPROXY_LISTEN=127.0.0.1
# HS_RADPROXY_CLIENT=127.0.0.1
# HS_RADPROXY_PORT=1645
# HS_RADPROXY_SECRET=$HS_RADSECRET
# Example OpenWrt /etc/config/wireless entry for hostapd
# option encryption wpa2
# option server $HS_RADPROXY_LISTEN
# option port $HS_RADPROXY_PORT
# option key $HS_RADPROXY_SECRET

# To alternatively use a HTTP URL for AAA instead of RADIUS:


# HS_UAMAAAURL=http://my-site/script.php
# Put entire domains in the walled-garden with DNS inspection
# HS_UAMDOMAINS=".paypal.com,.paypalobjects.com"

# Optional initial redirect and RADIUS settings


# HS_SSID=<ssid> # To send to the captive portal
# HS_NASMAC=<mac address> # To explicitly set Called-Station-Id
# HS_NASIP=<ip address> # To explicitly set NAS-IP-Address

# The server to be used in combination with HS_UAMFORMAT to


# create the final chilli 'uamserver' url configuration.
HS_UAMSERVER=$HS_UAMLISTEN

# Use HS_UAMFORMAT to define the actual captive portal url.


# Shell variable replacement takes place when evaluated, so here
# HS_UAMSERVER is escaped and later replaced by the pre-defined
# HS_UAMSERVER to form the actual "--uamserver" option in chilli.
HS_UAMFORMAT=http://\$HS_UAMLISTEN:\$HS_UAMUIPORT/www/login.chi

# Same principal goes for HS_UAMHOMEPAGE.


HS_UAMHOMEPAGE=http://\$HS_UAMLISTEN:\$HS_UAMPORT/www/coova.html

# This option will be configured to be the WISPr LoginURL as well


# as provide "uamService" to the ChilliController. The UAM Service is
# described in: http://www.coova.org/CoovaChilli/UAMService
#
# HS_UAMSERVICE=

###
# Features not activated per-default (default to off)
#
# HS_RADCONF=off # Get some configurations from RADIUS or a URL ('on'
and 'url' respectively)
#
# HS_ANYIP=on # Allow any IP address on subscriber LAN
#
# HS_MACAUTH=on # To turn on MAC Authentication
#
# HS_MACAUTHDENY=on # Put client in 'drop' state on MAC Auth Access-
Reject
#
# HS_MACAUTHMODE=local # To allow MAC Authentication based on
macallowed, not RADIUS
#
# HS_MACALLOW="..." # List of MAC addresses to authenticate (comma
seperated)
#
# HS_USELOCALUSERS=on # To use the /etc/chilli/localusers file
#
# HS_OPENIDAUTH=on # To inform the RADIUS server to allow OpenID Auth
#
# HS_WPAGUESTS=on # To inform the RADIUS server to allow WPA Guests
#
# HS_DNSPARANOIA=on # To drop DNS packets containing something other
# # than A, CNAME, SOA, or MX records
#
# HS_OPENIDAUTH=on # To inform the RADIUS server to allow OpenID Auth
# # Will also configure the embedded login forms for OpenID
#
# HS_USE_MAP=on # Short hand for allowing the required google
# # sites to use Google maps (adds many google sites!)
#
###
# Other feature settings and their defaults
#
# HS_DEFSESSIONTIMEOUT=0 # Default session-timeout if not defined by RADIUS
(0 for unlimited)
#
# HS_DEFIDLETIMEOUT=0 # Default idle-timeout if not defined by RADIUS
(0 for unlimited)
#
# HS_DEFBANDWIDTHMAXDOWN=0 # Default WISPr-Bandwidth-Max-Down if not
defined by RADIUS (0 for unlimited)
#
# HS_DEFBANDWIDTHMAXUP=0 # Default WISPr-Bandwidth-Max-Up if not
defined by RADIUS (0 for unlimited)

###
# Centralized configuration options examples
#
# HS_RADCONF=url # requires curl
# HS_RADCONF_URL=https://coova.org/app/ap/config

# HS_RADCONF=on # gather the ChilliSpot-Config attributes in


# # Administrative-User login
# HS_RADCONF_SERVER=rad01.coova.org # RADIUS Server
# HS_RADCONF_SECRET=coova-anonymous # RADIUS Shared Secret
# HS_RADCONF_AUTHPORT=1812 # Auth port
# HS_RADCONF_USER=chillispot # Username
# HS_RADCONF_PWD=chillispot # Password

###
# Firewall issues
#
# Uncomment the following to add ports to the allowed local ports list
# The up.sh script will allow these local ports to be used, while the default
# is to block all unwanted traffic to the tun/tap.
#
# HS_TCP_PORTS="80 443"

###
# Standard configurations
#
HS_MODE=hotspot
HS_TYPE=chillispot
# HS_RADAUTH=1812
# HS_RADACCT=1813
# HS_ADMUSR=chillispot
# HS_ADMPWD=chillispot

###
# Post-Auth proxy settings
#
# HS_POSTAUTH_PROXY=<host or ip>
# HS_POSTAUTH_PROXYPORT=<port>

# Directory specifying where internal web pages can be served


# by chilli with url /www/<file name>. Only extentions like .html
# .jpg, .gif, .png, .js are allowed. See below for using .chi as a
# CGI extension.
HS_WWWDIR=/etc/chilli/www

# Using this option assumes 'haserl' is installed per-default


# but, and CGI type program can ran from wwwsh to process requests
# to chilli with url /www/filename.chi
HS_WWWBIN=/etc/chilli/wwwsh

# Some configurations used in certain user interfaces


#
HS_PROVIDER=Coova
HS_PROVIDER_LINK=http://www.coova.org/

###
# WISPr RADIUS Attribute support
#

HS_LOC_NAME="My HotSpot" # WISPr Location Name and used in portal

# WISPr settings (to form a proper WISPr-Location-Id)


# HS_LOC_NETWORK="My Network" # Network name
# HS_LOC_AC=408 # Phone area code
# HS_LOC_CC=1 # Phone country code
# HS_LOC_ISOCC=US # ISO Country code

# Embedded miniportal
# HS_REG_MODE="tos" # or self, other
# HS_RAD_PROTO="pap" # or mschapv2, chap
# HS_USE_MAP=on

Seharunya sdh bisa bekerja coova-chilli, dengan menjalankan perintah


/etc/init.d/chilli start

19. Ganti tampilan login page user dengan edit file yang berakhiran .tmpl di /etc/chilli/www, jika
ingin contoh punya saya, silahkan download DISINI ,

Selesai .............

You might also like