Table of Contents

Sign up a new Access Provider

Background

This page can be used as a reference when you sign up new clients to RADIUSdesk Hosted or that will be using a RADIUSdesk server which is deployed somewhere on the Internet.

Our scenario

We assume you already added their SSID to the mesh network which terminates into a Captive Portal

Steps required

The following sections will stipulate how to go about in order to add Funky Bean There to your server in such a way that they will have their own isolated playpen. We will:

Create a new Access Provider

Work in you playpen


Add a Realm

Hey!! There is already a realm listed here

  • If there happen to be a realm listed already which you did not intend to have listed, it is because that realm has the Make available to sub-providers option checked.
  • To fix this you have to log out as the current Access Provider and log in as root.
  • Now you can remove the unwanted realm by un-checking that option.
  • Log in again as the Access Provider for Funky Bean There.

Next we will tackle the Profile


Add a Profile and Profile Components

Profile Components

Type Vendor Attribute Operator Value Comment
Reply FreeRADIUS internal Fall-Through := Yes Very important when you combine profile components
Reply WISPr WISPr-Bandwidth-Max-Up := 512000
Reply WISPr WISPr-Bandwidth-Max-Down := 512000
Type Vendor Attribute Operator Value Comment
Reply FreeRADIUS internal Fall-Through := Yes Very important when you combine profile components
Check FreeRADIUS Custom Rd-Reset-Type-Data := daily
Check FreeRADIUS Custom Rd-Cap-Type-Data := hard
Check FreeRADIUS Custom Rd-Total-Data := 500000000 We multiply by 1000 to keep things simple
Check FreeRADIUS Custom Rd-Mac-Counter-Data := 1 Important for the Click-To-Connect to work correct

Connecting the Profile Components to the Profile

Next we will create a Permanent User that will be used for the Click-to-Connect user


Create the Click-to-Connect user

Whats in a name?

Time to tackle the last bit which is the NAS device and Dynamic login pages and see how it all comes together.


Add the NAS device

When you do this action as the root user; the list of realms will change depending weather you decide to make a NAS device available to sub-providers or not.

This cron entry runs a script to check if FreeRADIUS needs a restart

#Every 10 minutes to keep it stable
*/10 * * * * www-data /var/www/cake2/rd_cake/Console/cake -app /var/www/cake2/rd_cake Freeradius >> /dev/null 2>&1

Now that we have the NAS device added to RADIUSdesk; we can do the Dynamic Login page


Add a Dynamic login page

Hey!! There is already some login pages listed here

  • If there happen to be login pages listed already which you did not intend to have listed, it is because that realm has the Make available to sub-providers option checked.
  • To fix this you have to log out as the current Access Provider and log in as root.
  • Now you can remove the unwanted login pages by un-checking that option.
  • Log in again as the Access Provider for Funky Bean There.

Add missing rights for Access Providers

Dynamic keys

Settings

Click to connect

You can choose any of the elements in the query string and are not forced to use nasid. Another common one is ssid (provided it is defined in Coova Chilli)

This brings us to the end of all the preparation. Time for testing ;-)