Browser Based Smart Client
Coova-chilli supports several captive portal (UAM) login methods:
- HTML forms (the classical method)
- WISPr smart clients
- Flash Browser Based Smart client (Flash BBSC)
You can use any of these methods individually, or all at the same time. In this document, we’ll explain how to use the Flash BBSC method.
Your Radius server must be able to handle CHAP-authentication to work with the Flash BBSC method. I’m assuming you already have a working Radius set-up (successfully tested with HTML forms logins).
Now, let’s go through the coova-chilli configuration:
1. Make sure there’s no uamsecret defined in the configuration file.
2. Add chillixml to the config file so that coova-chilli exports the new XML messages used by the Flash BBSC (can be used with or without uamwispr if you also want to support WISPr clients)
3. Make sure you are using the default values for uamport and uamlisten:
uamport 3990 uamlisten 192.168.182.1 chillixml
4. We’ll use the coova-chilli internal HTTP server to send the Flash BBSC content to the client web browser. Create a directory to store this content, for instance /var/coova-www and declare it in the configuration file.
5. Copy the files simplebbsc.swf and welcome.html to /var/coova-www You’ll find these files in the smartclient directory of the svn repository at https://coova.org:1443/svn/coova-chilli/smartclient/
6. Now use this welecome page as the uamhomepage coova-chilli redirects to.
wwwdir /var/coova-www uamhompage http://192.168.182.1:3990/www/welcome.html
7. Restart Coova-Chilli to apply the configuration.
You should now be redirected to welcome.html and be able to login/logout with the Flash BBSC. You can request the welcome page at any time and always get reliable session information whatever the back/forward/refresh/close combinations in your browser.
This is an early version, please post your questions/ problems /requests in the forum.
Future versions of the smart client will also display additional information like a reliable session timer, in/out volumes, …. Coova-chilli is ready, it’s just a matter of writing the flash side!
![[Main Page]](/wiki/skins/common/images/coova.gif)