1-541-955-6900

success@visp.net

Login

Documentation Series

Learn About VISP App Dashboard

Help Documentations / Networks / Set-up SmartSession Authentication

Set-up SmartSession Authentication

VISP’s HyperRadius has many unique powerful features, one of which is SmartSession. SmartSession will allow you to make changes to your subscribers that are authenticated on Mikrotik devices, on the fly, including disconnects and package speed changes, right from VISP.

SmartSession only works with Hotspot and PPPoE authentication.

Mikrotik Changes

  • Update the RADIUS Settings in your Mikrotik Router. In the RADIUS incoming panel,
    • Check “Accept”
    • Port: 3799

Set-up SmartSession Authentication

Changes in the VISP Settings

 

Add a Router-Type Equipment

SmartSession only works with devices categorized with a “Router,” equipment type.

If the equipment profile is already configured, skip the first instruction and add the new equipment into VISP.

  • Let me explain the two parts of a device record in VISP. A device record is composed of an inventory profile and an equipment profile. The inventory profile stores data like the model, manufacturer, and SKU. The equipment profile contains the device’s metadata and equipment type. [If you want to closely track a particular device record, from the time it is purchased from a vendor until it gets to your inventory, and then deployed to your customers, then the serial number of the device is required. You can enter batch or order numbers, IP addresses, or MAC addresses instead of serial numbers, if you’re not closely tracking the inventory records.]
  1. Go to the Menu (nine dots, upper-right corner)
  2. Click on the Equipment tab
  3. Select Inventory profile.
  4. Click on the + plus sign to add a new inventory profile.
  5. Add the Model, Manufacturer, SKU, or Stock Keeping Unit of the device.
  6. If you want to get notified when your stocks are low, you can create or set up an automation profile. Here are the steps:
    1. Click on the dropdown and select Add New.
    2. Add a description for your profile.
    3. Set a limit on how low your stocks can go before the notification goes out.
    4. In the Low Stock action field, two options are available – to order new stocks or to simply send a notification to specific users. The order option will be explained in a separate video. For now, we’ll select notify.
    5. Select a preferred Vendor for this order.
    6. And choose a User that will get the notification.
    7. The automation profile type gives you an idea of whether this automation is based on your reorder level (stock), a calculated rate based on a specific metric, or both. If you’re only reordering when your stocks go below a certain level, then you can select Stock from the dropdown.
    8. Save your work when done.
  7. Select the automation profile from the dropdown.
  8. Next, add a description for this device.
  9. Toggle metered if the item or device you are creating a profile for can be measured and sold in meters.
  10. Click on Add / Update when you’re done.
  11. After you add the inventory profile, check if the equipment appears on your list of available profiles.
  12. Click on the profile
  13. You will find two new tabs – one for the Equipment Profiles and another tab for the Vendors.

IRM: Profiles and Metadata - Visp Web App Documentation

Now, select the Equipment Profiles tab.

  1. Click on Create Equipment Profile.
  2. Select the equipment type – for this instance– select Router.
  3. Add a description for the device.
  • The metadata section allows you to create custom fields for collecting data about your equipment.
    • Click on the plus sign to add more fields, or click on the X to remove fields.
    • To mark metadata as required, toggle this checkbox.
    • Click on Add / Update when you’re done.
    • Save your work when done.

Note: For this scenario, we will not set a Vendor profile for the device.

Add Equipment

Now to add the router in the IRM, do the following:

  1. Go to the IRM panel (click on the equipment icon from the sidebar).
  2. Click on the Equipment tab, and then hit the plus sign.
  3. Enter the name and description of the device.
  4. Select the location where you want to store or mount the unit.
  5. Select the Equipment Profile for this device. This loads the metadata for the equipment.
  6. You may enter additional information in the metadata fields, or leave them blank for now.
    1. Scroll to the bottom of the page to view the image attachments.
  7. You will also find the Inventory items. You will find the inventory profile associated with this equipment, as well as the option to select or add a new inventory item, by entering a serial number to match this new equipment. Otherwise, you can leave it blank.
  8. Hit save when you’re done.

IRM: Add Infrastructure and Equipment - Visp web app documentation

IRM: Add Infrastructure and Equipment - Visp web app documentation

IRM: Add Infrastructure and Equipment - Visp web app documentation

  • After adding the device, click on it and set the authentication to Smart Session and save, then assign it to the site.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


If the subscriber’s device has been authenticated before the SmartSession is enabled it needs to be re-authenticated at least once for the RADIUS to capture the correct IP address.

When the Authentication is set for SmartSession, there will no longer be session timeouts set so there will be no overnight re-authentication. The device will only be disconnected when the subscriber’s account is suspended in VISP.

1. Allow Pre-signup Authentication

Let’s say you have a building that buys internet access from you that it supplies free and anonymously for all tenants. You earn revenue from the main connection but also when tenants upgrade to faster packages. Before, each of those tenants could not connect their…

2. Set-up SmartSession Authentication

VISP’s HyperRadius has many unique powerful features, one of which is SmartSession. SmartSession will allow you to make changes to your subscribers that are authenticated on Mikrotik devices, on the fly, including disconnects and package speed changes, right from…

3. Assigning a Static IP Address

When assigning static IP addresses through Visp.net, we recommend setting the IP into static if it is not included in the DHCP server’s address pool. Visp can’t tell Mikrotik which IP is not available for leases. When the static option is enabled, the RADIUS will…

4. Location ID

Setting up a location ID for your internet package allows you to: Restrict the location where the package is displayed on the signup page. Apply location-based authentications. Use the location ID of the customer’s subscribed package to filter the upgrade package list…

5. RADIUS Configuration

This section configures your Mikrotik router to communicate with the Visp.net HyperRADIUS servers. Critical Note: For the Multi-ISP setup, you must use these proxy servers: 52.37.68.81 and 52.11.17.135. Primary Click Radius (left) and click (+) symbol to add a radius…

6. Mikrotik DHCP Configuration

Client Isolation Recommendations AP’s should use Client-Isolation. This reduces load and improves reliability. Repeating broadcast messages between subscribers increases network load and can allow for rogue DHCP servers or other broadcast services to exist on the…

7. PPPoE Configuration

These instructions assume that you have a new Mikrotik with little to no existing configuration. It specifies certain IP ranges which are commonly used; however, you can replace the IP ranges referenced below with your own custom ranges if you wish. Likewise, if you…

8. Mikrotik Hotspot Configuration

Initial Setup If you’re using a new Mikrotik router, we recommend resetting the device to remove the preinstalled configuration as it contains settings you will probably not need. You may also need to upgrade your RouterOS to the latest stable version, from…

?