Community discussions

MikroTik App
 
AndG
just joined
Topic Author
Posts: 5
Joined: Sun Sep 23, 2018 12:18 pm

Problems setting up hAP lite as wireless AP

Sun Sep 23, 2018 12:39 pm

What I originally set out to do was using a MikroTik hAP lite as a wireless AP, i.e. it should connect to an existing WLAN and use this connection as a direct internet connection (as if it were connected to the other router via ethernet) and then broadcast its own WLAN with a unique SSID. As a test, I first connected the MikroTik router to the old router via ethernet and set up the MikroTik router as an AP. This worked fine, I could connect to the new WLAN with a PC and had internet access. I could also access the router config via the router's default IP 192.168.88.1.

Then, after resetting the router I attempted to replace the ethernet connection with a wireless connection and immediately ran into a bunch of problems with this. First, I tried setting up the MikroTik router as a simple wireless repeater:
  1. Connect PC to router via ethernet (192.168.88.1)
  2. Quick Set -> CPE
  3. Keep bridge mode and default config and connect to existing WLAN
Result: PC has internet connection. Ipconfig gives default gateway as 192.168.42.1 with an according IPv4 address, which is how the existing WLAN is set up. However, the MikroTik router does not broadcast any WLAN, i.e. it's not a wireless repeater, merely an ethernet-only AP. Also, I cannot access the MikroTik router via 192.168.88.1, and 192.168.42.1 of course gives me the old router. So I cannot make any further changes to the config, and the router needs to be reset.

I didn't understand why I couldn't connect to the router via its default IP address, so after resetting I tried something else:
  1. Connect PC to router via ethernet or default WLAN (192.168.88.1)
  2. WebFig -> IP -> Addresses -> default config (ether2-master)
  3. Change "Address" from 192.168.88.1/24 to 192.168.96.1/24 and "Network" from 192.168.88.0 to 192.168.96.0
Result: Can still connect to the router network via ethernet or WiFi, but cannot access router via either 192.168.88.1 or 192.168.96.1. Ipconfig shows DHCP and DNS servers as 192.168.96.1, but default gateway as 192.168.88.1 and IPv4 address as 192.168.88.253. Reconnecting to the network or power cycling the router makes no difference; router can't be accessed and needs to be reset.

What am I doing wrong?
Last edited by AndG on Wed Sep 26, 2018 6:11 pm, edited 1 time in total.
 
Samot
Member Candidate
Member Candidate
Posts: 113
Joined: Sat Nov 25, 2017 10:01 pm

Re: Problems setting up hAP lite as wireless AP

Sun Sep 23, 2018 5:04 pm

Change "Address" from 192.168.88.1/24 to 192.168.96.1/24 and "Network" from 192.168.88.0 to 192.168.96.0
OK this changed the IP on the Ethernet interface to 192.168.88.1. So let's see what steps you missed after that.

1) Updated the DHCP Server by going into IP --> DHCP Server --> Network
------ Changed the default Address from 192.168.88.0/24 to 192.168.96.0/24
------ Changed the gateway from 192.168.88.1 to 192.168.96.1 (or whatever IP you want as the gateway)

2) Updated the DHCP Pool by going into IP --> Pool --> IP Pools
------ Changed the default dhcp pool from 192.168.88.10-192.168.88.254 to whatever pool you want to use for the 192.168.96.0/24

3) Confirmed the proper Routes were made in IP --> Routes for 192.168.96.0/24 (this is mainly for Internet access)


Right now it sounds like you have an incomplete change over from the one subnet to the other. So it would seem your DHCP server is still handing out the pool from the default range and is using the old gateway. You're going to need to get into the router via Winbox connecting via the MAC instead of IP to login and then correct this.
 
AndG
just joined
Topic Author
Posts: 5
Joined: Sun Sep 23, 2018 12:18 pm

Re: Problems setting up hAP lite as wireless AP

Mon Sep 24, 2018 6:42 am

Thanks, I didn't quite realise I had to click "OK" rather than "Apply" when changing IP configuration. After applying all changes at once it works now.

I still need help with my original problem though. My setup currently looks like this:

  • I have a router from my ISP which is hooked up to the internet, but broadcasts no WLAN. Let's call it RTX.
  • I have a MikroTik hAP lite (let's call it MK0) which is connected to RTX via ethernet. It is set up as a WISP AP and broadcasts a WLAN.
  • I have another hAP lite (let's call this one MK1) which is also connected to RTX via ethernet. It is set up identically to MK0 and broadcasts its own WLAN with a unique SSID.

So far, this all works. I can connect a PC via WiFi (or ethernet) to either MK0 or MK1 and get an internet connection that way. Now, I want to replace the ethernet connection between MK1 and RTX with a wireless connection between MK1 and MK0, with MK1 still broadcasting its own SSID rather than being a repeater for MK0.

How do I achieve this? Ideally in WebFig rather than using Winbox or the terminal. I see there's a "setup repeater" option there but this doesn't seem to work for what i want to do.

Who is online

Users browsing this forum: maigonis, Majestic-12 [Bot] and 63 guests