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" > Konfigurasi Coova-Chilli - blog.obengkumana.net
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
Konfigurasi Coova-Chilli

Strict Standards: Only variables should be assigned by reference in /home/k1589881/public_html/blog/modules/mod_jtricks_custom_advanced/mod_jtricks_custom_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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php 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.php on line 380

Konfigurasi Coova-Chilli

Pada tahap ini, kita sampai kepenghujung acara Konfigurasi hotspot login di sebuah router yang berbasiskan openwrt. Ditahap ini, kita akan melakukan konfigurasi login page client

Ok langsung saja, tanpa basa-basi.kita mulai tahapannya.

1. Edit bagian dibawah ini, di dalam file /etc/chilli/wwwsh

haserl=/usr/bin/haserl

2. Edit bagian dibawah ini, di dalam file /etc/chilli/defaults , sesuaikan dengan konfigurasi hostnames router 

HS_RADIUS=www.openwrt-hotspot.net
HS_RADIUS2=www.openwrt-hotspot.net
HS_UAMALLOW=www.coova.org
HS_RADSECRET=easyhotspot
HS_UAMSECRET=easyhotspot

3. Buat file local.conf didalam folder /etc/chilli , biarkan kosong jangan diisi apapun, lalu save.

4. Buat file main.conf didalam folder /etc/chilli , masukkan text dibawah ini,
- ganti text br-wifi Sesuaikan denga interface yang dipergunakan,
- sesuaikan macallowed  "xx-xx-xx-xx-xx-xx" dengan mac address lan/wifi pc/lapie/netbook yang mengendalikan router, lalu save

# THIS FILE IS AUTOMATICALLY GENERATED
cmdsocket       /var/run/chilli.br-wifi.sock
unixipc         chilli.br-wifi.ipc
pidfile         /var/run/chilli.br-wifi.pid
net        10.1.0.0/255.255.255.0
uamlisten    10.1.0.1
uamport         3990
dhcpif        br-wifi
uamallowed    "www.coova.org,10.1.0.1,192.168.1.115,192.168.1.1,dr46on.xtgem.com"
macallowed  "xx-xx-xx-xx-xx-xx"
uamanydns
domain "wifi"
dns1 "192.168.10.1"
#dns2 "208.67.220.220"
uamhomepage http://10.1.0.1:3990/www/coova.html
#uamhomepage https://10.1.0.1/cgi-bin/hotspot.php
wwwdir /etc/chilli/www
wwwbin /etc/chilli/wwwsh
uamuiport 4990
locationname "Obengkumana-Net"
radiuslocationname "Obengkumana_Net"
radiuslocationid "isocc=,cc=,ac=,network=Obengkumana_Net,"


5. Buat file hs.conf didalam folder /etc/chilli, sesuaikan dengan konfigurasi hostnames router  bagian radius server1 dan 2

radiusserver1    "obengkumana.net"
radiusserver2    "obengkumana.net"
radiussecret    "easyhotspot"
radiusauthport  1812
radiusacctport  1813
uamserver    "http://10.1.0.1:4990/www/login.chi"
radiusnasid    "nas01"
papalwaysok
uamaliasname "chilli"
adminupdatefile "/etc/chilli/local.conf"
uamsecret "easyhotspot"


6. Buat file chilli didalam folder /etc/init.d , isikan baris berikut :

#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=50
RUN_D=/var/run
PID_F=$RUN_D/chilli.pid
DAEMON_ARGS="--coaport 3779 --conf /etc/chilli.conf"
start() {
    include /lib/network
    scan_interfaces
    /sbin/insmod tun >/dev/null 2>&1
    [ -d $RUN_D ] || mkdir -p $RUN_D
    config_get ipaddr lan ipaddr
    /usr/sbin/chilli --dns1="$ipaddr"
}

stop() {
    echo stop
    killall chilli
    [ -f $PID_F ] && kill $(cat $PID_F) >/dev/null 2>&1
}

7. Masuk putty, berikan perintah dibawah ini:

root@obengkumana:~# chmod a+x /etc/init.d/chilli
root@obengkumana:~# /etc/init.d/chilli start
root@obengkumana:~# chilli -fd

Jika log yaang keluar seperti dibawah ini, maka coova-chilli sdh bekerja dengan baik, akhiri mode debug, dengan menekan tombol "Ctrl+C"

net.c: 1308: 0 (Debug) wlan0  address family: 17 (AF_PACKET)
net.c: 1308: 0 (Debug) br-wifi  address family: 17 (AF_PACKET)
net.c: 1308: 0 (Debug) wlan0-1  address family: 17 (AF_PACKET)
net.c: 1308: 0 (Debug) br-lan  address family: 17 (AF_PACKET)
net.c: 1308: 0 (Debug) lo  address family: 2 (AF_INET)
net.c: 1308: 0 (Debug) br-wifi  address family: 2 (AF_INET)
net.c: 1308: 0 (Debug) br-lan  address family: 2 (AF_INET)
net.c: 1308: 0 (Debug) 3g-wan2  address family: 2 (AF_INET)
net.c: 1308: 0 (Debug) tun0  address family: 2 (AF_INET)
net.c: 1308: 0 (Debug) tun1  address family: 2 (AF_INET)
dhcp.c: 480: 0 (Debug) hash table size 512 (512)
dhcp.c: 332: 0 (Debug) GARP: Replying to broadcast
dhcp.c: 1172: 0 (Debug) dhcpif (br-wifi) IPv6 address ::
radius.c: 1285: 0 (Debug) RADIUS client 0.0.0.0:0
redir.c: 1718: 125 (Address already in use) IP: 10.1.0.1 Port: 3990 - Waiting for retry.
redir.c: 1718: 125 (Address already in use) IP: 10.1.0.1 Port: 4990 - Waiting for retry.
redir.c: 1718: 125 (Address already in use) IP: 10.1.0.1 Port: 4990 - Waiting for retry.
^Cchilli.c: 7251: 0 (Debug) Failed to create redir listen

Selanjutnya, untuk mebuktikan bahwa coova-chilli benar-benar sudah bekerja, harus ada bari sepeti dibawah ini setelah kita berikan perintah "netstat -apn" pada layar putty

tcp        0      0 127.0.0.1:3306          0.0.0.0:*
tcp        0      0 10.1.0.1:3990           0.0.0.0:*
tcp        0      0 0.0.0.0:22              0.0.0.0:*
tcp        0      0 10.1.0.1:4990           0.0.0.0:*
udp        0      0 192.168.1.1:1812        0.0.0.0:*
udp        0      0 192.168.1.1:1813        0.0.0.0:*

8. Download blog.obengkumana.com.zip , letakkan  file tersebut di folder /tmp , ingat jangan di ekstrak !.  Masuk ke putty, berikan perintah berikut:

root@obengkumana:~# cd / && unzip -o /tmp/blog.obengkumana.com.zip

Silahkan edit tampilan, login page, sesuai selera anda. Semua yang diedit terletak di folder /etc/chilli/www.

Sampai dengan tahap ini, seharusnya user sudah bisa menjumpai halaman login dan bisa masuk dengan user/pass yang kita buat di easyhotspot

Selesai

 

Comments   

 
0 #1 Ican 2013-01-15 04:44
pas jalanin /etc/init.d/chi lli start hasilnya eror mulu ya?
coova-chilli[30942]: options.c: 180: could not generate configuration (/var/run/chill i.30942.cfg.bin ), sleeping one second
coova-chilli[30942]: options.c: 180: could not generate configuration (/var/run/chill i.30942.cfg.bin ), sleeping one second
coova-chilli[30942]: options.c: 180: could not generate configuration (/var/run/chill i.30942.cfg.bin ), sleeping one second
coova-chilli[30942]: options.c: 180: could not generate configuration (/var/run/chill i.30942.cfg.bin ), sleeping one second
coova-chilli[30942]: options.c: 180: could not generate configuration (/var/run/chill i.30942.cfg.bin ), sleeping one second
Quote
 
 
0 #2 raditya 2013-01-15 13:36
kok gak bs login bang, padahal dah keluar tampilan loginnya,,
Quote
 

Add comment


Security code
Refresh


Strict Standards: Only variables should be assigned by reference in /home/k1589881/public_html/blog/modules/mod_jtricks_custom_advanced/mod_jtricks_custom_advanced.php on line 10