Documente Academic
Documente Profesional
Documente Cultură
Level 4 or better licence (Lower licences will allow only a single Hotspot client)
RouterOS 6.x (5.x will also work, but this tutorial is based on v6.7)
The network will be configured as below. You may need to adjust the IP Addresses to suit your
needs
Notes:
The RouterBOARD CPU and RAM will directly affect the performance of your Hotspot, so
consider beforehand how many clients you wish to connect.
A RouterBOARD 750 can comfortably run about 25-50 users.
In my example I will use a RouterBOARD 532 with one 2.4ghz WLAN card
Step 1: Configure internet access on the router
Add Router IP Address:
/ip address add address=10.0.0.2/24 interface=ether1
Change the IP to match your network configuration
1. Click on the IP Menu
2. Click on the Addresses Menu
3. Click "+"
4. Enter the IP Address you wish to assign to the router, this will be the outward facing IP,
so make sure to select the ethernet interface that will give the router internet access.
5. Click on "Apply"
Test:
Check if you can ping a public ip address like 8.8.8.8
1. Click on Tools
2. Click on Ping
3. Enter a publicly available address
4. Click Start
1. Click next - The address range should be filled in automatically as per our network
configuration.
1. Click Next - the address pool should be pre-populated with the right settings
1. This tutorial will not cover the use of Certificates, so you may select "none" and click
next
1. Enter the IP-Address of your SMTP server. Many providers do not allow use of their
SMTP servers outside their own network, so this option allows you to circumvent the
SMTP server configured on the client's device in favor of your own. (You may even
specify the SMTP server of you own provider in some cases)
2. Click "Next"
1. Enter a host name for the local Hotspot. I am using hotspot.example.com, but this could
be anything you want.
2. Click "Next"
1.
Congratulations, you have now set up basic functionality for a Mikrotik Wireless Hotspot, you
can create users under "IP->Hotspot->Users. But alas, you still need to configure the
Usermanager for a fully featured hotspot.
1. Click on "RADIUS"
2. Click on "+"
3. Tick the "hotspot" tickbox
4. Add the loopback bridge IP to the address field, in this tutorial 10.10.0.1
5. Choose a secure password
6. Click "OK"
Your Mikrotik Hotspot should now be able to communicate with the Usermanager Radius
Server. You can now proceed to set up profiles and users on the user manager interface.
I will soon do a UserManager Tutorial as well.
Acest post continu postul anterior . Asigurai-v c ai reuit s creai un Mikrotik Manager de utilizator
ca un server RADIUS. n acest post, voi explica cum se face cu uurin voucher. Exist 2 tipuri de tichete
sunt adesea utilizate, n primul rnd, vouchere care folosesc limita de timp, i al doilea, bonuri care
utilizeaz limita cotei. Vei fi capabil s se dezvolte, prin combinarea celor dou tipuri, astfel nct ob ine
un voucher care utilizeaz o limit de timp i limita cotei.
Hai s mergem s - l fac. Acesta este planul.
1. Timp de 2 ore voucher, pret 5000, a expirat la 10 zile de la nceperea utilizrii.
2. Voucher Cota 1 GB, pre 3000, a expirat de 30 de zile de la nceperea utilizrii.
Logare
Deschidei browser-ul, i du-te la http: // <ip-address-MikroTik> / userman. Aici vei gsi pagina de
autentificare Mikrotik User Manager, apoi introducei numele de utilizator i parola.
n continuare, n fila Limitarea, facei clic pe add - Nou, n caseta Detalii de limitare, introduce i un alt
nume "2 Ore" i n seciunea Limite, timpul de funcionare: 120m. apoi facei clic pe Adugare.
n continuare pentru a umple caseta de valabilitate, pre i alte op iuni. Apoi facei clic pe aduga o
limitare nou. Uit-te la poza.
Caseta de dialog despre partea profil, va fi aprea. n seciunea Limite, verificai 2 ore, apoi facei clic pe
Adugare. napoi la Profiluri fil, facei clic pe Salvare profil
Un voucher profil a fost creat. Urmtoarele alte bonuri de profil, aceiai pai ca i mai nainte. Facei clic
pe semnul plus (+), apoi creai n profil, introducei numele: Cota 1 GB, apoi face i clic pe crea i. n
continuare, introducei valabilitatea i preul. Apoi facei clic pe aduga o limitare nou.
Caseta de dialog despre partea profil, va fi aprea. n seciunea Limite, verificai 1 Giga Bytes, apoi facei
clic pe Adugare. Apoi salvai profilul.
Creai Utilizatori
Facei clic pe Utilizatori - Adugai - Lot. n detaliile de utilizator caseta, completai numrul de utilizatori,
lungime nume de utilizator, etc. Apoi, n profil Alocai, selectai profil Atribuire: Timp de 2 ore, care a fost
fcut. Apoi facei clic pe Adugare. n continuare pentru a face un alt utilizatorilor cu aceia i pa i, pentru
a contingentului 1 GB.
Dac nu vedei parola, trebuie s configurai setarea meniului. n seciunea de setare, vei gsi coloan
de tabel, despre unele meniu. Facei clic pe utilizatori, apoi facei clic pe parol n coloana ascuns,
mutai la coloana vizibil, cu click stanga sign.And pentru alt meniu, pute i explora de unul singur. Apoi
facei clic pe Salvare.
<div class = "caseta"> <h2> hotspot - R Card Internet% u_moneyPaid% </ h2> <div class = "txtbox">
Conectarea la reea fr fir i deschidei WebBrowser. Punei <b> USERNAME a fost </ b> i <b>
Password </ b> n domeniu este necesar, apoi <b> facei clic pe butonul de conectare. </ B> </ div> <br>
<p align = "left"> UserName: </ p> <h3>% u_username% </ h3> <p align = "left"> Parol: </ p> <h3>%
u_password% </ h3> <h5 style = "margin-top: - 70px; margin-left: 230px; font: caractere aldine 30px
Arial; culoare: #fff; text-umbra: 0.1em negru 0.1em 0.6em; ">% u_timeLeft% </ h5> <p style =" margintop: - 40px; margin-left: 250px; "> Pret:% u_moneyPaid% </ p> <br> <h4> Contact pentru mai multe
informatii.myconfigure.blogspot.com </ h4> </ div>
Vouchere genera
Apoi, din lista de utilizatori, vom genera voucher, care va fi imprimat. Facei clic pe Utilizatori. Verificai toi
utilizatorii, apoi facei clic pe Generare - Vouchere.
Browser-ul pop-up va fi afiat. Acesta este rezultatul final al unui bon pe care va fi imprimat. Avei
posibilitatea s modificai codul buletinului de ablon, astfel nct s pute i ob ine o mai atractiv.
i, n cele din urm, asigurai-v c, n cazul n care timp sau o cot de tichete a fost dep it,
computerul client se va deconecta automat de pe internet, i va reveni la pagina de conectare.
Mult noroc..!!!
This post continues the previous post. Make sure you've managed to create a
Mikrotik User Manager as Radius Server. In this post, I will explain how make
voucher easily. There are 2 types of vouchers are often used, first, vouchers that
use time limit, and second, vouchers that use quota limit. You will be able to
develop, by combining the two types, so get a voucher that uses a time limit and
quota limit.
Let's go to make it. This is the plan.
1. Time Voucher 2 hours, price 5,000, expired 10 days from the start of use.
2. Quota Voucher 1 GB, price 3,000, expired 30 days from the start of use.
Login
Open browser, and go to http://<ip-address-mikrotik>/userman. You will find login
page Mikrotik User Manager, then enter username and password.
Next, on Limitation tab, click add New, In Limitation details box, enter another
name "2 Hours" and in section Limits, uptime : 120m. then click add.
Continue to fill validity box, price and other option. Then click add new limitation.
Look at picture.
Dialog box about Profile part, will be appear. In Limits section, check 2 hours, then
click add. Back to tab Profiles, click Save profile
A profile voucher has been created. Next other profile vouchers, the same steps as
before. Click sign plus ( + ), then in create profile, enter name : Quota 1 GB, then
click create. Next, enter validity and price. Then click add new limitation.
Dialog box about Profile part, will be appear. In Limits section, check 1 Giga Bytes,
then click add. Then save profile.
Create Users
Click Users Add Batch. In user details box, fill numbers of users, username
length, etc. Then in assign profile, select Assign profile : Time 2 Hours, which has
been made. Then click add. Continue to make another users with the same steps,
for Quota 1 GB.
If you don't see the password, you must configure menu setting. In section of
setting, you will find table column, about some menu. Click users, then click
password in the hidden column, move to visible column, with click left sign.And for
the other menu, you can explore by yourself. Then click save.
color-stop(51%,rgba(10,14,10,1)), color-stop(100%,rgba(10,8,9,1))); /*
Chrome,Safari4+ */ background: -webkit-linear-gradient(top, rgba(174,188,191,1)
0%,rgba(110,119,116,1) 50%,rgba(10,14,10,1) 51%,rgba(10,8,9,1) 100%); /*
Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, rgba(174,188,191,1)
0%,rgba(110,119,116,1) 50%,rgba(10,14,10,1) 51%,rgba(10,8,9,1) 100%); /* Opera
11.10+ */ background: -ms-linear-gradient(top, rgba(174,188,191,1)
0%,rgba(110,119,116,1) 50%,rgba(10,14,10,1) 51%,rgba(10,8,9,1) 100%); /* IE10+
*/ background: linear-gradient(to bottom, rgba(174,188,191,1)
0%,rgba(110,119,116,1) 50%,rgba(10,14,10,1) 51%,rgba(10,8,9,1) 100%); /* W3C
*/ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#aebcbf',
endColorstr='#0a0809',GradientType=0 ); /* IE6-9 */ margin: 0px -17px 0px -12px;
padding: 10px 10px 5px 10px; height: 10px; font: bold 14px/0.2 Arial; color: #fff;
text-shadow: white 0.1em 0.1em 0.6em } .txtbox { background-color: transparent;
width: 330px; } </style> </head> <body>
Pop-up browser will be shown. This is the end result of a voucher that will be
printed. You can change the code of the template voucher, so you can get a more
attractive.
Look at Hotspot dialog box, click Active tab. Current users will be seen, and there is
a sign R, on the left side, meaning the user from radius server.
And at last, make sure, if time or quota of vouchers has been exceeded, the client
computer will automatically disconnect from the internet, and will return to the login
page.
Good luck..!!!