Community discussions

 
kraker
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 88
Joined: Thu Aug 02, 2012 9:34 am

Hotspot login with qr code....

Sun Oct 13, 2013 9:56 pm

Hi,

We want to serv free internet service some locations.Anyone has an experience about qr code auto login on mikrotik?
 
User avatar
boen_robot
Forum Guru
Forum Guru
Posts: 2411
Joined: Thu Aug 31, 2006 4:43 pm
Location: europe://Bulgaria/Plovdiv

Re: Hotspot login with qr code....

Sun Oct 13, 2013 10:13 pm

How exactly do you imagine the QR code being part of this? Could you elaborate that a little?
PEAR2_Net_RouterOS(1.0.0b6) - My API client in PHP
(Rate my posts? If you want... no pressure...)
 
kraker
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 88
Joined: Thu Aug 02, 2012 9:34 am

Re: Hotspot login with qr code....

Mon Oct 14, 2013 9:13 am

 
User avatar
boen_robot
Forum Guru
Forum Guru
Posts: 2411
Joined: Thu Aug 31, 2006 4:43 pm
Location: europe://Bulgaria/Plovdiv

Re: Hotspot login with qr code....

Mon Oct 14, 2013 2:30 pm

Ah. I get it.

Well, you simply need to generate a QR code containing the appropriate login URL, which would be in the form
http://{$hotspotHostname}/login?username={$username}&password={$password}
How exactly do you generate this QR code depends on the rest of your setup.

In the video above for example, it seems like both the number pad and the printer were (wirelessly, of course: show offs...) connected to a computer off screen, where a program of some sort was receiving input from the number pad, and was responsible for generating the QR code that is then printed along with the actual site, username and password (for those who don't have QR code scanners on their phones/computers).

Which program to choose exactly is somewhat subjective. There's a free python generator, but not only does that mean that you'll need the Python runtime, it also means you'll need an additional program to then take that image, and combine it with a text. Oh, and that same program should probably be responsible for generating the random username and password to begin with. I'm unaware of any "off the shelf" solutions to THAT part.
PEAR2_Net_RouterOS(1.0.0b6) - My API client in PHP
(Rate my posts? If you want... no pressure...)
 
User avatar
kangndo
just joined
Posts: 17
Joined: Mon Dec 09, 2013 12:59 pm
Contact:

Re: Hotspot login with qr code....

Thu Jan 01, 2015 9:32 am

I use userman for generate the QR
Try this, http://kangndo.com/2015/01/01/userman-t ... uto-login/
Regards, Kangndo

Who is online

Users browsing this forum: No registered users and 80 guests