Community discussions

MikroTik App
 
nicmo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 69
Joined: Sun Oct 03, 2010 11:36 am

Hotspot

Thu Oct 21, 2010 5:01 am

I run the hotspot setup but it kills the communication each time i try to do it, i can not ping the RB ip, i of to login by mac with winbox.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Hotspot

Thu Oct 21, 2010 5:44 am

Then you're somehow setting it up wrong.

Post a network diagram, how you want to set it up (interfaces, intended IP addresses, etc), the version and hardware you are using, the configuration applied before you run the wizard (WAN and DNS have to be set up before the Hotspot can work), and finally the answers you provide the Hotspot wizard.
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Hotspot

Thu Oct 21, 2010 12:51 pm

Just a thought...Are you setting up the hotspot on the same interface that you are communicating with the router? If so, unless you add firewall rules, you will need to login to the hotspot before continuing. Or use another interface to set up the hotspot.
 
nicmo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 69
Joined: Sun Oct 03, 2010 11:36 am

Re: Hotspot

Sat Oct 23, 2010 5:35 am

Yes, I was using the same interface, can i use 2 different ip network like 192.168.1.1 and 192.168.2.1, one for the RB an the other for hotspot?
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Hotspot

Sat Oct 23, 2010 12:44 pm

Why not just login? When you finish the basic setup on the hotspot, and you get the disconnect message, go to your browser and try to go to Google or Yahoo. When the login page comes up, use the user and password you entered as the default user during the setup. Once logged in, you can connect to the router again with Winbox, telnet or ssh, and continue with the setup.
 
nicmo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 69
Joined: Sun Oct 03, 2010 11:36 am

Re: Hotspot

Sat Oct 23, 2010 8:07 pm

thanks, I got the login page but after the I login, i am having a problem getting to the internet.
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Hotspot

Sat Oct 23, 2010 8:10 pm

Can you get to the internet if you disable the hotspot? If not, you might check the default route. Insure you have one. Replace the xx's with your internet gateway.
/ip route
add gateway=xx.xx.xx.xx

ADD: If that is ok, insure "/ip dns" is set correctly. Both server ips and "allow-remote-requests=yes".

And if that is ok, insure you have a masquerade or srcnat.
/ip firewall nat
add chain=srcnat action=masquerade out-interface=ether1

If ether1 is not your wan interface, change it to the appropriate interface.
 
nicmo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 69
Joined: Sun Oct 03, 2010 11:36 am

Re: Hotspot

Sun Oct 24, 2010 9:53 pm

I get the internet when i disable the hotspot it goe to the webox page. when delete all and start over i do a DHCP setup i got ip address and internet nothing is going my way for the hotspot.
I have 3 devices My internet router, switch and RB. the internet router gateway is 192.168.1.1 RB is 192.168.1.2 the hotspot is on this ip.
 
nicmo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 69
Joined: Sun Oct 03, 2010 11:36 am

Re: Hotspot

Sun Oct 24, 2010 9:53 pm

I get the internet when i disable the hotspot it goe to the webox page. when delete all and start over i do a DHCP setup i got ip address and internet nothing is going my way for the hotspot.
I have 3 devices My internet router, switch and RB. the internet router gateway is 192.168.1.1 RB is 192.168.1.2 the hotspot is on this ip.
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Hotspot

Sun Oct 24, 2010 9:58 pm

I hope I understand. Your internet connection gateway is 192.168.1.1. Your router on the wan interface is 192.168.1.2. This is ether1?

You need to setup the hotspot on a localnet interface, like ether2. Use 192.168.2.1/24 for the ip/subnet. Set up a dhcp server and the hotspot on that interface.
 
nicmo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 69
Joined: Sun Oct 03, 2010 11:36 am

Re: Hotspot

Tue Nov 02, 2010 11:28 am

SurferTim, I am putting a pause on the hot spot for right now. I need your help on this setup. I have a rb 411AR and rb411. The 411ar is my AP and 411 is Station both with xr9, I can get the both to communicate but my problem is to get my pc to connect to the internet through the station, got ip from the internet modem. I can only ping with bridge interface in win box.

The i tried this settings with the on board wlan1 RB 411ar to connect to the modem wirelessly, it still doesnt go to the internet.
( My connections: Internet Modem>>wireless to RB411ar eth1 >> netgear switch>> PC )
ip/address:
address: 192.168.1.254/24
network: 192.168.1.0
broadcast: 192.168.1.255
interface: eth1

ip/pool
name: pool-ethn1
addresses: 192.168.1.1-192.168.1.253

ip/dhcp server
name: dhcp-eth1
interface: eth1
address pool: pool-eth1

dhcp server network:
address: 192.168.1.0/24
gateway: 192.168.1.254

ip/firewall NAT
chain: srcnat
src.address: 192.168.1.0/24
action: masquerade

ip/dhcp client:
add
interface: wlan1 (is bound )
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Hotspot

Tue Nov 02, 2010 12:00 pm

You should start another post for that topic. When you do, include setup for the RB411 also.