Community discussions

MikroTik App
 
shrick
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 85
Joined: Fri Sep 05, 2008 2:15 pm

HotSpot Shared Account

Mon Mar 30, 2009 9:26 am

Hi There

I'm running a small WISP where users gets access via a HotSpot with MAC athentication. I have one user that needs internet access at his business and his home, but he want to pay for only one account a month. Thus, a CPE is installed at his house and business and he has for example one 5GB account, shared between the business and his home.

Is it possible to do this via a HotSpot?

Would appreciate any advice.

Thx
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26380
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: HotSpot Shared Account

Mon Mar 30, 2009 10:55 am

you would need to use a RADIUS server to store all users in one location, and then point each Hotspot server to the same RADIUS. This way, the same username with the same limits will work from different locations/servers.
 
shrick
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 85
Joined: Fri Sep 05, 2008 2:15 pm

Re: HotSpot Shared Account

Mon Mar 30, 2009 11:02 am

The Radius setup is in order. The problem is the IP addresses and MAC authentication. I'm going to have 2 MAC addresses, thus immediately I'm in need of 2 accounts? I cannot use the same MAC address for both CPE's?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26380
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: HotSpot Shared Account

Mon Mar 30, 2009 11:05 am

sorry, I missed that part. In this case the only solution is to use a username based authentication.
 
shrick
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 85
Joined: Fri Sep 05, 2008 2:15 pm

Re: HotSpot Shared Account

Mon Mar 30, 2009 11:16 am

How would I do user name based authentication? With PPPOE? I'm using a routed network. Eg, the base station IP is 10.0.2.1 and the CPE IP is 10.0.2.100 (currently static). Then there are a few more network hops to the ADSL modem... How would I implement PPPOE in this scenario?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26380
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: HotSpot Shared Account

Mon Mar 30, 2009 11:20 am

no, you already have hotspot. how did you set that up?
 
shrick
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 85
Joined: Fri Sep 05, 2008 2:15 pm

Re: HotSpot Shared Account

Mon Mar 30, 2009 11:35 am

MAC authentication via User Manager Radius.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26380
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: HotSpot Shared Account

Mon Mar 30, 2009 11:55 am

MAC authentication via User Manager Radius.
the user doesn't have any login page shown to him? you can also make a login page that supports MAC authentication, and username authentication at the same time.

it will work like this:

if you enable mac authentication in the hotspot server profile, server will check the list for MAC addresses. if mac address is in the list, user will be automatically accepted. if not - login page will be shown.
 
shrick
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 85
Joined: Fri Sep 05, 2008 2:15 pm

Re: HotSpot Shared Account

Mon Mar 30, 2009 12:21 pm

Great, thanks. Is that login page editable?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26380
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: HotSpot Shared Account

Mon Mar 30, 2009 12:34 pm

of course, just download it via FTP and edit, then upload back
 
shrick
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 85
Joined: Fri Sep 05, 2008 2:15 pm

Re: HotSpot Shared Account

Mon Mar 30, 2009 1:10 pm

K, smart. Thx.
 
shrick
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 85
Joined: Fri Sep 05, 2008 2:15 pm

Re: HotSpot Shared Account

Mon Mar 30, 2009 1:20 pm

Hi Normis

Which html page must I modify?

Thx
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26380
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: HotSpot Shared Account

Mon Mar 30, 2009 1:23 pm

depending on what you want to change. login.html ?
you can read here: http://www.mikrotik.com/testdocs/ros/3. ... .php#.15.1

Who is online

Users browsing this forum: jprietove, Kanzler, kosyot, Mr47, VMX and 132 guests