Дерево страниц
Перейти к концу метаданных
Переход к началу метаданных

Access point firmware


To test integration with Hot-WiFi advertising platform, firmware version 1.11.0.47 or higher is needed.

Download link:

https://eltex-co.com/support/

Setting up connection between the advertising platform and an access point

  1. A test hotspot VAP with redirecting to the portal should be configured on the access point:
  2. Create an advertising tariff. The first scenario should be an external URL address in the following form: http://<portal-ip-address>:<portal_port>/eltex_portal/adv-redirect. The addresses should be added to the list of permitted hosts for this scenario. Any further scenarios can be defined in a standard form (for example, 1-minute internet access as the second scenario, a return to a portal and client reauthorization as the third scenario).

In order to provide correct operation, two or more scenarios should be created for one tariff.


 The list of permitted hosts
95.213.0.0/18,95.142.192.0/20,93.186.224.0/20,87.240.128.0/18,185.32.248.0/22,185.29.130.0/24,74.119.76.0/22,69.63.176.0/20,69.171.224.0/19,66.220.144.0/20,45.64.40.0/22,103.4.96.0/22,31.13.64.0/18,31.13.24.0/21,204.15.20.0/22,199.201.64.0/22,173.252.64.0/18,157.240.0.0/16,8.25.197.0/24,8.25.196.0/24,8.25.195.0/24,199.96.56.0/21,199.16.156.0/22,192.133.76.0/22,185.45.4.0/22,104.244.40.0/21,5.61.16.0/21,217.20.144.0/20,185.16.244.0/22,54.144.0.0/12,54.160.0.0/12,52.0.0.0/11,54.208.0.0/13,54.216.0.0/14,54.220.0.0/15,107.20.0.0/14,31.13.93.0/24,212.30.134.0/24,173.194.0.0/16,64.233.160.0/19,184.84.0.0/14,104.108.32.0/20,199.59.148.0/22,2.21.7.26,188.166.114.145,46.101.169.141,217.69.128.0/20,api.instagram.com,instagram.com,instagram.c10r.facebook.com,www.instagram.com,static.licdn.com,platform.linkedin.com,ssl.gstatic.com,cp.hot-wifi.ru,www.linkedin.com,mc.yandex.ru,cdn.hot-wifi.ru,www.facebook.com,facebook.com,185.60.216.0/24,74.125.0.0/16,auth-pro.wifi.rt.ru,78.155.202.186


3. Go to  the Portal Constructor, choose a portal used for testing. In the "Tariffs" section of the menu, choose the tariff created for testing, enter its name and save changes.

4. Go to the "Advertising platforms" section, enable integration and choose Hot-WiFi advertising platform. Address: http://auth-pro.wifi.rt.ru, client ID: SgnlAHY8, save changes.

The tariffs selected here are valid only for BRAS, tariffs for native access points should be selected in "Tariffs" tab.

If BRAS is not used, leave "Advertising BRAS tariff" and "BRAS tariff after advertising" fields blank.

5. Make sure that AP IP Alias is defined on each access point within a domain

The parameter should be the same for all the access points of the platform. Configuration can be done directly on the access point, via group operations or using an access point initialization rule.


6. For Hot-WiFi integration, Hot-WiFi API service access from SoftWLC core is needed. A check is performed by Eltex-Portal module. If it is completed successfully, you will be redirected to Hot-WiFi platform, otherwise you will be redirected to a website defined in "Redirection URL" field of "Language settings" section.
To check URL, curl utility can be used
Example:

tester@tester:~$ curl http://auth-pro.wifi.rt.ru/_info
{
  "status": "OK"
}
tester@tester:~$


7. Make sure that a registered client is redirected to an advertising platform website and successfully logs on to social networks and sees advertising banners.

Setting up connection between the advertising platform and BRAS


To configure integration with Hot-WiFi, the following steps should be performed:

  1. Log in to the Personal Cabinet
  2. Go to "Settings"→"URL lists" and create "hot-wifi" URL list.

The list should contain the portal address and URL for correct AndroidConnectivityManager operation. It should also contain Hot-WiFi advertising platform templates


 List example

URL:
http://192.168.107.213:8080/eltex_portal/
http://connectivitycheck.gstatic.com/generate_204/
https://connectivitycheck.gstatic.com/generate_204/

Шаблоны:

^((https|http):\/\/)(.+\.)?abs\.twimg\.com

^((https|http):\/\/)(.+\.)?accounts\.google\.com

^((https|http):\/\/)(.+\.)?api\.instagram\.com

^((https|http):\/\/)(.+\.)?apple\.com

^((https|http):\/\/)(.+\.)?captive\.apple\.com

^((https|http):\/\/)(.+\.)?facebook\.com

^((https|http):\/\/)(.+\.)?facebook\.net

^((https|http):\/\/)(.+\.)?fbcdn\.net

^((https|http):\/\/)(.+\.)?fbstatic-a\.akamaihd\.net

^((https|http):\/\/)(.+\.)?googleapis\.com

^((https|http):\/\/)(.+\.)?googleusercontent\.com

^((https|http):\/\/)(.+\.)?hot-wifi\.ru

^((https|http):\/\/)(.+\.)?inkedin\.com

^((https|http):\/\/)(.+\.)?instagram\.c10r\.facebook\.com

^((https|http):\/\/)(.+\.)?instagram\\.com

^((https|http):\/\/)(.+\.)?licdn\.com

^((https|http):\/\/)(.+\.)?oauth\.vk\.com

^((https|http):\/\/)(.+\.)?odnoklassniki\.ru

^((https|http):\/\/)(.+\.)?ok\.ru

^((https|http):\/\/)(.+\.)?top-fwz1\.mail\.ru

^((https|http):\/\/)(.+\.)?twimg\.com

^((https|http):\/\/)(.+\.)?twitter\.com

^((https|http):\/\/)(.+\.)?userapi\.com

^((https|http):\/\/)(.+\.)?userapi\\.com

^((https|http):\/\/)(.+\.)?vk\.com

^((https|http):\/\/)(.+\.)?vk\.me

^((https|http):\/\/)(.+\.)?wifiworld\.me

^((https|http):\/\/)(.+\.)?www\.instagram\.com

^((https|http):\/\/)(.+\.)gosuslugi\.ru

^((https|http):\/\/)api\.instagram\.com

^((https|http):\/\/)auth-pro\.wifi\.rt\.ru

^((https|http):\/\/)cdn\.hot-wifi\.ru

^((https|http):\/\/)cp\.hot-wifi\.ru

^((https|http):\/\/)fbstatic-a\.akamaihd\.net

^((https|http):\/\/)instagram\.c10r\.facebook\.commail

^((https|http):\/\/)instagram\.com

^((https|http):\/\/)mc\.yandex\.ru

^((https|http):\/\/)platform\.linkedin\.com

^((https|http):\/\/)ssl\.gstatic\.com

^((https|http):\/\/)static\.licdn\.com

^((https|http):\/\/)www\.instagram\.com

^((https|http):\/\/)www\.linkedin\.com


An updated list can be found on http://be.hot-wifi.ru/api/walledgarden/get, but it should be changed in accordance with the example above to be downloaded properly.

3. Go to "Services and tariffs"→ "PCRF services" and create a service HOTWIFI (any name)

    Traffic's class: WELCOME (The name should be the same as for traffic class in ESR-1000 configuration)

    Default action: redirect

    Default URL: http://<portal-ip-address>:<portal_port>/eltex_portal/adv-redirect

    Filter

    Action: permit

    Name of filter: hot-wifi

4. Go to "Services and tariffs"→ "Tariffs", select a PCRF/BRAS filter, create HOTWIFI tariff with hotwifi service

5. Go to the Portal Constructor

6. Create a portal, go to "Advertising platforms" and check "Enable integration" box

7. Select Hot-WiFi advertising platform, fill in the fields

   Address:  an address in the following form: http://auth-pro.wifi.rt.ru, which is provided by Hot-WiFi staff

   Client ID: client identifier provided by Hot-WiFi staff

   Advertising BRAS tariff:  select the tariff created in paragraph 4

   BRAS tariff after advertising: any tariff

   If an advertising platform is enabled, the tariffs selected in "Advertising platforms" are used, other tariffs will be ignored.



  • Нет меток