Community discussions

MikroTik App
 
CastorTroy
newbie
Topic Author
Posts: 28
Joined: Thu Jul 31, 2008 7:52 pm

Need help with setting up hotspot.

Thu Jul 31, 2008 8:19 pm

I'm attempting to setup a wireless hotspot. I've followed the hotspot tutorial, but I can't seem to get it to work.

ETHER1 is connected to WAN, ETHER2 is to 3com wireless access point. ETHER2 has two IP's assigned to it; a 172.16 IP for the users, and 10. for the 3com management.

Wireless users are able to connect and grab an IP, and if I do not have a hotspot setup, are able to browse the internet with no problems.

The problem comes when I setup the hotspot.

I followed the hotspot setup (local address of network: 172.16.0.1/24, masquerade, correct address pool, no cert, no smtp, dns set to 172.16.0.1, dns name wifitest).

Once I have an IP, I'm not able to go anywhere. If I try to go to a web page, I get redirected to the login page, but it won't load. When I try to ping 172.16.0.1 (gateway) I get the following response: Reply from 172.16.0.1: Destination net unreachable.

I added 172.16.0.1 to the walled garden list, and am able to ping it, but I still can't get to the login page.

Obviously I've configured something wrong, or missed a step, and it's probably a stupid mistake; but nonetheless, I can't find it. Any help is appreciated.

Thanks!

Ben
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Need help with setting up hotspot.

Fri Aug 01, 2008 1:20 pm

If you are able to surf the net without the hotspot, I will presume it is the hotspot setup.
Before I set up a hotspot, I do:
ip address (interface assignments)
/ip route (gateway)
/ip dns (primary, secondary, and allow-remote-requests=yes)
/ip dhcp-server setup
/system ntp client (sets correct time after a reboot)
/system clock (set time-zone-name)
/ip firewall nat (set masquerade)
/ip firewall filter (set rules)

I use the CLI setup.
/ip hotspot setup
With all the previous stuff done, the entries should all have the correct values for the hotspot setup in the CLI, and it is "enter,enter,enter", except for the masquerade and certificate.

Unless 172.16.0.1 is a "real" dns server, I would use your ISP's dns server IPs for the hotspot dns.
 
User avatar
omega-00
Forum Guru
Forum Guru
Posts: 1167
Joined: Sat Jun 06, 2009 4:54 am
Location: Australia
Contact:

Re: Need help with setting up hotspot.

Fri Aug 01, 2008 2:48 pm

To add to this, ensure you are using either a FQDN or something longer than wifitest, try wifitest.net.me or similar.