Changes

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.<br>
+
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, login, or otherwise authenticate to the Hotspot network.<br>
 
'''''Note:''' Only one LAN device needs to perform the authentification on the Hotspot network. All other devices should automatically receive an internet connection after successful authentication with the Hotspot RADIUS server.''
 
'''''Note:''' Only one LAN device needs to perform the authentification on the Hotspot network. All other devices should automatically receive an internet connection after successful authentication with the Hotspot RADIUS server.''
   Line 18: Line 18:  
* A '''wired Windows''' machine connected to the RUT955;
 
* A '''wired Windows''' machine connected to the RUT955;
 
Authentication on the Captive portal will be handled by RUT955 LAN device (''Android phone or Windows device in this example''). <br>
 
Authentication on the Captive portal will be handled by RUT955 LAN device (''Android phone or Windows device in this example''). <br>
[[File:Hotspot_as_wan_schematic_draft.png|border|class=tlt-border]]
+
[[File:Hotspot_as_WAN_topology_v3.png|border|class=tlt-border|1000x1000px]]
 
===Connecting to a Hotspot wireless network===
 
===Connecting to a Hotspot wireless network===
 
----
 
----
Line 35: Line 35:  
===Redirecting the authentication page to the LAN clients===
 
===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.
+
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 the TravelMate package.
* Navigate to Network → Wireless menu;
+
* Navigate to '''Network → Wireless''' menu;
 
* Press the pencil icon to edit the Hotspot wireless interface:
 
* Press the pencil icon to edit the Hotspot wireless interface:
 
[[File:Hotspot_as_wan_edit_hotspot_interface_v2.png|border|class=tlt-border]]
 
[[File:Hotspot_as_wan_edit_hotspot_interface_v2.png|border|class=tlt-border]]
Line 45: Line 45:  
===Authenticating to the Hotspot network from an Android phone===
 
===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.
+
The configuration on the router is done, and the only thing left is to authenticate to the Hotspot network from a LAN client. This 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'');
 
* 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:
 
* Connect to this network. A notification should popup to Sign into the Hotspot network:
Line 62: Line 62:  
* Make sure that WiFi authentication redirection is enabled on your host machine;
 
* Make sure that WiFi authentication redirection is enabled on your host machine;
 
* Try using a different LAN device to authenticate on the Hotspot network;
 
* Try using a different LAN device to authenticate on the Hotspot network;
* Make sure the router is connected to the Hotspot WiFi network and receives an IP address (''refer to the last step of'' [[Draft:Connecing_to_Captive_portals_configuration_example#Connecting to a Hotspot wireless network|'''''Connecting to a Hotspot wireless network''''']] ''section'')
+
* Make sure the router is connected to the Hotspot WiFi network and receives an IP address (''refer to the last step of'' [[Connecting_to_a_Hotspot_WiFi_for_Internet_Connectivity#Connecting to a Hotspot wireless network|'''''Connecting to a Hotspot wireless network''''']] ''section'')
 
* Make sure the Hotspot WiFi network does not require a password for joining;
 
* Make sure the Hotspot WiFi network does not require a password for joining;
 +
* There might be a scenario where Teltonika device detects DNS-rebind attack (this can be seen in logs located at '''System -> Maintenance -> Event Log''') if that is the case you will need to turn off '''Rebind protection''' found in '''Network -> DNS''' page.
 +
 
==References==
 
==References==
 
[https://github.com/openwrt/packages/blob/master/net/travelmate/files/README.md TravelMate] - An OpenWRT package for connecting to Hotspot networks.
 
[https://github.com/openwrt/packages/blob/master/net/travelmate/files/README.md TravelMate] - An OpenWRT package for connecting to Hotspot networks.
 +
[[Category:WIFI]]