Closed odkrys closed 5 years ago
I set the coova-chilli as local. lighttpd is listening 8083 port.
radiusserver1 127.0.0.1 radiusserver2 127.0.0.1 localusers /tmp/localusers_cp dhcpif br2 uamserver http://192.168.1.1:8083/Uam unixipc chilli-cp.ipc cmdsocketport 42425 uamport 3998 tundev tun23 uamaliasip 192.168.183.1 redirssl sslcertfile /etc/cert.pem sslkeyfile /etc/key.pem challengetimeout2 300 defidletimeout 0 defsessiontimeout 0 dns1 8.8.8.8 uamsecret chillispot net 192.168.183.0/24
I can see the splash page but if I try login, no response. test:password is in /tmp/localusers_cp
redir.c: 2119: 0 (Debug) The path: generate_204 redir.c: 2441: 0 (Debug) -->> Setting userurl=[http://connectivitycheck.gstatic.com/generate_204] redir.c: 4026: 0 (Debug) redir_accept: Original request host=connectivitycheck.gstatic.com redir.c: 994: 0 (Debug) redir_wispr2_reply chilli.c: 423: 0 (Debug) caught 17 via selfpipe chilli.c: 314: 0 (Debug) child 3495 terminated chilli.c: 139: 0 (Debug) Freed child process 3495 [[redir]] radius.c: 464: 0 (Debug) Rescheduling RADIUS request id=0 idx=0 dhcp.c: 5096: 0 (Debug) Layer2 PROT: 0x86dd dropped dhcp.c: 5096: 0 (Debug) Layer2 PROT: 0x86dd dropped radius.c: 464: 0 (Debug) Rescheduling RADIUS request id=0 idx=0 dhcp.c: 3545: 0 (Debug) dropping non-IPv4 dhcp.c: 5096: 0 (Debug) Layer2 PROT: 0x86dd dropped redir.c: 2119: 0 (Debug) The path: logon redir.c: 1919: 0 (Debug) The parameter username is: [] redir.c: 2283: 0 (Debug) -->> Setting username=[] redir.c: 1919: 0 (Debug) The parameter userurl is: [http://connectivitycheck.gstatic.com/generate_204] redir.c: 2301: 0 (Debug) -->> Setting userurl=[http://connectivitycheck.gstatic.com/generate_204] redir.c: 2323: 0 (Debug) using uamprotocol: WISPr 1.0 (1) redir.c: 1919: 0 (Debug) The parameter password is: [44d167ee7ba4ff646957e542cc8b7eb5] redir.c: 2890: 0 (Debug) checking /tmp/localusers_cp for user redir.c: 2908: 0 (Debug) challenge: c9757e7d8c2a6c02eb5b99324285dfd6 redir.c: 2924: 0 (Debug) chap challenge: 44d167ee7ba4ff646957e542cc8b7eb5 redir.c: 2948: 0 (Debug) looking for redir.c: 3007: 0 (Debug) user not found redir.c: 3858: 0 (Debug) redir_accept: Sending RADIUS request radius.c: 1315: 0 (Debug) RADIUS client 0.0.0.0:0 redir.c: 2670: 0 (Debug) created radius packet (code=1, id=8, len=33) redir.c: 2682: 0 (Debug) SECRET: [chillispot] redir.c: 2708: 0 (Debug) User password 16 [] redir.c: 2831: 0 (Debug) sending radius packet (code=1, id=8, len=218) radius.c: 321: 0 (Debug) Allocating RADIUS packet redir.c: 2119: 0 (Debug) The path: generate_204 redir.c: 2441: 0 (Debug) -->> Setting userurl=[http://connectivitycheck.gstatic.com/generate_204] redir.c: 4026: 0 (Debug) redir_accept: Original request host=connectivitycheck.gstatic.com redir.c: 994: 0 (Debug) redir_wispr2_reply chilli.c: 423: 0 (Debug) caught 17 via selfpipe chilli.c: 314: 0 (Debug) child 3500 terminated chilli.c: 139: 0 (Debug) Freed child process 3500 [[redir]] radius.c: 464: 0 (Debug) Rescheduling RADIUS request id=0 idx=0 radius.c: 464: 0 (Debug) Rescheduling RADIUS request id=8 idx=0 dns.c: 191: 0 (Debug) It was a dns record type: 1 class: 1 dns.c: 198: 0 (Debug) DNS: mqtt-mini.facebook.com chilli.c: 2870: 0 (Debug) redir connection is SSL chilli.c: 423: 0 (Debug) caught 17 via selfpipe chilli.c: 314: 0 (Debug) child 3504 terminated chilli.c: 139: 0 (Debug) Freed child process 3504 [[redir]] dns.c: 191: 0 (Debug) It was a dns record type: 1 class: 1 dns.c: 198: 0 (Debug) DNS: mqtt-mini.facebook.com dns.c: 191: 0 (Debug) It was a dns record type: 5 class: 1 dns.c: 341: 0 (Debug) CNAME record mqtt-mini.facebook.com. dns.c: 191: 0 (Debug) It was a dns record type: 1 class: 1 chilli.c: 2870: 0 (Debug) redir connection is SSL chilli.c: 423: 0 (Debug) caught 17 via selfpipe chilli.c: 314: 0 (Debug) child 3505 terminated chilli.c: 139: 0 (Debug) Freed child process 3505 [[redir]] chilli.c: 2870: 0 (Debug) redir connection is SSL chilli.c: 423: 0 (Debug) caught 17 via selfpipe chilli.c: 314: 0 (Debug) child 3506 terminated
version is 1.3.0. Radius server is necessary?
It should work but it looks like your splashpage is not supplying a username to check ("Setting username=[]")
I set the coova-chilli as local. lighttpd is listening 8083 port.
I can see the splash page but if I try login, no response. test:password is in /tmp/localusers_cp
version is 1.3.0. Radius server is necessary?