Difference between revisions of "Connecting to a Hotspot WiFi for Internet Connectivity"

From Teltonika Networks Wiki
Line 1: Line 1:
 
<p style="color:red">The information in this page is updated in accordance with [https://wiki.teltonika-networks.com/view/FW_%26_SDK_Downloads'''00.07.04.4'''] firmware version. .</p>
 
<p style="color:red">The information in this page is updated in accordance with [https://wiki.teltonika-networks.com/view/FW_%26_SDK_Downloads'''00.07.04.4'''] firmware version. .</p>
 
==Introduction==
 
==Introduction==
This article contains instructions on connecting to an existing Captive portal wireless network and using it as a WAN source for your local network. This feature works by utilizing the TravelMate package. Once you connect to the Hotspot wireless network with the router, it will redirect a LAN client to the Captive portal to accept the Terms of Service, log in, or otherwise authenticate to the hotspot network.
+
This article contains instructions on connecting to an existing Captive portal wireless network and using it as a WAN source for your local network. This feature works by utilizing the TravelMate package. Once you connect to the Hotspot wireless network with the router, it will redirect a LAN client to the Captive portal to accept the Terms of Service, log in, or otherwise authenticate to the Hotspot network.
  
 
==Perquisites==
 
==Perquisites==
There are a few things that need to be done before connecting to the hotspot network:
+
There are a few things that need to be done before connecting to the Hotspot network:
 
* Make sure the WebUI is in '''Advanced mode'''. This setting can be changed by clicking the Mode toggle in the top-right corner of the WebUI:
 
* Make sure the WebUI is in '''Advanced mode'''. This setting can be changed by clicking the Mode toggle in the top-right corner of the WebUI:
 
[[File:Basic_WebUI_Advanced.gif|border|class=tlt-border]]
 
[[File:Basic_WebUI_Advanced.gif|border|class=tlt-border]]
Line 12: Line 12:
 
==Configuration==
 
==Configuration==
 
For this configuration example we will be using:
 
For this configuration example we will be using:
* '''RUTX11''' with a configured hotspot network;
+
* '''RUTX11''' with a configured Hotspot network;
 
* '''RUT956''' connected to the RUTX11 in wireless client mode;
 
* '''RUT956''' connected to the RUTX11 in wireless client mode;
 
* An '''Android phone''' connected to the RUT956 wireless network;
 
* An '''Android phone''' connected to the RUT956 wireless network;
Line 19: Line 19:
 
'''*Schematic*'''
 
'''*Schematic*'''
 
   
 
   
===Connecting to a hotspot wireless network===
+
===Connecting to a Hotspot wireless network===
 
----
 
----
Connecting to a hotspot network will be the same as connecting to any other wireless network.
+
Connecting to a Hotspot network will be the same as connecting to any other wireless network.
 
* Navigate to '''Network → Wireless''';
 
* Navigate to '''Network → Wireless''';
* Press the '''Scan''' button under the wireless band used by the hotspot network;
+
* Press the '''Scan''' button under the wireless band used by the Hotspot network:
 
[[File:Hotspot_as_wan_scan_network.png|border|class=tlt-border]]
 
[[File:Hotspot_as_wan_scan_network.png|border|class=tlt-border]]
* Press the Join Network button on the HotSpot network;
+
* Press the Join Network button on the Hotspot network:
 
[[File:Hotspot_as_wan_scan_results.png|border|class=tlt-border]]
 
[[File:Hotspot_as_wan_scan_results.png|border|class=tlt-border]]
* If the network requires it, enter the authentication details for the WiFi network (''not the HotSpot itself''). Otherwise, leave the WPA Passphrase field empty. The name of the Hotspot network should also be entered for identification;
+
* If the network requires it, enter the authentication details for the WiFi network (''not the Hotspot itself''). Otherwise, leave the WPA Passphrase field empty. The name of the Hotspot network should also be entered for identification:
 
[[File:Hotspot_as_wan_joining_hotspot.png|border|class=tlt-border]]
 
[[File:Hotspot_as_wan_joining_hotspot.png|border|class=tlt-border]]
* Once the wireless interface configuration opens up, validate the settings, and press '''Save & Apply''';
+
* Once the '''wireless''' interface configuration opens up, validate the settings, and press '''Save & Apply''';
* Finally, the network interface settings can be also be saved;
+
* Finally, the '''network''' interface settings can be also be saved;
 +
* In the '''Network → Interfaces → General''' menu you should see an '''active''' Hotspot network interface with an assigned IP address:
 +
[[File:Hotspot_as_wan_network_interface.png|border|class=tlt-border]]
 +
===Redirecting the authentication page to the LAN clients===
 +
----
 +
At this point, while the device is connected to a Hotspot page, no internet access will be present, as we haven't yet authenticated with the Hotspot RADIUS server. This authentication redirection will need to be enabled with the help of TravelMate package.
 +
* Navigate to Network → Wireless menu;
 +
* Press the pencil icon to edit the Hotspot wireless interface:
 +
[[File:Hotspot_as_wan_edit_hotspot_interface.png|border|class=tlt-border]]
 +
* Open the '''Advanced Settings''' tab, and enable the '''Redirect captive portal''' option:
 +
[[File:Hotspot_as_wan_redirect_travelmate.png|border|class=tlt-border]]
 +
* Press '''Save & Apply''';
 +
* Make sure to '''enable the Access Point''' instance on the router if you will be authenticating to the Hotspot network from a wireless client;
 +
===Authenticating to the Hotspot network from an Android phone===
 +
----
 +
The configuration on the router is done, and the only thing left is to authenticate to the Hotspot network from a LAN client. Thus could be any client that supports Hotspot redirection, but for this example we will be using an Android mobile phone.
 +
* On the Mobile phone, open the WiFi settings, and find the network of the device you have configured the TravelMate package on (''not the Hotspot network'');
 +
* Connect to this network. A notification should popup to Sign into the Hotspot network:
 +
[[File:Hotspot_as_wan_android_sign_in.png|border|class=tlt-border|400x400px]]
 +
* Press on the notification or the WiFi network, a Hotspot login page will open up:
 +
[[File:Hotspot_as_wan_login_page.png|border|class=tlt-border|400x400px]]
 +
* Enter all of the needed details. Once the authentication is complete, the browser window will close and the device should have internet access:
 +
[[File:Hotspot_as_wan_auth_complete.png|border|class=tlt-border|400x400px]]

Revision as of 11:18, 3 July 2023

Main Page > General Information > Configuration Examples > WIFI > Connecting to a Hotspot WiFi for Internet Connectivity

The information in this page is updated in accordance with 00.07.04.4 firmware version. .

Introduction

This article contains instructions on connecting to an existing Captive portal wireless network and using it as a WAN source for your local network. This feature works by utilizing the TravelMate package. Once you connect to the Hotspot wireless network with the router, it will redirect a LAN client to the Captive portal to accept the Terms of Service, log in, or otherwise authenticate to the Hotspot network.

Perquisites

There are a few things that need to be done before connecting to the Hotspot network:

  • Make sure the WebUI is in Advanced mode. This setting can be changed by clicking the Mode toggle in the top-right corner of the WebUI:

Basic WebUI Advanced.gif

  • TravelMate package needs to be installed from the Package manager by navigating to Services → Package Manager → Packages.
  • Alternatively, if the router does not have an internet connection, the package can be downloaded from the Package Downloads page on our Wiki. This page can be found by selecting the model of your device on the Wiki home page.

Configuration

For this configuration example we will be using:

  • RUTX11 with a configured Hotspot network;
  • RUT956 connected to the RUTX11 in wireless client mode;
  • An Android phone connected to the RUT956 wireless network;

Authentication on the Captive portal will be handled by the Android phone.

*Schematic*

Connecting to a Hotspot wireless network


Connecting to a Hotspot network will be the same as connecting to any other wireless network.

  • Navigate to Network → Wireless;
  • Press the Scan button under the wireless band used by the Hotspot network:

Hotspot as wan scan network.png

  • Press the Join Network button on the Hotspot network:

Hotspot as wan scan results.png

  • If the network requires it, enter the authentication details for the WiFi network (not the Hotspot itself). Otherwise, leave the WPA Passphrase field empty. The name of the Hotspot network should also be entered for identification:

Hotspot as wan joining hotspot.png

  • Once the wireless interface configuration opens up, validate the settings, and press Save & Apply;
  • Finally, the network interface settings can be also be saved;
  • In the Network → Interfaces → General menu you should see an active Hotspot network interface with an assigned IP address:

Hotspot as wan network interface.png

Redirecting the authentication page to the LAN clients


At this point, while the device is connected to a Hotspot page, no internet access will be present, as we haven't yet authenticated with the Hotspot RADIUS server. This authentication redirection will need to be enabled with the help of TravelMate package.

  • Navigate to Network → Wireless menu;
  • Press the pencil icon to edit the Hotspot wireless interface:

Hotspot as wan edit hotspot interface.png

  • Open the Advanced Settings tab, and enable the Redirect captive portal option:

Hotspot as wan redirect travelmate.png

  • Press Save & Apply;
  • Make sure to enable the Access Point instance on the router if you will be authenticating to the Hotspot network from a wireless client;

Authenticating to the Hotspot network from an Android phone


The configuration on the router is done, and the only thing left is to authenticate to the Hotspot network from a LAN client. Thus could be any client that supports Hotspot redirection, but for this example we will be using an Android mobile phone.

  • On the Mobile phone, open the WiFi settings, and find the network of the device you have configured the TravelMate package on (not the Hotspot network);
  • Connect to this network. A notification should popup to Sign into the Hotspot network:

Hotspot as wan android sign in.png

  • Press on the notification or the WiFi network, a Hotspot login page will open up:

Hotspot as wan login page.png

  • Enter all of the needed details. Once the authentication is complete, the browser window will close and the device should have internet access:

Hotspot as wan auth complete.png