It would be great If MIKROTIK adds feature in USER MANAGER (UM) of adding serial numbers with each ID, So that we can print voucher with serial numbers, and can search ids by corresponding serial number.
I have customized the following vouchers but unable to add serial number.
I am working on MS ACCESS program to import ids passwds from .CSV file ,
then print it using my customized templates and add serial number to each id and store it in its database to prevent Duplication, and also add search function by serial. I will publish it soon.
HOWTO Use this template to Print Vouchers for Single or Batch Users !!
First login to your user manager e.g http://192.168.2.1/userman
Now to use the template, goto Settings / Templates and in ROW section box, select all and delete , now paste the complete template in this box. and click on SAVE button.
▼
▼
Now we will add Batch Users (Add Users in Bulk).
Goto Users / Add / Batch Users. Select your desired options and click on ADD.
▼
Now we will Generate Voucher file to print. (html format)
(See Following Image)
Click on DOWNLOAD AS FILE and click Generate. It will then download the vouchers.html file and you can print it.
Following is the Template Code:
▼
<html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>User Manager Voucher Page - By Syed Jahanzaib aacable@hotmail.com</title> <meta name="description" content="User Manager Voucher Page - By Syed Jahanzaib aacable@hotmail.com"> <meta name="Microsoft Theme" content="none, default"> </head> <body background="http://192.168.2.3/background_compass.gif" topmargin="5" leftmargin="5" style="background-attachment: fixed"> <table style="color: black; font-size: 11px;" border="2" align="left" width="286" height="300" cellspacing="0" cellpadding="0" id="table1"> <tr> <td colspan="2" height="69"> <p align="center"> <font size="1"> <img border="0" src="http://192.168.2.3/nae.jpg" width="107" height="67"></font></p> </td> </tr> <tr height="5px"> <td colspan="2"> <p align="center"><u><b><font color="#0000FF" size="3">Package: %u_actualProfileName%</font></b></u></td></tr> <tr> <font size="2" face="Arial"> <td> <p align="center"><font size="2" face="Arial Black">Price</font></td> </font> <td> <p align="center"><font size="2" face="Arial Black" color="#FF0000">%u_moneyPaid%</font></td> </tr> <tr> <td> <font size="2" face="Arial Black"> <p align="center">Prepaid time:</td> <td> <p align="center"><font color="#FF0000" face="Arial Black" size="2"><b>%u_timeLeft%</b></font></td> </tr> <tr> <td> <font size="2" face="Arial Black"> <p align="center">Login:</td> <td> <p align="center"><font color="#FF0000"><b> <font size="2" face="Arial Black">%u_username%</font></b></font></td> </tr> <tr> <font size="2" face="Arial"> <td> <p align="center"><font size="2" face="Arial Black">Password:</font></td> <td> <p align="center"> <font face="Arial Black" color="#FF0000"><b><font size="2">%u_password%</font></b></font></td> </font> </tr> <tr height="20px"> <td colspan="2"> <p align="center"><b><u><font size="2" color="#0000FF">~ Howto Use This Voucher ~</font></u><font color="#008000" size="2"><u><br> </u></font></b><font size="2" color="#008000">Please open <a href="http://ftp.local">http://ftp.local</a> and download <br> aa-dialer.exe & install it. After installation its icon will appear on Desktop. Double click on it, and use the above mentioned ID and Password to connect to the internet .<br> </font><font size="2" face="Arial Black" color="#FF0000">This ID will expire in 30 days after its first usage.</font><font size="2" color="#008000"><br> </font><b><font size="2">Thank You For Choosing AA~Services</font></b></td></tr> <tr> <td colspan="2" align="right" height="50"> <p align="center"><b><font size="1">AA Network Services</font></b><font size="1"><br> Support : 92.333.3021909<br> Email aacable@hotmail.com<br> Web <a href="http://aacable.com">https://aacable.wordpress.com</a> </font></td> </tr> </table> </body> </html>
▼
Note: I used 2 images, one is logo, second is background image, Both files are residing on the Local web server. You have to modify these links and files name to match according to your structure.
Regard’s
SYED JAHANZAIB
Hi SYED JAHANZAIB
Am using Radius Manager 3 for my Mikrotik Hotspot how do i implement voucher on it
LikeLike
Comment by John — September 9, 2011 @ 4:52 PM
If you are using RM, then you need to follow this guide. RM have builtin Voucher/Card templates which create pre-paid /Refill Cards very nicely in printable format. See the following examples.
LikeLike
Comment by Pinochio / zaib — September 10, 2011 @ 10:45 AM
Salam Alaikum
Sir i Need to andother customer with parent=owner on single machine because i need the seperate operators with their personal clients and sir i am using 3.22 version please kindly help me in that i try to put router with 127.0.0.2 loop back adress but not worked. kindly help me please.
LikeLike
Comment by Waqas Hussain — December 16, 2011 @ 12:30 PM
3.22 is cracked version, and there is no support for Illegal Cracked Version.
All of the templates and codes defined in this article relates to ver 5+
LikeLike
Comment by Pinochio~:) — December 16, 2011 @ 1:02 PM
Sir i Have rb750 router with 5.8 routeros installed but its hanged sometime. and i dont have credit card and much money to get the license so kindly please tell me how to do irt in 3.22 and one of my freind is done that thing in 3.22.
LikeLike
Comment by waqas hussain — December 18, 2011 @ 10:56 PM
RB750 sometimes HANGs if you put load on it. It is not designed for heavy usage.
On ver 3.22, There was a bug that ID created via USER MANAGER, can be used simultaneously by more then one computers. So If somehow you manage to setup user manager, how you will gonna prevent multiple login of same ID. One workaround was to create an script that will check multi login and disable those id’s found logged in from more then once place. and make it run every 5 minutes. You can export voucher generated and edit them manually in word,
This problem was solved in ver 4+
LikeLike
Comment by Pinochio~:) — December 19, 2011 @ 10:37 AM
sir i thing u didn’t get me my 3.22 version’s user manager is working fine just need to add another subcriber with permission owner. So kindly tell me the way to add another customer subscriber plzzzzz. my freind is done that thing but he is not showing me and telling me his skills.
LikeLike
Comment by waqas hussain — December 25, 2011 @ 6:01 PM
Sir Kindly Help Me in That otherwise i will thing that u can’t do that.
LikeLike
Comment by waqas hussain — December 29, 2011 @ 6:11 PM
DON’T ASK SUPPORT FOR CRACKED VERSION AGAIN. Use googel instead.
If you are using Licensed version above 4+, then follow the below, otherwise goto google.com
You can add Dealer / Subscriber Either Via command OR using User Manager GUI.
/tool user-manager customer add login=zaib password=123 comment=Dealer-ID signup-allowed=yes permissions=o
wner email=aacable@hotmail.com access=own-users,parent-limits,parent-profiles
Or via GUI , first login to user manager by admin ID.
Then goto CUSTOMERS > ADD > NEW
Here you can add your desired Dealer ID and assign him appropriate permissions.
LikeLike
Comment by Pinochio~:) — December 30, 2011 @ 2:16 PM
zaib bhai i can make the deal subscriber but the problem is radius is not working on the same ip 127.0.0.1 shared 1234 i also tried on another subscriber add router ip 127.0.0.2 shared 123456 but radius is not working. and one more thing if i disable one of the radius then 2nd will automatically working but i need to both in working. did u get me? please tell.
LikeLike
Comment by waqas hussain — December 30, 2011 @ 5:38 PM
You are confusing with the radius.
Read the Wiki for more info on User Manager to understand the logic of subscriber.
LikeLike
Comment by Pinochio~:) — December 30, 2011 @ 8:59 PM
no i am not confusing. i have my bad English. my configuration is just like that
/ip hotspot user profile
set default idle-timeout=none keepalive-timeout=2m name=default shared-users=\
1 status-autorefresh=1m transparent-proxy=no
/ip hotspot service-port
set ftp disabled=no ports=21
/ip hotspot user
add comment=”” disabled=no name=telstra password=xxxxxxxx profile=default
/ip hotspot profile
set default dns-name=”” hotspot-address=0.0.0.0 html-directory=hotspot \
http-cookie-lifetime=3d http-proxy=0.0.0.0:0 login-by=cookie,http-chap \
name=default rate-limit=”” smtp-server=0.0.0.0 split-user-domain=no \
use-radius=no
add dns-name=portal.telstra.com hotspot-address=10.100.50.1 html-directory=\
hotspot http-cookie-lifetime=3d http-proxy=0.0.0.0:0 login-by=\
cookie,http-chap name=hsprof1 nas-port-type=wireless-802.11 \
radius-accounting=yes radius-default-domain=”” radius-interim-update=\
received radius-location-id=”” radius-location-name=”” radius-mac-format=\
XX:XX:XX:XX:XX:XX rate-limit=”” smtp-server=0.0.0.0 split-user-domain=no \
use-radius=yes
now radius
/radius
add accounting-backup=no accounting-port=1813 address=127.0.0.1 \
authentication-port=1812 called-id=”” comment=”” disabled=no domain=\
telstra.com realm=”” secret=1234 service=hotspot timeout=500ms
add accounting-backup=no accounting-port=1813 address=127.0.0.2 \
authentication-port=1812 called-id=”” comment=”” disabled=no domain=\
telstra.com realm=”” secret=123456 service=hotspot timeout=500ms
/radius incoming
set accept=yes port=3799
so now 127.0.0.1 is working with radius on subscriber1
and 127.0.0.2 is not working with radius on subscriber2. but
if i disable one of the profile service from the radius like if i disable
127.0.0.1 shared key 1234
add accounting-backup=no accounting-port=1813 address=127.0.0.1 \
authentication-port=1812 called-id=”” comment=”” disabled=yes domain=\
telstra.com realm=”” secret=1234 service=hotspot timeout=500ms
then another radius which is (127.0.0.2 shared key 123456) automatically working fine
and if i again disable another service which is 127.0.0.2 shared 123456
so then 127.0.0.1 shared 1234 will worked again and 127.0.0.2 will stop working
so i need to both working with each other is that possible.? i know it is possible because one of my freind is done that but i just know that he done that by ip address not with loop back addresses.
and i also tried with the ip address are such as add router1 192.168.1.10 shared= 1234
add router2 192.168.2.10 share= 123456
add router3 192.168.3.10 shared= 1001
only one router is working with the radius. i need to add multiple routers on one radius machine and on one usermanager with multiple subscriber with permission owner because in that case the subscriber will not interfere with another subscribers users and his passwords and limit packages.Is that possible in router os 3.22 version.?
please kindly help me in that. lot of thanks in advance.
LikeLike
Comment by waqas hussain — December 31, 2011 @ 1:07 PM
Post your complete Query at forum.mikrotik.com and you will get some good replies over there.
You can add multiple routers in user manager and bind them with appropriate subscribers.
Any how You don’t need to add multiple radius to create multiple Subscribers
Just create subscribers and assign them appropriate permissions so that they can create/delete only there users, they will not interfere with other subscribers users.
Just use single radius and assign proper permissions.
I can’t comment on cracked versions.
LikeLike
Comment by Pinochio~:) — December 31, 2011 @ 1:31 PM
please kindly tellme how can i do this? plz kindly in code or details. plz and i also contacted many forums but they didn’t help me in that because they don’t want to share skills.
Post your complete Query at forum.mikrotik.com and you will get some good replies over there.
You can add multiple routers in user manager and bind them with appropriate subscribers.
Any how You don’t need to add multiple radius to create multiple Subscribers
Just create subscribers and assign them appropriate permissions so that they can create/delete only there users, they will not interfere with other subscribers users.
Just use single radius and assign proper permissions.
LikeLike
Comment by waqas hussain — January 2, 2012 @ 2:09 PM
Dear I have provided you the logic and solution, I can’t help you with step by step, You have to find the way using google. Just use the logic I told u,
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — January 3, 2012 @ 11:55 AM
How can someone setup usermanager and hotspot on the same machine, I have rb1200 with usermanager version 5.12 installed. I want to configure the settings, but when i try to use or configure.
here is my configurations
/radius add service=hotspot address=127.0.0.1 secret=123456
/ ip hotspot profile set hsprof1 use-radius=yes
/ tool user-manager customer add login=”immaculate” password=”dunga” permissions=owner
/ tool user-manager router add subscriber=immaculate ip-address=127.0.0.1 shared-secret=123456
But it seesm not to work, what is the best configuration for it and what did i do wrong in this.
Thanks
LikeLike
Comment by Sapanda — February 18, 2012 @ 10:51 PM
you forgot to add it in ppp section. 🙂
Get some basic ideas from
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — February 19, 2012 @ 7:41 PM
hi, i’m beginner and i have try to setup the template for my voucher, but that doesn’t work.
LikeLike
Comment by lex — February 28, 2012 @ 6:42 PM
sir user-manager not found in tools . i am using rb450g v5.17
LikeLike
Comment by Zeeshan — June 18, 2012 @ 8:34 AM
Download it from mikrotik web site, then upload the User Manager package to the router’s file section, and reboot the router.
Use the below guide.
http://wiki.mikrotik.com/wiki/Upgrading_RouterOS
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — June 18, 2012 @ 8:39 AM
nice work you doing Allah will surely bless you i used your template and it works fine my only problem is that i can not get my logo and background to display i realize that you have used a web server for yours but i do not have a web server how can i get mine to display is there any other place i can store them becuse i tried to store them under the files on the mikrotik RB 1100 ver 5.18 but didn’t work any ideas my brother will be highly appreciated
LikeLike
Comment by Hadlee — June 30, 2012 @ 11:12 PM
how to change the background of RM prepaid card and to insert my company logo on it?
LikeLike
Comment by happy — February 28, 2013 @ 5:36 PM
To add logo in prepaid cards:
You can modify its base image at radiusmanager/lang/english/card folder.
look for classic_bg.png and refill_bg.png
Please read
It have all the info to modify card logo, text, and other modifications. Read it fully and you will find more useful info regarding DMASOFTLAB
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — March 1, 2013 @ 10:52 AM
sir tell me about this thing mikrotik AutomatedBilling
LikeLike
Comment by ramanji — January 7, 2014 @ 12:41 AM
i used your template and it works fine buy the problem is that i can not get my logo and background to display. i realize that you have used a web server for yours but i do not have a web server. how can i get mine to display is there any other place i can store them. becuse i tried to store them under the files on the mikrotik but didn’t work. any ideas??
LikeLike
Comment by Kafi — August 31, 2014 @ 12:24 AM
Very thanks for your work
LikeLike
Comment by Valentino — March 19, 2016 @ 10:23 PM