1 (edited by melianto_tkj 2009-11-04 11:34:47)

Topic: Chillispot Login Failed

Hi.. all,,

i make chillispot configuration,,
i use chillispot, freeradius, phpmyprepaidrc3 and Fedora 9 as OS.

my problem is chillispot login failed. user client can't login so can't access internet. if user client login, then it appear "ChilliSpot Login Failed".
so i need help for all of you..
help me please,,


this is my configuration :


chilli.conf :

net 192.168.100.0/24
dynip 192.168.100.0/24
dns1 192.168.0.xx
radiusserver1 127.0.0.1
radiusserver2 127.0.0.1
radiusauthport 1812
radiussecret testing123
dhcpif eth5
uamserver https://192.168.100.1/cgi-bin/hotspotlogin.cgi
uamsecret ht2eb8ej6s4et3rg1ulp

========================================================



hotpotlogin.cgi :

$uamsecret = " ht2eb8ej6s4et3rg1ulp ";
$userpassword=1;

========================================================



radiusd.conf :

$INCLUDE ${confdir}/sql.conf
sqlcounter noresetcounter {
counter-name = Max-All-Session-Time
check-name = Max-All-Session
sqlmod-inst = sql
key = User-Name
reset = never
query = "SELECT SUM(AcctSessionTime) FROM radacct where UserName='%{%k}'"
}


accounting {
unix
radutmp
sql
}

instantiate {
exec
expr
noresetcounter
}

authorize {
     preprocess
     chap
     mschap
     suffix
     sql
     noresetcounter
}

=======================================================



client.conf :

client 192.168.100.0/24 {
          secret = testing123
          shortname = localhost
}

=======================================================



sql.conf :

server = "localhost"
login = "radius"
password = "12345"
radius_db = "radius"

=======================================================



firewal / iptables :

/etc/init.d/iptables stop
/usr/share/doc/chillispot-1.0/firewall.iptables
      EXTIF = eth4
      INTIF = eth5

/etc/init.d/iptables save

=======================================================



sysctl.conf :

net.ipv4.ip_forward = 1

=======================================================


i create account for user client at phpmyprepaidrc3. i create acount subscriber expiration,,

Re: Chillispot Login Failed

Yeach..
thanks for reply,, i had changed client.conf to :

client 127.0.0.1 {
          secret = testing123
          shortname = localhost
}

but user client still can't login to internet..

Please help me more..