Community discussions

MikroTik App
 
namo
Long time Member
Long time Member
Topic Author
Posts: 530
Joined: Sat Oct 03, 2009 4:44 pm

how to link PPPoE and hotspot

Mon Sep 06, 2010 12:52 pm

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.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7188
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: how to link PPPoE and hotspot

Mon Sep 06, 2010 12:59 pm

It is not possible with internal user database.. most likely it is possible with RADIUS server.
 
namo
Long time Member
Long time Member
Topic Author
Posts: 530
Joined: Sat Oct 03, 2009 4:44 pm

Re: how to link PPPoE and hotspot

Mon Sep 06, 2010 3:43 pm

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?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7188
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: how to link PPPoE and hotspot

Mon Sep 06, 2010 3:44 pm

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.
 
namo
Long time Member
Long time Member
Topic Author
Posts: 530
Joined: Sat Oct 03, 2009 4:44 pm

Re: how to link PPPoE and hotspot

Mon Sep 06, 2010 3:51 pm

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?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7188
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: how to link PPPoE and hotspot

Mon Sep 06, 2010 4:33 pm

Yes, freeRadius is used by a lot of customers.
http://freeradius.org/
 
namo
Long time Member
Long time Member
Topic Author
Posts: 530
Joined: Sat Oct 03, 2009 4:44 pm

Re: how to link PPPoE and hotspot

Mon Sep 06, 2010 4:41 pm

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
 
namo
Long time Member
Long time Member
Topic Author
Posts: 530
Joined: Sat Oct 03, 2009 4:44 pm

Re: how to link PPPoE and hotspot

Mon Sep 06, 2010 4:57 pm

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

Who is online

Users browsing this forum: acfreema, alozanox, MarecCitron, smirgo and 34 guests