Page 1 of 1

how to link PPPoE and hotspot

Posted: Mon Sep 06, 2010 12:52 pm
by namo
I have setup both PPPoE and Hotspot on the same interface successfully.

I have the same user accounts in both Hotspot and PPP. Now I want to link those accounts such as if a person login using PPPoE, he cannot login using hotspot somewhere else; and the opposite is true.

Re: how to link PPPoE and hotspot

Posted: Mon Sep 06, 2010 12:59 pm
by mrz
It is not possible with internal user database.. most likely it is possible with RADIUS server.

Re: how to link PPPoE and hotspot

Posted: Mon Sep 06, 2010 3:43 pm
by namo
It is not possible with internal user database.. most likely it is possible with RADIUS server.
I tryed user manager and create an account but I can login with that account on one computer with PPPoE and hotspot in another computer. Alsom I cannot move radius user to different profile in hotspot. In hotspot, I move users to different profile that has reminder Ads to pay money.

Is there a way that when a user login by hotspot his PPPoE account is disabled, and when logout, it is enable again?

the same thing about PPPoE, when a user login by PPPoE his hotspot account is disabled, and when logout, it is enable again?

Will a script like this(if it is possible) that run every 1 or 2 seconds put a high load on the server?

Re: how to link PPPoE and hotspot

Posted: Mon Sep 06, 2010 3:44 pm
by mrz
As far as I know with user manager you can't do it either.
Probably with free radius or other radius server it is possible.

Re: how to link PPPoE and hotspot

Posted: Mon Sep 06, 2010 3:51 pm
by namo
As far as I know with user manager you can't do it either.
Probably with free radius or other radius server it is possible.
Are you taking about different server than the Mikrotik?

Re: how to link PPPoE and hotspot

Posted: Mon Sep 06, 2010 4:33 pm
by mrz
Yes, freeRadius is used by a lot of customers.
http://freeradius.org/

Re: how to link PPPoE and hotspot

Posted: Mon Sep 06, 2010 4:41 pm
by namo
Yes, freeRadius is used by a lot of customers.
http://freeradius.org/
My Mikrotik is on intel PC. Is this installed in another machine as OS or installed in a machine with linux. It seems complex

Re: how to link PPPoE and hotspot

Posted: Mon Sep 06, 2010 4:57 pm
by namo
HotSpot can answer, when PPPoE fails. However when PPPoE authentication is successful, PPPoe user should login to HotSpot.
Is possible that when user login using PPPoE, he is required to login using hotspot too. But Can also login to hotspot without PPPoE?

In Case , the user login using PPPoE, will netcut work?(some one set the same mac and ip of authorized user)

edit:
login to hotspot, mean it is possible to share account after getting the Mac and IP from netcut. It looks like that I have to activate hotspot or pppoe for each user; not both.


It would be nice if a new package is added in RouterOS called PPP-Hotspot which allow user to login with either method but not both