Community discussions

MikroTik App
 
Noobtest
just joined
Topic Author
Posts: 1
Joined: Wed Apr 12, 2023 3:26 pm

hAP lite behind router - not able to connect to Wi-Fi

Wed Apr 12, 2023 3:47 pm

Hi,

I'm a complete noob and I'm trying to setup MikroTik hAP behind my home router to have completely separate network.
My Home router is on 192.168.1.1
Router is connected to home router with 192.168.1.242 over ethernet cable
--
On MikroTik:
1. I need to have separate 2.4GHz and 5GHz networks and to be able to connect devices that can get IPs something like 192.168.88.10

With my limited knowledge I manage to:
- Setup wi-fi networks and to apply security profiles.
- Setup custom DNS and DHCP server

Issue:
When trying to connect with device to Wi-Fi on MikroTik router, status on device is "Connecting" for a while and than "Connection failed".

Questions:
What am I doing wrong?
Can you, please, help me with setting it up correctly.. Noob instructions are much appreciated..

Big thanks in advance.
--
Bellow are the logs from some command I found here on the forum:
[admin@MikroTik] > export compact
# apr/12/2023 14:44:07 by RouterOS 6.48
# software id = QV41-5EYQ
#
# model = RB952Ui-5ac2nD
# serial number = CC3E0C840B73
/interface bridge
add admin-mac=48:8F:5A:E4:01:84 auto-mac=no comment=defconf name=bridgeLocal
/interface list
add name=WAN
add name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=dynamic-keys supplicant-identity=MikroTik wpa-pre-shared-key=12345678 wpa2-pre-shared-key=12345678
add authentication-types=wpa2-psk mode=dynamic-keys name=sec-prof-24 supplicant-identity=MikroTik wpa2-pre-shared-key=12345678
add authentication-types=wpa2-psk mode=dynamic-keys name=sec-prof-5 supplicant-identity=MikroTik wpa2-pre-shared-key=87654321
/interface wireless
set [ find default-name=wlan2 ] band=5ghz-a/n/ac country=sweden disabled=no mode=ap-bridge name=wifi-5GHz security-profile=sec-prof-5 ssid=TRNPK wireless-protocol=802.11 wps-mode=disabled
set [ find default-name=wlan1 ] band=2ghz-b/g/n country=sweden disabled=no mode=ap-bridge name=wifi-24GHz security-profile=sec-prof-24 ssid=TPTECH wireless-protocol=802.11 wps-mode=disabled
/ip hotspot profile
set [ find default=yes ] html-directory=hotspot
/ip pool
add name=dhcp_pool0 ranges=192.168.88.10-192.168.88.30
add name=dhcp_pool1 ranges=192.168.88.10-192.168.88.30
/ip dhcp-server
add address-pool=dhcp_pool1 disabled=no interface=bridgeLocal lease-time=6h name=dhcp1 relay=192.168.88.1
/interface bridge port
add bridge=bridgeLocal comment=defconf disabled=yes interface=ether1
add bridge=bridgeLocal comment=defconf interface=ether2
add bridge=bridgeLocal comment=defconf interface=ether3
add bridge=bridgeLocal comment=defconf interface=ether4
add bridge=bridgeLocal comment=defconf interface=ether5
add bridge=bridgeLocal interface=wifi-5GHz
add bridge=bridgeLocal interface=wifi-24GHz
/interface list member
add interface=ether1 list=WAN
add interface=bridgeLocal list=LAN
/interface wireless cap
set bridge=bridgeLocal discovery-interfaces=bridgeLocal interfaces=wifi-24GHz,wifi-5GHz
/ip address
add address=192.168.88.0/24 interface=bridgeLocal network=192.168.88.0
/ip dhcp-client
add comment=defconf disabled=no interface=ether1
/ip dhcp-server network
add address=192.168.88.0/24 dns-server=192.168.88.1 gateway=192.168.88.0 netmask=24
/ip dns
set allow-remote-requests=yes servers=192.168.88.1
/system clock
set time-zone-name=Europe/Stockholm

Who is online

Users browsing this forum: anav, Google [Bot], infabo and 21 guests