Router Configuration
Note: This page explains configuration for DD-WRT based routers. For other gateways, please refer to the respective configuration guides.
We have assumed that you have properly connected your DD-WRT based gateway a broadband connection that has a static or dynamic public IP address. Additionally, your DD-WRT gateway admin interface is accessible either via the LAN interface or via the public WAN interface as shown in the figure below.
Log into DD-WRT and then go to Setup -> Basic Setup screen. Enter the details in network setup. The connection type should be configured correctly for your Internet connection. Please make sure that you disable the DHCP server under Network Address Server Setting section on this page. We will be using the DHCP server provided by Chillispot. (see later)
Next, go to Administration tab and click on the Hotspot sub-tab. You need to enable Chillispot on this page. Chillispot is a software program that redirects the unauthenticated users to the login page. This program should be running on the router for the login page to work correctly.
Next you need to configure Chillispot with the Radius server settings as shown below:
If you need to separate the LAN portion of the router from WLAN, enable the 'Separate Wifi from LAN bridge' option.
Enter the primary and secondary Radius server IP addresses as shown.
DNS IP should be the IP address of the ISP's DNS server
Redirect URL should be URL of the login page. Please refer to WiFiLAN portal section for creating login pages compatible with DD-WRT.
Shared key is the secret key between the Radius server and the router. It should match the one configured in the router.
If you want to enable login page redirection for WLAN (wireless) only, then select WLAN from the drop-down list for DHCP Interface.
Enter the NAS Id for the router. NAS Id is the friendly name used to identify the router.
Leave the UAM secret and DNS settings as shown.
Under UAM allowed, enter the following values (comma separated):
www.wifi-soft.net,www.wifi-soft.com,74.208.78.152,69.64.34.236
Next enable HTTP Redirect option and leave the default setting.
Save the above settings.
If chillispot is configured correctly, then you should get an IP address in the following subnet when you connect to WLAN:
192.168.182.X
Troubleshooting Chillispot
Go to Administration >> Commands and type the following command
'ps'
Click on Run Commands.
In the list of Processes that appear you should have an entry for the chillispot process : chilli -c /tmp/chilli.conf
If not you would require to run Chillispot manually.
Type the following command :
Command to run Chillispot Manually : chilli -c /tmp/chilli.conf
Click on Run Commands.
Then confirm if chillispot is running using the 'ps' command again.
|