Community discussions

MUM Europe 2020
 
WeWiNet
Member Candidate
Member Candidate
Topic Author
Posts: 247
Joined: Thu Sep 27, 2018 4:11 pm

Hap ac2 DHCP Client not working on 2G WLAN station

Mon Oct 28, 2019 4:11 pm

I had previously (couple of month back) already some issues with hap ac2 as "repeater" while on the road:
- 2.4G WLAN as station connected to remote GW, WLAN 5G as my local Wifi router for my laptop and phone etc.

Now last week I had the time and occasion to again try to this up in a different place and had again issues:
Only changes made are (on 6.45.6):

- Reset hap AC2 with default config (dual band AP)
- remove WLAN1 from LAN list, and as well from BRIDGE
- add WLAN1 to WAN i/f list
- add DHCP client on WLAN1 i/f
- Set WLAN1 to station mode, add SSID and security profile as needed
--> Wifi connects ! Great!
--> DHCP client does not get any IP address, status "searching". Log shows that requests where sent

Other devices do connect to the AP (in this case was a Tenda hotel AP).

Any idea? I saw this DHCP client issue before but never had time to check it out.
It is really annoying as I like such setup (2G Station with 5G Wifi) but it does not work in many places due to this issue.
Did I oversaw the obvious ?
WeWiNet

**
MTCNA
hapac2, map, hap-lite, ltap-mini, RB4011 (good!), Audience (better) :-) !!!
 
Zacharias
Forum Guru
Forum Guru
Posts: 1437
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Hap ac2 DHCP Client not working on 2G WLAN station

Mon Oct 28, 2019 8:56 pm

DHCP works in Layer2, however Station mode does not...
https://wiki.mikrotik.com/wiki/Manual:W ... de_station

Assign static IP to wlan1...

Edit:
I did a test and DHCP client works fine on station mode....
Last edited by Zacharias on Tue Oct 29, 2019 9:33 am, edited 1 time in total.
 
Znevna
Frequent Visitor
Frequent Visitor
Posts: 70
Joined: Mon Sep 23, 2019 1:04 pm

Re: Hap ac2 DHCP Client not working on 2G WLAN station

Mon Oct 28, 2019 9:36 pm

Works fine here. Same device.
ROS 6.45.7
21:30:37 wireless,info 4C:ED:FB:B2:C0:D0@wlan1 established connection on 2437000, SSID ViperNet 
21:30:37 dhcp,debug,state dhcp-client on wlan1 entering <selecting...> state 
21:30:38 dhcp,debug,state dhcp-client on wlan1 entering <requesting...> state 
21:30:38 dhcp,info dhcp-client on wlan1 got IP address 192.168.69.157 
21:30:38 dhcp,debug,state dhcp-client on wlan1 entering <bound> state
 
WeWiNet
Member Candidate
Member Candidate
Topic Author
Posts: 247
Joined: Thu Sep 27, 2018 4:11 pm

Re: Hap ac2 DHCP Client not working on 2G WLAN station

Wed Oct 30, 2019 4:19 pm

Hi Zacharias, Znevna,

thanks for your response. Gives me hope .

Do you connect hap ac2 as a client to a Mikrotik AP or some 3rd party AP?

Could it be that "station" implementation on Hap AC2 has issues?
When doing torch on wlan1 I see that no (zero traffic/packets) came back from the AP to the client (DHCP request goes out, but no RX frame received).
This while wlan1 interface shows "connected" ...
WeWiNet

**
MTCNA
hapac2, map, hap-lite, ltap-mini, RB4011 (good!), Audience (better) :-) !!!
 
Zacharias
Forum Guru
Forum Guru
Posts: 1437
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Hap ac2 DHCP Client not working on 2G WLAN station

Wed Oct 30, 2019 4:43 pm

Do you connect hap ac2 as a client to a Mikrotik AP or some 3rd party AP?
To a MikroTik AP...
Could it be that "station" implementation on Hap AC2 has issues?
No
 
Znevna
Frequent Visitor
Frequent Visitor
Posts: 70
Joined: Mon Sep 23, 2019 1:04 pm

Re: Hap ac2 DHCP Client not working on 2G WLAN station

Wed Oct 30, 2019 5:21 pm

In the test above I was connected to an Asus AC58U.
I'll cleanup my config and post it here so that you can compare it with yours.
LE: added config
You do not have the required permissions to view the files attached to this post.
 
WeWiNet
Member Candidate
Member Candidate
Topic Author
Posts: 247
Joined: Thu Sep 27, 2018 4:11 pm

Re: Hap ac2 DHCP Client not working on 2G WLAN station

Thu Oct 31, 2019 4:50 pm

Hi Znevna,

Thanks for sharing this.
It's exactly my config I used.

I will monitor and try to do some tests in the coming weeks.
WeWiNet

**
MTCNA
hapac2, map, hap-lite, ltap-mini, RB4011 (good!), Audience (better) :-) !!!

Who is online

Users browsing this forum: bunnylove, carlouthetha, OlofL and 164 guests