Hi guys, I have been trying to set up a wifi hotspot for weeks now. I am running dd-wrt so I have decided to go with Chilispot. I think I went through most forums and links on google related to my problem but I am just not moving forward anymore and need some help. Here is my setup: DD-WRT v24 Mini on Belkin Belkin F5D7230-4 v1000 with Chilispot preinstalled Centos 5 box running: Php 5.2 , Freeradius 1.1.7, Mysql 5.0.45, PHPMyPrepaid0.4 RC3. So reading 100s of guides this is what I have set up so far, configured all the config files and I think I have done it right because everything connects together ok. Phpmyprepaid running on centos box on 192.168.0.26, accounts successfully created and confirmed by checking mysql database. Centos box running on 192.168.0.26 - iptables = off - httpd = on - mysqld = on - phplogin.php in var/www/html DD-WRT 192.168.0.250 set on bridge mode that only WiFi clients get redirected to login. Wifi connect successfull and asigned ip 192.168.182.x successfull. Wifi client gets redirected to phplogin on 192.168.0.26, also successfull. When client attempt to login it fails. I have tried 100s of times with many different user names and password making sure I am entering right and always fails. here is output from freeradius using the -x command: [root@localhost i386]# radiusd -x Starting - reading configuration files ... Using deprecated naslist file. Support for this will go away soon. Module: Loaded exec rlm_exec: Wait=yes but no output defined. Did you mean output=none? Module: Instantiated exec (exec) Module: Loaded expr Module: Instantiated expr (expr) Module: Loaded PAP Module: Instantiated pap (pap) Module: Loaded CHAP Module: Instantiated chap (chap) Module: Loaded MS-CHAP Module: Instantiated mschap (mschap) Module: Loaded System Module: Instantiated unix (unix) Module: Loaded eap rlm_eap: Loaded and initialized type md5 rlm_eap: Loaded and initialized type leap rlm_eap: Loaded and initialized type gtc rlm_eap: Loaded and initialized type mschapv2 Module: Instantiated eap (eap) Module: Loaded preprocess Module: Instantiated preprocess (preprocess) Module: Loaded realm Module: Instantiated realm (suffix) Module: Loaded files Module: Instantiated files (files) Module: Loaded SQL rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked rlm_sql (sql): Attempting to connect to [email protected]:/radius rlm_sql (sql): starting 0 rlm_sql (sql): Attempting to connect rlm_sql_mysql #0 rlm_sql_mysql: Starting connect to MySQL server for #0 rlm_sql (sql): Connected new DB handle, #0 rlm_sql (sql): starting 1 rlm_sql (sql): Attempting to connect rlm_sql_mysql #1 rlm_sql_mysql: Starting connect to MySQL server for #1 rlm_sql (sql): Connected new DB handle, #1 rlm_sql (sql): starting 2 rlm_sql (sql): Attempting to connect rlm_sql_mysql #2 rlm_sql_mysql: Starting connect to MySQL server for #2 rlm_sql (sql): Connected new DB handle, #2 rlm_sql (sql): starting 3 rlm_sql (sql): Attempting to connect rlm_sql_mysql #3 rlm_sql_mysql: Starting connect to MySQL server for #3 rlm_sql (sql): Connected new DB handle, #3 rlm_sql (sql): starting 4 rlm_sql (sql): Attempting to connect rlm_sql_mysql #4 rlm_sql_mysql: Starting connect to MySQL server for #4 rlm_sql (sql): Connected new DB handle, #4 Module: Instantiated sql (sql) Module: Loaded SQL Counter Module: Instantiated sqlcounter (noresetcounter) Module: Instantiated sqlcounter (dailycounter) Module: Instantiated sqlcounter (monthlycounter) Module: Loaded Acct-Unique-Session-Id Module: Instantiated acct_unique (acct_unique) Module: Loaded detail Module: Instantiated detail (detail) Module: Loaded radutmp Module: Instantiated radutmp (radutmp) Initializing the thread pool... Listening on authentication *:1812 Listening on accounting *:1813 Ready to process requests. rad_recv: Access-Request packet from host 192.168.0.250:2058, id=0, length=217 User-Name = "ewzllw" CHAP-Challenge = 0x32f7762955bcc6c49ea1e2347c29b1fb CHAP-Password = 0x006c764e3a3d0605f214c55dc66f2706e7 NAS-IP-Address = 0.0.0.0 Service-Type = Login-User Framed-IP-Address = 192.168.182.5 Calling-Station-Id = "00-03-7F-BE-F1-55" Called-Station-Id = "00-30-BD-95-C7-4A" NAS-Identifier = "dd-wrt" Acct-Session-Id = "4a221f4500000000" NAS-Port-Type = Wireless-802.11 NAS-Port = 0 Message-Authenticator = 0x28743826c526b96aa997e5e02f590782 WISPr-Logoff-URL = "http://192.168.182.1:3990/logoff" rlm_chap: Setting 'Auth-Type := CHAP' rlm_sql (sql): Reserving sql socket id: 4 rlm_sql (sql): Released sql socket id: 4 radius_xlat: Running registered xlat function of module sql for string 'SELECT SUM(AcctSessionTime) FROM radacct WHERE UserName='ewzllw'' rlm_sql (sql): - sql_xlat rlm_sql (sql): Reserving sql socket id: 3 rlm_sql (sql): row[0] returned NULL rlm_sql (sql): Released sql socket id: 3 rlm_chap: login attempt by "ewzllw" with CHAP password rlm_chap: Using clear text password "lfz" for user ewzllw authentication. rlm_chap: Password check failed Login incorrect (rlm_chap: Wrong user password): [ewzllw/<CHAP-Password>] (from client dd-wrt port 0 cli 00-03-7F-BE-F1-55) rad_recv: Access-Request packet from host 192.168.0.250:2058, id=0, length=217 Sending Access-Reject of id 0 to 192.168.0.250 port 2058 If any more info needed I will be happy to provide, thanx guys!