Community discussions

MikroTik App
 
User avatar
Coins
just joined
Topic Author
Posts: 17
Joined: Wed Dec 30, 2009 2:54 pm

Can i use Hotspot when my clients are on static IP

Wed Aug 25, 2010 8:14 pm

Can the hotspot work efficeintly when the CPEs are on static IPs. Am recently having issues with the mikrotik hotspot i setup. Once i enable the hotspot nobody will be able to browse until it's disconnected again. Pls I need a guide to sucessfully customize the hotspot.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Can i use Hotspot when my clients are on static IP

Wed Aug 25, 2010 8:29 pm

It works out of the box, there is no customization required for static IPs. Your setup is broken somehow. Post your configuration for input.
 
User avatar
Coins
just joined
Topic Author
Posts: 17
Joined: Wed Dec 30, 2009 2:54 pm

Re: Can i use Hotspot when my clients are on static IP

Wed Aug 25, 2010 8:46 pm

It works out of the box, there is no customization required for static IPs. Your setup is broken somehow. Post your configuration for input.
I don't seem to have done anything strange. I followed the guide given by the aradial to setup the hotspot with the Radius server. I have tried this several times and it gets clashing each time. I even have to reset the html to wipe clean any misconfig but the issue still exists.

Can you Help me out with the normal configuration and i can give a shot. Also Can you assist me in configuring my mikrotik to work perfectly with my Radius server(Aradial)? we can arrange for a live chat if you wish. thanks
 
User avatar
birendersinghbudhwar
Member Candidate
Member Candidate
Posts: 117
Joined: Thu Oct 29, 2009 5:15 am
Location: Rohtak, HARYANA, INDIA
Contact:

Re: Can i use Hotspot when my clients are on static IP

Wed Aug 25, 2010 8:53 pm

you can run set the IP as static and also add in the IP & max address in IP binding if you dont want to give then a login screen.

its very simple.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Can i use Hotspot when my clients are on static IP

Wed Aug 25, 2010 10:52 pm

Ditch the Aradial (whatever that is) documentation, reset the router to factory defaults ("/system reset-configuration") and follow the instructions on how to make a Hotspot from the wiki (for example: http://wiki.mikrotik.com/wiki/How_to_ma ... ot_gateway). Test it and make sure it works. Modify your HTML as required, set it all up without RADIUS. RADIUS is trivial to add later.

Follow the "Hotspot Configuration" section in http://wiki.mikrotik.com/wiki/User_Mana ... ot_Example (ignore everything about User Manager) to hook your functional Hotspot into RADIUS as the last piece.
 
User avatar
Coins
just joined
Topic Author
Posts: 17
Joined: Wed Dec 30, 2009 2:54 pm

Re: Can i use Hotspot when my clients are on static IP

Thu Aug 26, 2010 12:15 pm

Ditch the Aradial (whatever that is) documentation, reset the router to factory defaults ("/system reset-configuration") and follow the instructions on how to make a Hotspot from the wiki (for example: http://wiki.mikrotik.com/wiki/How_to_ma ... ot_gateway). Test it and make sure it works. Modify your HTML as required, set it all up without RADIUS. RADIUS is trivial to add later.

Follow the "Hotspot Configuration" section in http://wiki.mikrotik.com/wiki/User_Mana ... ot_Example (ignore everything about User Manager) to hook your functional Hotspot into RADIUS as the last piece.

Is this setting the same when am using an external AP for the configuration. My network is as follows;
My external AP connects through the ether4 of the router while the ether1 is the public interface. Can we work on this real time so that you can put me through step by step. I have been on this for days. This is my email; bryancoins@yahoo.co.uk
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Can i use Hotspot when my clients are on static IP

Thu Aug 26, 2010 4:40 pm

I don't do real time support. If you want real time support you might get lucky on the forums, but really you should be paying a consultant. This forum is for community support.

It doesn't matter how the data arrives on the Hotspot as long as it arrives on layer 2. All my Hotspots run external (non-MT) APs.
 
User avatar
Coins
just joined
Topic Author
Posts: 17
Joined: Wed Dec 30, 2009 2:54 pm

Re: Can i use Hotspot when my clients are on static IP

Thu Aug 26, 2010 5:01 pm

I don't do real time support. If you want real time support you might get lucky on the forums, but really you should be paying a consultant. This forum is for community support.

It doesn't matter how the data arrives on the Hotspot as long as it arrives on layer 2. All my Hotspots run external (non-MT) APs.
thanks for your support. Can you just put me through assuming i know nothing about seeting a hotspot. i want to get your guide from the scratch. Thanks so much you have been helpful.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Can i use Hotspot when my clients are on static IP

Thu Aug 26, 2010 5:19 pm

http://wiki.mikrotik.com/wiki/Manual:Co ... tion_Reset
Reset all configuration
http://wiki.mikrotik.com/wiki/Manual:IP/Address#Example
Apply IP addresses to the outside interface (interface that faces the Internet)
http://wiki.mikrotik.com/wiki/Manual:IP ... ault_route
Set a default route ("/ip route add dst-address=0.0.0.0/0 gateway=IP.OF.ISPFACING.GATEWAY")
http://wiki.mikrotik.com/wiki/Manual:IP ... spot_setup
Run the Hotspot setup wizard.

Ensure clients arrive at the Hotspot interface bridged on layer 2 (they get their IP address from the DHCP server on the Hotspot interface and have it as their gateway, there are no other routers in between).

That's it.
 
User avatar
Coins
just joined
Topic Author
Posts: 17
Joined: Wed Dec 30, 2009 2:54 pm

Re: Can i use Hotspot when my clients are on static IP

Thu Aug 26, 2010 10:07 pm

http://wiki.mikrotik.com/wiki/Manual:Co ... tion_Reset
Reset all configuration
http://wiki.mikrotik.com/wiki/Manual:IP/Address#Example
Apply IP addresses to the outside interface (interface that faces the Internet)
http://wiki.mikrotik.com/wiki/Manual:IP ... ault_route
Set a default route ("/ip route add dst-address=0.0.0.0/0 gateway=IP.OF.ISPFACING.GATEWAY")
http://wiki.mikrotik.com/wiki/Manual:IP ... spot_setup
Run the Hotspot setup wizard.

Ensure clients arrive at the Hotspot interface bridged on layer 2 (they get their IP address from the DHCP server on the Hotspot interface and have it as their gateway, there are no other routers in between).

That's it.
Thanks so much it worked this time. I was able to see the login page and sign with already created user. it's beautiful. Can you help me to link it properly with my Radius server. Thanks. I can't waut to give you karma on this.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Can i use Hotspot when my clients are on static IP

Thu Aug 26, 2010 10:23 pm

Now create a link to your RADIUS server:
 /radius add service=hotspot address=a.b.c.d secret=TOPSECRET
substituting the RADIUS server IP address and shared secret as required. Ensure you set up the public IP address of the Hotspot router as a NAS client on the RADIUS server, configuring the same shared secret.

Then edit the Hotspot Server Profile and on the RADIUS tab select "Use RADIUS" and fill out the appropriate attributes (though none are required for this to work). That's it.
 
User avatar
Coins
just joined
Topic Author
Posts: 17
Joined: Wed Dec 30, 2009 2:54 pm

Re: Can i use Hotspot when my clients are on static IP

Fri Aug 27, 2010 9:02 am

Now create a link to your RADIUS server:
 /radius add service=hotspot address=a.b.c.d secret=TOPSECRET
substituting the RADIUS server IP address and shared secret as required. Ensure you set up the public IP address of the Hotspot router as a NAS client on the RADIUS server, configuring the same shared secret.

Then edit the Hotspot Server Profile and on the RADIUS tab select "Use RADIUS" and fill out the appropriate attributes (though none are required for this to work). That's it.
I configured as suggested but it still logged in using the mikrotik hotspot page when i was expecting to login via the server portal page. The 'radius server> monitor 0' terminal command returned null value. I checked the radius server it was not even seeing any communication with the NAS. I configured every parameter in the Radius server as guided by the manual. I can't tell what's wrong this time.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Can i use Hotspot when my clients are on static IP

Fri Aug 27, 2010 3:02 pm

Did you use credentials that exist locally? The local database is always checked first.

Post your configuration - "/ip hotspot export" and "/radius export". Also add logging for "radius" and either log to echo or memory and see what the logs say.