Community discussions

MikroTik App
 
mtbdrew
newbie
Topic Author
Posts: 30
Joined: Fri Aug 18, 2023 6:42 pm

Hap AX2 switch/AP Issue with 5GHz WiFi

Thu May 16, 2024 6:06 am

Running last stable software for routeros and wifi-qcom. I just reset configuration and brought the unit up as switch/AP and configured 2G and 5G WiFi exactly the same as they were when the unit was running default configuration. The 2G WiFi is working perfectly however the 5G WiFi is acting strange. The 5G WiFi is not allowing any of the laptops that previously work to connect now. Any laptop regardless of Win11 or Linux gives a "failed to activate" error message when attempting to connect to the 5G but they connect fine to the 2G. The odd thing is that all mobiles/tablets can see and connect to the 5G just fine. I have tried disabling WPA2 then WPA3 on 5G and the laptops but nothing seems to work. Also even if I enable SSID broadcast the laptops never see the 5G WiFi so can't connect this way either. I have also tried turning off AX for 5G but this didn't help either. Any idea what could be the issue?
 
mtbdrew
newbie
Topic Author
Posts: 30
Joined: Fri Aug 18, 2023 6:42 pm

Re: Hap AX2 switch/AP Issue with 5GHz WiFi

Thu May 16, 2024 8:03 am

Found this viewtopic.php?t=203251 and following suggestion of setting channels manually "Frequency currently set to 5500, 5580, 5660 and 5180" and the 5G is now working on the laptops. Seems to be a bug with auto frequency allotment on the Hap AX2. My Hap AX3 does not have this issue.


BTW the laptops having this issue are:

Lenovo Intel Evo Thinkpad 1 year old
Lenovo Intel Evo Slim7 3 years old

Mobiles that worked fine are Samsung Z4 Fold and Z5 Flip.
 
holvoetn
Forum Guru
Forum Guru
Posts: 6753
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Hap AX2 switch/AP Issue with 5GHz WiFi

Thu May 16, 2024 9:53 am

It's not a bug if your AP uses a frequency which the client devices can not use. That's a client device problem.

E.g. for a client installation I have Symbol warehouse scanners only able to use 5Ghz 5180-5240. Nothing else.
So I needed to set all 15 APs to use those frequencies (in a non-overlapping pattern) only and nothing else.

I NEVER use auto frequency not even at home.
I ALWAYS set frequencies manually for each AP after doing a scan of the environment. It rarely requires a change for the devices under my control.
 
erlinden
Forum Guru
Forum Guru
Posts: 2626
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: Hap AX2 switch/AP Issue with 5GHz WiFi

Thu May 16, 2024 10:01 am

How do you handle DFS events, @holvoetn? Or don't you use any DFS channels?
 
holvoetn
Forum Guru
Forum Guru
Posts: 6753
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Hap AX2 switch/AP Issue with 5GHz WiFi

Thu May 16, 2024 10:20 am

How do you handle DFS events, @holvoetn? Or don't you use any DFS channels?
I try to avoid those when possible for obvious reasons.
At home I do use them but I am in such a nice isolated appartement that I don't ever see a DFS problem occurring :lol:
(really, it's almost a bunker. Most places in there I can't even use my cell phone unless I really move close to the window or go outside on the porch)
 
mtbdrew
newbie
Topic Author
Posts: 30
Joined: Fri Aug 18, 2023 6:42 pm

Re: Hap AX2 switch/AP Issue with 5GHz WiFi

Thu May 16, 2024 5:35 pm

It's not a bug if your AP uses a frequency which the client devices can not use. That's a client device problem.

E.g. for a client installation I have Symbol warehouse scanners only able to use 5Ghz 5180-5240. Nothing else.
So I needed to set all 15 APs to use those frequencies (in a non-overlapping pattern) only and nothing else.

I NEVER use auto frequency not even at home.
I ALWAYS set frequencies manually for each AP after doing a scan of the environment. It rarely requires a change for the devices under my control.
Not buying that as the two laptops are fairly new and none of the devices have the issue on my Hap AX3.
 
mtbdrew
newbie
Topic Author
Posts: 30
Joined: Fri Aug 18, 2023 6:42 pm

Re: Hap AX2 switch/AP Issue with 5GHz WiFi

Thu May 16, 2024 5:39 pm

How do you handle DFS events, @holvoetn? Or don't you use any DFS channels?
Original setup is full auto configuration for both 2G and 5G WiFi, Skip DFS Channels set to 10min CAC. All other setting are left to whatever Mikrotik has assigned.
 
ips
Member Candidate
Member Candidate
Posts: 154
Joined: Mon Oct 09, 2023 6:48 pm
Location: Italy

Re: Hap AX2 switch/AP Issue with 5GHz WiFi

Thu May 16, 2024 6:28 pm

Can you report the output of the following commands?
/interface/wifi/actual-configuration/print
/interface/wifi/print detail
(possibly by disabling WPA3, first)

What linux distribution do you have?
 
holvoetn
Forum Guru
Forum Guru
Posts: 6753
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Hap AX2 switch/AP Issue with 5GHz WiFi

Thu May 16, 2024 9:39 pm

Not buying that as the two laptops are fairly new and none of the devices have the issue on my Hap AX3.
And you can tell with 100% certainty both AX2 and AX3 were using the same frequency ? I doubt it.
Unless you set the frequency yourself, you don't know what will be used.

I have seen devices not 1 or 2 year old unable to connect to higher wifi bands whereas my 4 year old Samsung S20 has no problems doing so.
 
mtbdrew
newbie
Topic Author
Posts: 30
Joined: Fri Aug 18, 2023 6:42 pm

Re: Hap AX2 switch/AP Issue with 5GHz WiFi

Fri May 17, 2024 7:06 am

Can you report the output of the following commands?
/interface/wifi/actual-configuration/print
/interface/wifi/print detail
(possibly by disabling WPA3, first)

What linux distribution do you have?
This is happening on Linux Mint 21.3 5.15.0-107-generic x86_64 bits as well as Win 11 with latest updates.
 
mtbdrew
newbie
Topic Author
Posts: 30
Joined: Fri Aug 18, 2023 6:42 pm

Re: Hap AX2 switch/AP Issue with 5GHz WiFi

Fri May 17, 2024 7:09 am

Not buying that as the two laptops are fairly new and none of the devices have the issue on my Hap AX3.
And you can tell with 100% certainty both AX2 and AX3 were using the same frequency ? I doubt it.
Unless you set the frequency yourself, you don't know what will be used.

I have seen devices not 1 or 2 year old unable to connect to higher wifi bands whereas my 4 year old Samsung S20 has no problems doing so.
Maybe you missed the fact that the system was working fine before changing the config to switch/AP mode. Yes the same laptops worked fine before that even though the Wifi for 5GHz was setup in exactly the same way after the reconfig.
 
holvoetn
Forum Guru
Forum Guru
Posts: 6753
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Hap AX2 switch/AP Issue with 5GHz WiFi

Fri May 17, 2024 7:49 am

You are missing the point.
What frequency was used ??
 
ips
Member Candidate
Member Candidate
Posts: 154
Joined: Mon Oct 09, 2023 6:48 pm
Location: Italy

Re: Hap AX2 switch/AP Issue with 5GHz WiFi

Fri May 17, 2024 8:54 am

Can you report the output of the following commands?
/interface/wifi/actual-configuration/print
/interface/wifi/print detail
(possibly by disabling WPA3, first)

What linux distribution do you have?
This is happening on Linux Mint 21.3 5.15.0-107-generic x86_64 bits as well as Win 11 with latest updates.
You probably missed my first part. Could you please provide that report?
Exact model of the laptop could be useful, too.
 
ips
Member Candidate
Member Candidate
Posts: 154
Joined: Mon Oct 09, 2023 6:48 pm
Location: Italy

Re: Hap AX2 switch/AP Issue with 5GHz WiFi

Fri May 17, 2024 9:34 am

Also the output of the command
iw list
on one of the laptops is useful. Mint should have it.
 
mtbdrew
newbie
Topic Author
Posts: 30
Joined: Fri Aug 18, 2023 6:42 pm

Re: Hap AX2 switch/AP Issue with 5GHz WiFi

Fri May 17, 2024 7:41 pm

Also the output of the command
iw list
on one of the laptops is useful. Mint should have it.
Information requested is in attachment.
You do not have the required permissions to view the files attached to this post.
 
User avatar
robmaltsystems
Forum Veteran
Forum Veteran
Posts: 706
Joined: Fri Jun 21, 2019 12:04 pm

Re: Hap AX2 switch/AP Issue with 5GHz WiFi

Mon May 20, 2024 8:07 pm

Lenovo Intel Evo Thinkpad 1 year old
Lenovo Intel Evo Slim7 3 years old
That was my post and my problem was with a Lenovo laptop too. Probably both using the Realtek chipset. I think on these chipsets, it's a failure to implement 802.11d correctly. They don't set the country correctly and block connecting to 5745 and above. On a Windows laptop, you can try disabling 802.11d in the device manager, if the option is available.
 
mtbdrew
newbie
Topic Author
Posts: 30
Joined: Fri Aug 18, 2023 6:42 pm

Re: Hap AX2 switch/AP Issue with 5GHz WiFi

Mon May 20, 2024 10:18 pm

Lenovo Intel Evo Thinkpad 1 year old
Lenovo Intel Evo Slim7 3 years old
That was my post and my problem was with a Lenovo laptop too. Probably both using the Realtek chipset. I think on these chipsets, it's a failure to implement 802.11d correctly. They don't set the country correctly and block connecting to 5745 and above. On a Windows laptop, you can try disabling 802.11d in the device manager, if the option is available.
Both are running the Intel Wi-Fi 6 AX201 hardware, and worked fine before changing the Hap's function from router to switch/AP mode.
 
User avatar
robmaltsystems
Forum Veteran
Forum Veteran
Posts: 706
Joined: Fri Jun 21, 2019 12:04 pm

Re: Hap AX2 switch/AP Issue with 5GHz WiFi

Tue May 21, 2024 12:41 pm

Hmm completely different chipsets then. There should be no logical reason why it's different between being configured as a router and a switch/access point. The main difference being lack of firewall and NAT on the later. But that shouldn't really affect Wi-Fi.
 
ips
Member Candidate
Member Candidate
Posts: 154
Joined: Mon Oct 09, 2023 6:48 pm
Location: Italy

Re: Hap AX2 switch/AP Issue with 5GHz WiFi

Tue May 21, 2024 1:22 pm

There should be no logical reason why it's different between being configured as a router and a switch/access point. The main difference being lack of firewall and NAT on the later. But that shouldn't really affect Wi-Fi.
Yes, indeed. I don't believe that switching from router to switch/AP is the reason.

I've read the output of the commands and there is a chance that the AX2 chose a frequency >= 5845 (channel >= 169) which is permitted in the US (at least according to ROS) but disabled on the laptop (according to iw list).
This also explains why the issue disappeared when the frequencies were explicitly set.
Choosing those frequencies appears to be reasonable, since they allow high transmission power and no DFS. I don't think we have elements for suspecting a bug (not yet, at least).

My suggestion is to check the status tab as soon as the issue arises.

PS: @mtbdrew You probably forgot to elide the password (#ddcomet24#) from the output. Please change it, if I am not wrong.
 
holvoetn
Forum Guru
Forum Guru
Posts: 6753
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Hap AX2 switch/AP Issue with 5GHz WiFi

Tue May 21, 2024 1:56 pm

I've read the output of the commands and there is a chance that the AX2 chose a frequency >= 5845 (channel >= 169) which is permitted in the US (at least according to ROS) but disabled on the laptop (according to iw list).
This also explains why the issue disappeared when the frequencies were explicitly set.
Choosing those frequencies appears to be reasonable, since they allow high transmission power and no DFS. I don't think we have elements for suspecting a bug (not yet, at least).
Q.E.D.
 
ips
Member Candidate
Member Candidate
Posts: 154
Joined: Mon Oct 09, 2023 6:48 pm
Location: Italy

Re: Hap AX2 switch/AP Issue with 5GHz WiFi

Tue May 21, 2024 3:48 pm

That was my initial suspect. Just collecting data to support the thesis.

I also understand Mikrotik's dilemma:
- if they allow ROS to use high freq (when available) then the channels are likely free but there is a chance that the client is not able to connect ("ehy, my router/AP has a bug")
- If they restrict high frequencies, then the client connects but wireless speed drops ("ehy, wifi sucks")

Maybe adding a flag in the quickset (on by default) that restricts the 5GHz frequencies if flagged?
 
mtbdrew
newbie
Topic Author
Posts: 30
Joined: Fri Aug 18, 2023 6:42 pm

Re: Hap AX2 switch/AP Issue with 5GHz WiFi  [SOLVED]

Fri May 24, 2024 11:30 pm

I just switched back to auto and can confirm that it is defaulting to 5585 in switch/AP mode. No way of knowing what it was using in previous router configuration but it must have been some other channel because the laptops were working then.

Based on the channels available I have switched to using:

5500
5660
5785
5825

Hap AX2 has landed on using the 5825 with power level 26 instead of the 5660 power level 20 it was using.

Who is online

Users browsing this forum: akakua, timotei and 10 guests