Skip to content

Aerohive

Log in to the HiveManager NG interface

Go to Configure → Network Policies → Add Network Policy

Configure New Policy

Wirelesschecked
Switchesunchecked
Routingunchecked
Policy nametype in your chosen name, for example “SocialWiFi Guest” (users will not see this name)
Save

In the Wireless Networks tab → Add → All other Networks (standard)

Name (SSID)your network name
Broadcast Namethis is the network name that the users will see
SSID AuthenticationOpen (unsecured)
Enable Captive Web PortalOn
User Auth on Captive Web Portalchecked
Choose Authentication TypeRedirect to External URL for Authentication
Send Client’s Requested URL in Clear Textchecked

Default Captive Web Portal → Add

Namesocialwifi
Captive Web Portalchecked
Login URLhttp://login.socialwifi.com
Password EncryptionNo Encryption
Authentication MethodPAP
Success PageOff
Redirect clients after a successful login attemptchecked
To the initial pagechecked
Failure PageOff
Redirect clients after a failed login attemptchecked
To the login pagechecked

Walled Garden → Add

Webchecked

Paste the domains below into the text field

Mandatory

login.socialwifi.com
sw-login.com

Facebook remarketing pixel

connect.facebook.net
www.facebook.com

Google remarketing tag

www.googletagmanager.com
www.googleadservices.com
googleads.g.doubleclick.net

YouTube widget on login pages

*.youtube.com
*.ytimg.com
*.googlevideo.com
yt3.ggpht.com

Facebook login

facebook.com
*.facebook.com
*.fbcdn.net

X (Twitter) login

twitter.com
api.twitter.com
x.com
api.x.com
*.twimg.com

LinkedIn login

linkedin.com
*.linkedin.com
*.licdn.com

Authenticate via RADIUS Server

  • Default RADIUS Server Group – press +

In the Configure RADIUS Servers window:

RADIUS Server Group NameSocialWiFi
Check EXTERNAL RADIUS SERVER and press +
Nameswradius
IP/Host Namepress + and choose “IP Address”

In the New IP Address or Host Name window:

Nameswradius
IP Address35.205.62.147
Save IP

In the previous window:

Server Type:

Check Authentication Port31812
Check Accounting Port31813
Shared Secretpaste in the Radius Secret located in Access Points tab
Save External RADIUS

In the Configure RADIUS Servers window check “swradius” on the list and press SAVE RADIUS

In the Wireless Networks tab press SAVE

In the Deploy Policy select your chosen AP and press UPLOAD

Adding the Access Point’s MAC to Social WiFi dashboard

In the MONITOR tab press “Column Picker” next to the “Update Devices” button and highlight the MAC Address

A “MAC Address” column should show up on the AP list.

Copy the MAC Address of each AP that you want to add to the system and add it in the Social WiFi panel in the “Access Points” tab, press “Add” (upper right corner), paste the MAC address you copied into the form (adding a name is optional) and click “Create”.