Why my hAP AC2 can't see this network?

There is this 2.4GHz network:

I wish my hAP AC2's wlan0 to connect to this, but it is:

  • Not able to scan it
  • not able to connect it manually (with SSID and security profile configured)

What could be the reasons behind this? Taking into account that distance between them is about 5m, without walls. Ie. They are in the same room. AP is on ceiling, MT is on desk.

Related config:

/interface wireless
set [ find default-name=wlan1 ]antenna-gain=0 band=2ghz-b/g/n country=no_country_set disabled=no distance=indoors
frequency-mode=manual-txpower name=wlan1_wan security-profile=profile_wan
ssid=CasaChrista station-roaming=enabled wireless-protocol=802.11

Thanks!

Remove:

  • antenna-gain=0
  • country=no_country_set
  • frequency-mode=manual-txpower

That should help indeed, thank you!

I selected superchannel instead of manual txpower and added 2472 to scanlist and it solved it.

Is it better to use your recommendation?

Moreover, how can I remove these settings from terminal?

Generally speaking, you need to use the unset command.

An example is here:
After RouterOS version 7.22, CAPsMAN causes only iPhones (iOS) to be unable to connect to Wi-Fi - #23 by jaclaz

In your case it should be like:

/interface wireless 
unset [ find default-name=wlan1 ] value-name=frequency-mode

Unset is a "bad command name" in /interface/wireless.

I have unset in /interface/wifi. But it isn't related to wireless. I.e. I removed antenna gain with ...wifi/unset configuration.antenna-gain but it is still presented in export.

I have only my phone to operate this router currently.

Can you tell me how exactly can I remove these settings?

Thank you!

and not for wireless. unset for wireless does not exist. you need to do it this way:

/interface wireless [ find default-name=wlan1 ] !antenna-gain !country !frequency-mode

Oops. sorry didn't think that it isn't there in wireless.

It gives me "expected command name (line 1 column 21)"

You need a "set" command:

/interface wireless set [ find default-name=wlan1 ] !antenna-gain !country !frequency-mode

Thank you!

This gives me syntax error:

/interface wireless set [ find default-name=wlan1 ] !antenna-gain !country !frequency-mode
syntax error (line 1 column 53)

Do you maybe have some other suggestion?

Thank you!

Can you reset it?

/interface wireless reset

Than add it back again.

Indeed, seems like ! is not possible in wireless menu. You need to think yourself then.

  • country: set to match the country advertised by the AP you want to connect to
  • antenna-gain=3 or antenna-gain=2
  • frequency-mode=regulatory-domain

or, even better like @wfbuton suggested: start over new.

Would you also need to add the country code too?

---------1---------2---------3---------4---------5---------6---------7---------8---------9
123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
/interface wireless set [ find default-name=wlan1 ] !antenna-gain !country !frequency-mode

the error is definitely at the first exclamation mark, maybe is another peculiar thing of /wireless. :woozy_face:

As a side note, if you are going to reset and start from scratch, wouldn't it be advisable to ditch the "old" drivers and install wifi-qcom-ac (though I have seen contrasting reports about which one is better/faster):