Hotspot - email - daily access

Hi All,

I’m quite new to Mikrotik. I got a RB2011UiAS-2HnD-IN.

As I’ve read the Mikrotik is quite powerful I would like to use the Mikrotik as the first firewall with hotspot in my network. WAN enters Mikrotik gives:

  • bridged WiFi - 2x LAN open hotspot network
  • gigabit ethernet for private network

I’ve setup the Hotspot and workes. But would it be possible to setup the hotspot in such a way that they:

  • login with email
  • Mikrotik maps MAC address to the client.
  • approves 30 minute free internet at limited rate.
  • resets after 24hr. So 30 minute max each day.

I’ve found the login page. Can change it to generate a free login using a fixed user/password and user leaving e-mail address. Still need to write te page that actually stores that e-mail address, but ok. I’m familiar with php, should be not that big of a deal.

But when using a fixed user you can’t use the timeout as it will block anyone trying to log in. So I think you will need te create a new user (on the fly), that part I need to figure out, but not only any user, a user locked to that device (phone/tablet/laptop).

Before I try to figure it all out, just posting this message to hear if anyone more accustomed to Mikrotek could let me know if this is mission impossible or could guide me in the right direction.

Thanks !