Allow Hotspot User to Get Login PIN code via SMS

Selected Vigor Routers can act as a hotspot gateway and provide internet access only to clients who pass the authentication. Receive PIN via SMS is a login method that allows hotspot client to get the login PIN code from an SMS message. This note is going to demonstrate how to set up Vigor Router as a hotspot gateway and log in by the PIN code.

PIN code by SMS
Vigor Router Setup

1. Make sure the router is connecting to the Internet.

a screenshot of online Status 

2. Create an SMS Object to send SMS messages: go to Objects Setting >> SMS Service Object, click on an available profile.

3. Enter the Service Provider details, and click OK to apply.

4. Go to Hotspot Web Portal >> Profile Setup, click on an available profile to edit.

a screenshot of DrayOS hotspot

5. Edit the profile as follows:

a screenshot of DrayOS hotspot

6. Choose a login page design, customize the details, and click Next.

a screenshot of DrayOS hotspot

7. Edit the message on the login page, and click Next.

a screenshot of DrayOS hotspot

8. Edit the details for SMS settings, then click Next.

9. Edit Whitelist for some host, sites, or NAT rules to bypass the Hotspot portal. You may also choose to apply to specific LAN interface on the next page.

10. Edit the landing page, choose the interfaces to which the SMS login should apply, then click Finish.

a screenshot of DrayOS hotspot

11. Now, the hotspot settings have applied to the selected interfaces. You may click Preview to check how the login page looks.

a screenshot of DrayOS hotspot
Hotspot Client Login

12. If the client connected to the selected interface of the router and try to open a webpage, the router will redirect them to hotspot login page. If they do not have a password yet, they can click on the button to get a password.

a screenshot from a smartphone

NOTE:

  1. If there's no certificate installed, the browser might warn that it cannot verify server identity, the clients would need to tap "continue" before they can proceed to portal.draytek.com
  2. The client might not be able to access "portal.draytek.com" if this domain name is resolved by a DNS server on LAN. If so, set up LAN DNS to make sure the domain name will be resolved to the router's LAN IP.

12. The client needs to enter a valid mobile phone number to receive the SMS message.

a screenshot from a smartphone

13 The number will get a message about the password.

a screenshot from a smartphone

14. Enter the password on the login page, and click Login.

a screenshot from a smartphone

15. If the password is correct, the client will be redirected to the landing page, and after that, they will be able to surf the Internet.

a screenshot from a smartphone
Pre-generated PIN Code

Since firmware v3.9.1, Vigor router supports pre-generated PIN code, here is the setting example.

Vigor Router Setup

1. Enable the profile, give a comment, and choose “Various Hotspot Login” as Portal Method, then choose login method “PIN with Voucher”, then refer to step 6~10 of this article for further hotspot setting.

hotspot setting

2. Connect an USB disk to router for Hotspot PIN and database, then enable database in Hotspot Web Portal >> Users Information.

hotspot database

3. Go to Hotspot Web Portal >> PIN Generator >> PIN Generator tab

PIN generator

4. Go to PIN Voucher tab, and select hotspot profile, batch profile, then give title, message and PIN information.

PIN voucher

5. Click Preview and Print, then the voucher page will pop up

PIN list
Hotspot Client Login

If the client connected to the selected interface of the router and try to open a web page, they will be redirected to hotspot login page, where the PIN code can be enter.

login page

Network administrator can also check each PIN code status in Web Portal >> PIN Generator >> PIN Status tab

user status

Published On: Jan 24, 2017 

Was this helpful?     


Related Articles