1. Connecting the device to the Internet

Teltonika router should be connected to the Internet using an ethernet port (WAN) or a wireless connection (SIM card, mobile).

2. Access to the device’s administration panel

Connect your PC to the LAN port of the Teltonika router using an ethernet network cable. The configuration panel is by default accessible after typing in your web browser. The default login credentials are adminfor the login and admin01for the password.

In case of any problems with acquiring access to the administration panel of your device, use the instruction provided by the manufacturer.

3. Device configuration

3.1 Services → Hotspot → Edit

The fields need to be filled out according to the list below (unmentioned fields should be left with their default values):

  • Enable: ✔
  • AP IP:
  • Authentication Mode: External radius
  • Authentication protocol: PAP
  • Radius server:
  • Authentication port: 31812
  • Accounting port: 31813
  • Radius secret key: You can paste it from your Social WiFi Panel → Access Points → Radius Secret
  • External landing page: ✔
  • Landing page address: https://login.socialwifi.com/

3.2 List Of Addresses The Client Can Access Without First Authenticating (the order does not matter)

Add the following entries to the list – the order does not matter:

Warning: In case of some entries, such as “accounts.google.com”, you might need to also add your local domain, for example “accounts.google.co.uk”.

  • sw-login.com: allow subdomains (✔)
  • socialwifi.com: allow subdomains (✔)
  • www.googletagmanager.com: don’t allow subdomains
  • google.com: don’t allow subdomains
  • accounts.google.com: allow subdomains (✔)
  • ssl.gstatic.com: allow subdomains (✔)
  • fonts.google.com: allow subdomains (✔)
  • *.youtube.com: allow subdomains (✔)
  • *.ytimg.com: allow subdomains (✔)
  • *.googlevideo.com: allow subdomains (✔)
  • yt3.ggpht.com: don’t allow subdomains
  • fonts.gstatic.com: don’t allow subdomains
  • accounts.youtube.com: don’t allow subdomains
    • You must also add your regional domain for accounts.google.com, for example accounts.google.co.uk if you are in the UK
  • apis.google.com: don’t allow subdomains
  • play.google.com: don’t allow subdomains
  • www.google.com: don’t allow subdomains
  • facebook.com: allow subdomains (✔)
  • fbcdn.net: allow subdomains (✔)
  • linkedin.com: don’t allow subdomains
  • licdn.com: don’t allow subdomains
  • twitter.com: don’t allow subdomains
  • twimg.com: allow subdomains (✔)
  • api.twitter.com: don’t allow subdomains

Visit our dedicated OpenWRT file generator here in order to generate your “sw-login.html” file, which you will need to copy to your router using WinSCP software or an alternative for another OS.

Open WinSCP, which should automatically open the login window (new session). In the login window, input:

  • Host name: (IP address of the router to which the PC is connected)
  • User name: root
  • Password: admin01
  • File protocol: SCP
  • Login

Copy and paste the sw-login.html file from the downloaded archive into /etc/chilli/www folder on the router.

4. Adding the device to Social WiFi platform

In order to add a device to the Social WiFi platform:

  • Copy the MAC address from the administrative panel of the device (menu Status → Overview → click the information icon above “Wireless” section and copy the content of “Wireless MAC” field).
  • Access your account at the Social WiFi Panel.
  • Choose the venue to which you would like to add the device.
  • In the “Venue details” tab in the field “Access Point” click the [+] icon, past the MAC address of the device (adding a name is optional) and click “Create”.
  • Restart the device.

5. Test the solution!


Comments are closed