Community discussions

MikroTik App
 
MistyView
just joined
Topic Author
Posts: 8
Joined: Sat Feb 04, 2023 3:19 pm

Cannot obtain IP address when trying to connect to hap ac2 set up as repeater

Sat Feb 04, 2023 3:35 pm

Hey all,
I set up my hAP ac2 as a wifi repeater. Has been working fine for months. I went away for 3 weeks and unplugged the repeating router due to loadsheding.
Im back now and when trying to connect to the repeated signal I keep getting "cannot obtain IP address" on all of my devices.

I have also changes to static IP and it connects but no internet...

Anyone have any ideas on what the issue is and how I can fix it?

Please note it took me almost a month and step by spet instruction videos to set it up in the first place.


Thank you in advance.
 
MistyView
just joined
Topic Author
Posts: 8
Joined: Sat Feb 04, 2023 3:19 pm

Re: Cannot obtain IP address when trying to connect to hap ac2 set up as repeater

Wed Feb 08, 2023 12:09 pm

So I've reset the hap ac2 and redone all the settings. Still won't work. Either I can connect and it has no internet connection or I cannot connect at all because "cannot obtain IP address" error...

Please please please someone help me fix this?
 
erlinden
Forum Guru
Forum Guru
Posts: 1900
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: Cannot obtain IP address when trying to connect to hap ac2 set up as repeater

Wed Feb 08, 2023 12:11 pm

Give us some more info:
/export file=anynameyoulike

Remove serial and public IP (and any other personal info) and post in between [ code] tags.
 
MistyView
just joined
Topic Author
Posts: 8
Joined: Sat Feb 04, 2023 3:19 pm

Re: Cannot obtain IP address when trying to connect to hap ac2 set up as repeater

Wed Feb 08, 2023 12:16 pm

Give us some more info:
/export file=anynameyoulike

Remove serial and public IP (and any other personal info) and post in between [ code] tags.

Can you please explain to me how to do this? Like step by step as I have very little clue what you're actually asking me to do 🤷‍♀️ sorry I'm pretty useless when it comes to this stuff. I can tell you exactly what I've done if that will help?
 
MistyView
just joined
Topic Author
Posts: 8
Joined: Sat Feb 04, 2023 3:19 pm

Re: Cannot obtain IP address when trying to connect to hap ac2 set up as repeater

Wed Feb 08, 2023 12:21 pm

So I'm using winbox to access the Mikrotik HAP ac2 router. How do I export from there?
 
erlinden
Forum Guru
Forum Guru
Posts: 1900
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: Cannot obtain IP address when trying to connect to hap ac2 set up as repeater

Wed Feb 08, 2023 12:25 pm

Sure MikroTik is your way to go?
  1. Open Terminal (it's in the menu)
  2. /export file=anynameyoulike (and press enter)
  3. Open Files
  4. Download the anynameyoulike.rsc file
  5. Open the file with your preferred edittor
  6. Copy the content and paste it here (don't forget to remove the personal information
 
MistyView
just joined
Topic Author
Posts: 8
Joined: Sat Feb 04, 2023 3:19 pm

Re: Cannot obtain IP address when trying to connect to hap ac2 set up as repeater

Wed Feb 08, 2023 1:19 pm

[# feb/07/2023 16:25:54 by RouterOS 6.45.8
# software id = MKZC-BL2N
#
# model = RBD52G-5HacD2HnD
# serial number =
/interface bridge
add name=bridge
/interface wireless
set [ find default-name=wlan2 ] mode=station-pseudobridge ssid=MikroTik
/interface list
add name=WAN
add name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
add authentication-types=wpa-psk,wpa2-psk mode=dynamic-keys name=profile1 \
supplicant-identity="" wpa-pre-shared-key=
wpa2-pre-shared-key=\
/interface wireless
set [ find default-name=wlan1 ] allow-sharedkey=yes band=2ghz-b/g/n \
channel-width=20/40mhz-eC country="south africa" disabled=no frequency=\
2432 mode=station-pseudobridge security-profile=profile1 ssid=\
Removed
add disabled=no keepalive-frames=disabled mac-address=4A:8F:5A:54:56:B5 \
master-interface=wlan1 multicast-buffering=disabled name=wlan3 \
security-profile=profile1 ssid=removed wds-cost-range=0 \
wds-default-cost=0 wps-mode=disabled
/interface bridge port
add bridge=bridge interface=wlan3
add bridge=bridge interface=wlan1
add bridge=bridge interface=ether1
add bridge=bridge interface=ether2
add bridge=bridge interface=ether3
add bridge=bridge interface=ether4
add bridge=bridge interface=ether5
add bridge=bridge interface=wlan2
/ip neighbor discovery-settings
set discover-interface-list=all
/ip settings
set accept-redirects=yes accept-source-route=yes
/interface list member
add interface=wlan2 list=WAN
add interface=ether1 list=LAN
add interface=ether2 list=LAN
add interface=ether3 list=LAN
add interface=ether4 list=LAN
add interface=ether5 list=LAN
add interface=wlan1 list=LAN
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=bridge
/system clock
set time-zone-name=Africa/Johannesburg
/system routerboard settings
set auto-upgrade=yes boot-protocol=dhcp ]


Okay. This is what I've got
 
erlinden
Forum Guru
Forum Guru
Posts: 1900
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: Cannot obtain IP address when trying to connect to hap ac2 set up as repeater  [SOLVED]

Thu Feb 09, 2023 9:21 am

Is your MikroTik wirelessly connected at all?
Is your security settings correct (WPA AND WPA2)?
Is the SSID correct?
Are you sure you can connect wirelessly on the 5GHz band?
Has anything changed on the wireless network you connect to?
Does your MikroTik get an IP address (DHHCP Client)?

Why do you use extension channel on the 2.4GHz radio?
Is 802.11b required?

Besides: you might want to upgrade to a newer RouterOS version...
 
MistyView
just joined
Topic Author
Posts: 8
Joined: Sat Feb 04, 2023 3:19 pm

Re: Cannot obtain IP address when trying to connect to hap ac2 set up as repeater

Thu Feb 09, 2023 5:34 pm

Is your MikroTik wirelessly connected at all?
Is your security settings correct (WPA AND WPA2)?
Is the SSID correct?
Are you sure you can connect wirelessly on the 5GHz band?
Has anything changed on the wireless network you connect to?
Does your MikroTik get an IP address (DHHCP Client)?

Why do you use extension channel on the 2.4GHz radio?
Is 802.11b required?

Besides: you might want to upgrade to a newer RouterOS version...

So I managed to figure it out. 😁 I needed to used the same ssid as the original wifi signal. Basically instead of using a different ssid for the vertual wlan I needed to use the same ssid.

I have also update the OS as of this morning.

Thank you so much for the help. I really do appreciate the time and effort.

Who is online

Users browsing this forum: 4z1st3n, Amazon [Bot], Kanzler and 33 guests