Quick Mikrotik / Freeradius Howto
Quick Mikrotik / Freeradius Howto
Quick Mikrotik / Freeradius Howto
User Name
Password
Log in
Help
Register
Remember Me?
Forum
What's New?
Forum Actions Quick Links Advanced Search
Forum
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
+ Reply to Thread
Thread: Quick Mikrotik Howto w/WiFiRush
Results 1 to 6 of 6
Thread Tools
Display
01-24-2012 colishay
Junior Member
12:49 AM
Join Date: Posts:
#1
Apr 2011 5
2/9/2014
log in you will be disconnected immediately when you setup the hotspot. Step 2A: Go to system -> identity change the identity of your Mikrotik to the NAS ID of your WifiRush Database. Go to system -> password, and change the admin password to a secure password for you to use when logging into the router. Step 2B: Go to system -> SNTP or NTP client (you will have one or the other available to you. If you have NTP Client then you are not running the latest version of Winbox) Change the mode to unicast. Enter in us.pool.ntp.org for both primary and secondary ntp servers. Click the checkbox for enabled, then click on apply. You should see the domain name for us.pool.ntp.org resolve. If you do not, or you get an error, then your Routerboard is not configured correctly or your Internet connection is not working. Step 3: Go to IP -> Hotspot Click on Hotspot setup. Set your Hotspot Interface to Ether-2-local-master, click next. At this point, you can keep the default local address if you would like. If you want to change IP pools when users log in, you will have to change the default subnet here. keep the checkbox in Masquerade network checked. Click next. Make sure your address range is in the same subnet as the network that you have established in the previous step. If you kept the default address, then just click next. next it will ask you for an SSL Certificate, just click next. If you would like to set up SSL you will have to research that on your own, as it can get to be quite a bugger at times. Next you will be asked for the IP address of the SMTP server. If you plan on using netwatch to monitor your access points you will want to establish that here. It is not required to setup an SMTP server to use the routeboard, so you can just leave the ip address as 0.0.0.0. Click next. next it will ask for your DNS Servers. It is always good practice to have at least 2 in here. Do Not enter the IP address for the router. Either enter in the DNS servers that your ISP gave you, or use something like OpenDNS (208.67.220.220, 208.67.222.222). Click next. Leave the DNS name blank. Step 4: If you connected to the routerboard via an IP address you will be disconnected at this point. You will have to reset the routerboard to get access at this point. If you connected via MAC ID, you're still connected and you're half way there. While still in IP -> Hotspot, click on the tab that says Server Profiles. then click on the red plus sign (+) Name your new server profile something like wifirush. In the Hotspot Address field enter in the router IP address (default 192.168.88.1) Click on the tab that says Login uncheck everything except for MAC and HTTP-PAP. You should not provide a password for Mac Authentication. Click on the tab that says Radius.
http://wifirush.com/forums/showthread.php?2233-Quick-Mikrotik-Howto-w-WiFiRush&p=3764 2/6
2/9/2014
Click on the check box that says Use Radius. Change the MAC format to XX-XX-XX-XX-XX-XX Make sure accounting is checked. Set Interim update to any number between 00:05:00 and 00:10:00, leave the default for the NAS Port (19 wireless). Click Ok. Find the tab in IP -> Hotspot that says Walled Garden Enter in all of the rest of your allowed domains by clicking on the plus sign and entering them one at a time in the destination hosts field. Be sure it is set to allowed. Be sure to enter your wifirush server here. If you are using a server without a FQDN be sure to enter the IP address in IP Walled Garden instead. Step 5: Go To Radius (left hand side of winbox menu) Click on the red plus (+) sign Check hotspot. Enter the address for your WifiRush radius server (It can be either IP or domain name) Enter wificpa for the Radius Secret Click on the status tab, then click apply. If you do not see a Accepted packet listed, you did something wrong. Go back and retrace your steps. Step 6: Go back to IP -> Hotspot. Click on the Server tab and click on the red X. (this will disable your hotspot for now, and allow you to upload your login page. Go to your wifirush server, login, and click on add on modules. Download and save your login.html file With winbox still open, open the folder containing your login.html file. Drag it and drop it into winbox in the "hotspot" directory (Note: if you are using linux you will have to ftp it to the routerboard. You can do so by going to system -> services and enabling your ftp service, then login and ftp it to the hotspot directory. The login.html file will upload quickly. Go back to IP -> Hotspot in winbox, and click on the green checkbox with your hostpot server highlighted to enable the hotspot. Step 7: open your web browser, and browse to a website not listed in your walled garden. (Note: if you are trying to open a secure web address i.e. https:// you will not get redirected. You have to navigate to a non SSL webpage to get redirected. Your wifirush login page should display and you should be able to login. If it appears that the page is constantly trying to load again and again, then your radius settings or hotspot address is not correct. I hope this helps some of you. RouterOS is very powerful and there are a lot of things that you can do with it. Please keep in mind that these instruction will at least get you going in the right direction. Keep in mind that MAC Authentication with the wifirush server does not work simply by authenticating the mac on the server. You have to authenticate MAC ID's at this time on each router. Also keep in mind that there are many useful tools that you can use to help manage your system with these Mikrotiks. You can perform some massive traffic shaping with queues and also setup your Mikrotik to alert you of when an access point goes down, amongst other things.
http://wifirush.com/forums/showthread.php?2233-Quick-Mikrotik-Howto-w-WiFiRush&p=3764 3/6
2/9/2014
Really, you have a lot at your disposal with these little routers. Also, please be aware of the different RouterOS license levels... general rule of thumb is for access points you should only use anything with RouterOS level 4 or higher. the higher you go, the more active connections you can have. If you have any questions, please post them here.
01-24-2012 Wimax
Moderator
09:41 PM
Join Date: Posts:
#2
Jan 2010 209
Thank you for taking the time putting this tutorial together. Would you happen to have screenshots?
08-22-2012 rwf
Junior Member
11:04 PM
Join Date: Posts:
#3
Aug 2012 8
Here is a questionWe are a new wifirush customer. We have a lot of hotspots, all Mikrotik and most run by another portal service currently. We are converting one of the Municipal Mesh networks we have into a "free" system. We do not desire to have users log in with user name and password. After they first accept "terms and conditions:, we want it to recognize the MAC of their device (may be a PC, iPhone, Android, etc) and log them in automatically each time. We thought we were going to use an ability of wifirush to learn MAC addresses and automatically log users in. I think I am understanding that it cannot do this, am I correct? You said something about it not doing it on the server and us having to authenticate the MACs on the local router. Is this true? We cannot enter each MAC in manually to each Mikrotik. Any ideas of what we can do?
11-15-2013
07:08 PM
Join Date:
#4
Aug 2012
4/6
http://wifirush.com/forums/showthread.php?2233-Quick-Mikrotik-Howto-w-WiFiRush&p=3764
2/9/2014
rwf
Junior Member
Posts:
I was sure hoping I could get some input on this, Over a year now with nothing.
11-15-2013 velocitystar
Administrator
07:37 PM
Join Date: Posts:
#5
Dec 2009 148
Try this... Here is a guide for another system that would be mostly applicable to WiFiRUSH... [Only Registered Users Can See LinksClick Here To Register] You would replace Radius.hotspotsystem.com with cpa5.wifirush.com and replace hotsys123 with wificpa on step 5. On Step 7, ignore the entries listed and use the following: *.wifirush.com *.paypal.com *.paypalobjects.com *.paypal-metrics.com *.altfarm.mediaplex.com *.akamaiedge.net Step 9, set the NASID from MikroTik to your NASID from your profile. Step 10... Use the login.html found under 'HotSpot Setup' > 'Add-on Modules' > MikroTik Skip step 13 (for now)
11-27-2013 rwf
Junior Member
10:16 AM
Join Date: Posts:
#6
Aug 2012 8
I tried to comment on your post by telling you what we did on that issue, plus the latest new Mikrotik Hotspot/WiFiRush developments, but because I referred to your mention of hotspotsystems with the dot com on the end in my reply, this stupid forum software called me "Retarded" and changed my message to one saying I needed to be banned. For a new customer who is jumping on the WiFiRush
http://wifirush.com/forums/showthread.php?2233-Quick-Mikrotik-Howto-w-WiFiRush&p=3764 5/6
2/9/2014
bandwagon, that was insulting and unprofessional! I'm not even going to bother to re compose the message that took me 1/2 hour to write.
Last edited by rwf; 11-27-2013 at 10:23 AM.
+ Reply to Thread
Quick Navigation
WiFiRUSH Users Support! Top
-- English (US)
All times are GMT -5. The time now is 09:24 AM. Powered by vBulletin Copyright 2000 - 2014, Jelsoft Enterprises Ltd.
http://wifirush.com/forums/showthread.php?2233-Quick-Mikrotik-Howto-w-WiFiRush&p=3764
6/6