6. See Everything in action.

Tip

Now is a good time to give your machine a reboot. You can then verify that all services which was suppose to start did start.

You may want to start Free Radius and ChilliSpot in the foreground first to make sure it works as intended. This is also handy when you troubleshoot.

When things does not seem to work as they should, it is better to see which component may not work as expected. The way to do this is to start ChilliSpot and Free Radius in the foreground and in debug mode.

Tip

Remember to make sure ChilliSpot and Free Radius are NOT already running before you start them in debug mode. (sudo /etc/init.d/freeradius stop AND sudo /etc/init.d/chillispot stop)

Open two terminals and issue the following commands in them. To start Free Radius

 sudo /usr/sbin/radiusd -X
To start ChilliSpot
sudo /usr/local/sbin/chilli --debug --fg
You can now try and connect through the Access Point (with its own DHCP server turned off).

You should see how ChilliSpot hands out an IP Address to the client machine, (a 192.168.182.x address)

Try and go onto the Internet trough a browser (remember NO proxy - direct connection to the Internet). You should be redirected to the welcome page. There is a link to the login page http://192.168.182.1:3990/prelogin. Log in with a username / password combination defined in Hotcakes

You should now see how Free Radius does its magick and gives ChilliSpot the feedback that you are allowed to go in. ChilliSpot will open the network gate for you, and you should be able to go into the Internet.

Check how the web pages served by Hotcakes reflect this in almost real time. (You may want to log off and on again from the client machine)