Hotspot service can be installed on any device capable of running Coovachilli. You can even use a server instead of a router.

This can be accomplished by using SSH to enter the device and using a text editor like vi to edit the configuration file.

Edit the device’s /etc/chilli/defaults file by copying the contents of the following window:

# -*- mode: shell-script; -*-
#
#   Coova-Chilli Default Configurations.
#   To customize, copy this file to /etc/chilli/config
#   and edit to your liking. This is included in shell scripts
#   that configure chilli and related programs before file 'config'.

HS_LOC_ID="1"
HS_LOC_NAME="xxxxxx"
HS_NASID="xxxxx"

#############################################################

HS_WANIF=wan               # WAN Interface toward the Internet
HS_LANIF=lan               # Subscriber Interface for client devices
HS_UAMPORT=3990            # HotSpot UAM Port (on subscriber network)
HS_UAMUIPORT=4990          # HotSpot UAM "UI" Port (on subscriber network, for embedded portal)

# LOCAL MAC addresses
#HS_MACALLOWLOCAL=on
#HS_MACALLOW="XX-XX-XX-XX-XX-XX,XX-XX-XX-XX-XX-XX"

# Below this line is pretty much standard for HotSpotSystems

HS_DNS1=8.8.8.8
HS_DNS2=8.8.4.4

HS_NETWORK=192.168.182.0
HS_NETMASK=255.255.240.0
HS_UAMLISTEN=192.168.182.1
HS_DNS_DOMAIN=key.chillispot.info
HS_DYNIP=192.168.182.2
HS_DYNIP_MASK=255.255.240.0
HS_RADIUS=radius.hotspotsystem.com
HS_RADIUS2=radius2.hotspotsystem.com
HS_LEASE=172800
HS_SWAPOCTETS="on"

HS_UAMHOMEPAGE=""
HS_UAMFORMAT="https://customer.hotspotsystem.com/customer/hotspotlogin.php"
HS_PROVIDER="HotSpotSystem"
HS_PROVIDER_LINK="http://www.hotspotsystem.com/"

HS_MODE=hotspot
HS_TYPE=chillispot
hs_lan_access="deny"

HS_RADCONF="off"
HS_UAMSERVER="hotspotsystem.com"
HS_UAMSECRET="hotsys123"
HS_RADSECRET="hotsys123"
HS_UAMSERVER="customer.hotspotsystem.com"
HS_AAA="radius"

HS_UAMALLOW="194.149.46.0/24 198.241.128.0/17 66.211.128.0/17 216.113.128.0/17 70.42.128.0/17 \
             128.242.125.0/24 216.52.17.0/24 62.249.232.74 155.136.68.77 155.136.66.34 \
             66.4.128.0/17 66.211.128.0/17 66.235.128.0/17 88.221.136.146 195.228.254.149 \
             195.228.254.152 203.211.140.157 203.211.150.204 \
             www.paypal.com www.paypalobjects.com live.adyen.com \
             www.worldpay.com select.worldpay.com secure.ims.worldpay.com \
             www.rbsworldpay.com secure.wp3.rbsworldpay.com www.directebanking.com \
             betalen.rabobank.nl ideal.ing.nl \
             ideal.abnamro.nl www.ing.nl api.mailgun.net \
             www.hotspotsystem.com customer.hotspotsystem.com tech.hotspotsystem.com \
             a1.hotspotsystem.com a2.hotspotsystem.com a3.hotspotsystem.com a4.hotspotsystem.com \
             a5.hotspotsystem.com a6.hotspotsystem.com a7.hotspotsystem.com a8.hotspotsystem.com \
             a9.hotspotsystem.com a10.hotspotsystem.com a11.hotspotsystem.com a12.hotspotsystem.com \
             a13.hotspotsystem.com a14.hotspotsystem.com a15.hotspotsystem.com a16.hotspotsystem.com \
             a17.hotspotsystem.com a18.hotspotsystem.com a19.hotspotsystem.com a20.hotspotsystem.com \
    a21.hotspotsystem.com a22.hotspotsystem.com a23.hotspotsystem.com a24.hotspotsystem.com \
    a25.hotspotsystem.com a26.hotspotsystem.com a27.hotspotsystem.com a28.hotspotsystem.com \
             a29.hotspotsystem.com a30.hotspotsystem.com"

HS_UAMDOMAINS="paypal.com paypalobjects.com worldpay.com rbsworldpay.com adyen.com hotspotsystem.com triodos.nl asnbank.nlknab.nl regiobank.nl snsbank.nl geotrust.com"


You’ll only need to change the following lines:

HS_WANIF=
HS_LANIF=
HS_NASID=

This will create a combined splash page, see What does ‘Combined Splash Page’ mean?

Detailed explanation of configurable parameters:

HS_NASID –> OPERATORNAME_LOC#

For example if you registered a username “hotelhotspot” and want to configure the second location, the HS_NASID will be “hotelhotspot_2″

HS_UAMHOMEPAGE –>

If you wish to redirect users to a different URL than the login page, for example your own server (walled garden), you can enter that URL here. You can also enter the following here if you don’t wish to use a combined splash page (keep the first page and the login pages separated): https://customer.hotspotsystem.com/customer/index.php?nasid=OPERATORNAME_LOC#  (replace the nasid at the end). You also have to be sure that the Combined Splash Page option is not enabled in the control center in this case.

HS_UAMFORMAT –>

This is our hosted splash page/login page. If you are using a white label or you wish to use a server in a different continent, you can replace customer.hotspotsystem.com to an other host name in this URL.

HS_UAMALLOW –>

Comma separated list of resources the client can access without first authenticating. Each entry in the list can be a domain names, IP addresses, or network segment.

HS_UAMDOMAINS –>

One domain prefix per use of the option; defines a list of domain names to automatically add to the walled garden. This is done by the inspecting of DNS packets being sent back to the subscriber.

Did this answer your question?