WebFig
Last updated
Was this helpful?
Last updated
Was this helpful?
These instructions will guide you through configuration of your Mikrotik to work with Social WiFi, but without using Winbox software. This solution could be useful if you are using an operating system other than Windows.
Please complete every step as detailed below.
Social WiFi has been tested and is proven to work on the following configurations:
RouterOS versions:
6.x
7.5 and newer (hotspot doesnβt work on RouterOS 7.x below version 7.5)
Plug an ethernet cable into port 2 of your Mikrotik. Plug in the other side into your computer. Insert internet cable into port 1 of your Mikrotik.
Open an internet browser (Firefox, Google Chrome, Internet Explorer, etc.) and open page: http://192.168.88.1/ and choose WebFig in top right corner.
In WebFig go into the βInterfacesβ section in the menu on the left side of the page.
Click [Add New] button.
Select βBridgeβ
Insert new name: βswβ and accept by clicking [Apply].
Select section βIPβ and subsection βAddressesβ in the menu on the left side of the page.
Click [Add New] button.
Fill in the form:
Address
10.8.0.1/16
Network
10.8.0.0
Interface
sw
You can leave the βCommentβ field empty.
Click [Apply].
Select section βIPβ and subsection βPoolβ in the menu on the left side of the page.
Click [Add New] button.
Fill in the form:
Addresses
10.8.0.2-10.8.255.254
Apply
Select section βIPβ and subsection βDHCP Serverβ in the menu on the left side of the page.
Click [Add New] button.
Fill in the form:
Name
dhcp_sw
Interface
sw
Lease Time
3d 00:00:00
Address Pool
dhcp_pool_sw
Apply
Select section βIPβ and subsection βDHCP Serverβ in the menu on the left side of the page.
Select tab βNetworksβ on the top of the page.
Click [Add New] button.
Fill in the form:
Gateway
10.8.0.1
DNS Servers
10.8.0.1
Apply
Select section βRadiusβ in the menu on the left side of the page.
Click [Add New] button.
Fill in the form:
Service
hotspot
Address
35.205.62.147
Secret
Radius Secret available in Access Points tab of the Social WiFi Panel
Authentication Port
31812
Accounting Port
31813
Timeout
1000
Apply
Select section βQuick Setβ in the menu on the top right of the page.
Write down or copy value of βMAC Addressβ field.
Open following page in any internet browser:
Type or paste βMAC Addressβ value from the previous step into βMAC addressβ field.
Click [Get files].
Locate the downloaded file on your computer. It may be in Downloads folder.
Right click on the file and select [Extract Allβ¦].
On the newly opened βExtract Compressed (Zipped) Foldersβ window click [Extract].
New folder will appear, containing files required for the following steps.
Select section βFilesβ in the menu on the left side of the page.
If your Files section contains a βflashβ folder, please place all files inside that folder. Otherwise, the files will be removed on router restart.
Click [Browseβ¦]
Navigate to the extracted files from step Extract the .zip file. Select βlogin.htmlβ and accept.
Repeat this steps for:
βmd5.jsβ file.
βrlogin.htmlβ file.
βflogin.htmlβ file.
βalogin.htmlβ file.
Select section βIPβ and subsection βHotspotβ in the menu on the left side of the page.
Select tab βServer profilesβ on the top of the page.
Click βdefaultβ name.
Fill in the form:
HTML Directory
.
(period) (IMPORTANT: If your Files section contains a βflashβ folder, make sure this field says βflash/.β without question marks)
Use RADIUS
yes
Login By
HTTP PAP
Apply
Select section βIPβ and subsection βHotspotβ in the menu on the left side of the page.
Click [Add New] button
Fill in the form:
Interface
sw
Address Pool
dhcp_pool_sw
Idle Timeout
00:05:00
Apply
Select tab βUser profilesβ on the top of the page.
Click βdefaultβ name.
Fill in the form:
Keepalive Timeout
3d 00:00:00
Select section βIPβ and subsection βHotspotβ in the menu on the left side of the page.
Select tab βWalled Gardenβ on the top of the page.
Click [Add New] button.
Uncheck βEnabledβ.
Clear the field βDst. Hostβ.
Fill in the form:
Apply
This comment is used by Mikrotik to insert dynamic rules. It should be spelled exactly as above.
You should be on the page opened in the previous step (12. Walled Garden β add a comment).
Click [Add New] button.
Fill in the form:
Apply
Mandatory:
How to configure devices to make YouTube widget work?
Select section βBridgeβ and subsection βPortsβ in the menu on the left side of the page.
A list will appear. If it already has a bridge for interface called βwlan1β, remove it by clicking [-] button on the left side of it.
Click [Add New] button.
Fill in the form:
Bridge
sw
Apply
Select section βInterfacesβ in the menu on the left side of the page.
Click βwlan1β entry on the list of interfaces.
Fill in the form:
Mode
ap bridge
SSID
Your desired network name
Apply
Select section βSystemβ and subsection βRebootβ in the menu on the left side of the page.