1. Home
  2. Devices & Hardware
  3. DD-WRT Configuration

DD-WRT Configuration

Installing DD-WRT on a router in most cases is almost as simple as installing a program onto your computer. However, doing it incorrectly can leave you with a router that you have to throw away. In this guide, we will install DD-WRT firmware and configure Chillispot settings on TP-Link router (TP-Link WR 841 ND in this example), but these instructions can be applied to other supported router models.

Warning!
This section describes actions that might damage your device or firmware. Proceed with care!

It is required to have a DD-WRT-Compatible device programmed with a distribution of DD-WRT containing ChilliSpot.

Before you start, please check the DD-WRT router database first.
For a list of devices working with DD-WRT, please see wiki page DD-WRT Supported Devices.

Connecting

If you have installed OpenWRT or some other firmware previously, please install default firmware for your router model before the start.

IMPORTANT

Use your cable connection to flash the device. NOT the wireless connection.

Connect your computer by network cable to the router LAN port.
Go to the web browser and access to router configuration using default IP address e.g 192.168.0.1.
From System Tools find Firmware Upgrade.

Click on Choose File.
Navigate to the location where the DD-WRT firmware for your model is downloaded and press on Open.
Press the Upgrade button.

Confirm that you want to upgrade the firmware.
During this process, you will see information about the processing.
Once when it is finished you will get message Software Upgraded Successfully! Restarting.

Do not power off the router during the firmware upgrade, as it can cause the device to crash or become unusable.

If OpenWRT firmware was previously installed on your router, be sure and disable Keep settings option during firmware upgrade.


Reconnect LAN cable or Disable/Enable NIC card in order to get the new valid IP address in the IP range which is set in the router DHCP server (192.168.5.x in our case).

Configuring parameters

Start your browser and in URL field type https://192.168.1.1
Username : admin
Password : admin

On the DD-WRT Control panel  –Setup – Basic Setup page set Automatic Configuration – DHCP as Connection type.
Set desired Router Name and Hostname, as Domain name type local.

In the Network Setup section set Local IP address and Subnet mask.

As DHCP type select DHCP server and enable it.

Click Save then Apply settings button.

Go to the Setup – Networking page.

Under Port Setup section, as WAN Port Assignment set eth0.
Check router MAC address on the Status page and set it in the Network Configuration eth1 and Network Configuration ath0 MAC address field.

In the Port Setup – Network Configuration ath0 section, as Bridge assignment select Unbridged, Save changes and Apply settings.

Go to the Services – Services page.

Under the DHCP Server section as Used Domain select LAN & WLAN.

As LAN Domain type local, Save changes and Apply settings.

Chillispot configuration

ChilliSpot is an open source captive portal or wireless LAN access point controller. It is used for authenticating users of a wireless LAN. It supports web based login which is today’s standard for public Hotspots. Authentication, authorization and accounting (AAA) is handled by your radius server.

To configure Chillispot go to the Services – Hotspot page.
Under Chillispot section enable Chillispot, and as DHCP Interface select ath0.

Chillispot Hotspot Network is by default set to 192.168.182.0/24 and our recommendation is to keep that setting.

Other details should be same as at the screen bellow.

Hotspot network:192.168.182.0/24
Primary Radius server IP/DNS: 13.92.228.228
Backup Radius server IP/DNS:13.90.247.200
DNS Server IP: 0.0.0.0
Redirect URL:https://connect.starthotspot.com/login
Shared key: (contact our office)
Radius NAS ID: set router MAC address

Go to the UAM Allowed (comma separated) field and add the domains in the following format:

cdn.starthotspot.com,starthotspot.com,connect.starthotspot.com, 13.92.228.228,13.90.247.200

If you want to enable Social network login feature, add further domains and IP’s in the UAM Allowed (comma separated) field as per below for each network you plan to support.

Please note, these IP ranges are subject to change depending on the social network setup.

Twitter

twitter.com
www.twitter.com
abs.twitter.com
abs.twitimg.com
api.twitter.com
pbs.twimg.com
199.16.156.0/22
199.59.148.0/22
199.96.56.0/21
192.133.76.0/22
Twitter app setup instructons

31.13.24.0/21
157.240.0.0/16
31.13.0.0/16
facebook.com
www.facebook.com
fbcdn.net
facebook.net
www.facebook.net
connect.facebook.net
maps.googleapis.com
akamaihd.net
staticxx.facebook.com
static.xx.fbcdn.net
pixel.facebook.com
fbsbx.com
– if it does not work, try adding:
45.64.40.0/22
66.220.144.0/20
69.63.176.0/20
69.171.224.0/19
74.119.76.0/22
103.4.96.0/22
129.134.0.0/16
173.252.64.0/18
179.60.192.0/22
185.60.216.0/22
204.15.20.0/22
Facebook app setup instructions

91.225.248.0/23
linkedin.com
www.linkedin.com
platform.linkedin.com
slicdn.com
licdn.com
static.licdn.com
184.51.0.0/16
108.174.0.0/16
– if it does not work, try adding:
103.20.94.0/23
108.174.0.0/22
108.174.4.0/24
108.174.8.0/22
108.174.12.0/23
144.2.0.0/22
144.2.192.0/24
216.52.16.0/23
216.52.18.0/24
216.52.20.0/23
216.52.22.0/24
65.156.227.0/24
8.39.53.0/24
185.63.144.0/24
185.63.147.0/24
199.101.161.0/24
64.152.25.0/24
8.22.161.0/24
LinkedIn app setup instructons

google.com
www.google.com
clients1.google.com
accounts.youtube.com
accounts.google.com
ssl.gstatic.com
ssl.google-analytics.com
googleusercontent.com
youtube.com
www.youtube.com
doubleclick.net
googlesyndication.com
googlevideo.com
ytimg.com
Google app setup instructons

Login to your Start Hotspot portal account, go to the WiFi Locations page, select location and from Hotspot section as Hotspot model select UAM Based Routers, add your router MAC address  and Save changes.

If you need help with configuration, please go to starthotspot.com and contact our tech support. We’ll be glad to help you.

 

Updated on September 20, 2019

Was this article helpful?