MAC-Filter Issue

I can't use the MAC-Filter feature in whitelist mode. After adding the devices I want to the list, the wifi disappears immediately after applying the changes. There is no device in the wifi list I can't see my network's SSID. Can you help me solve this problem? Same thing on both channels. My device is Xiaomi Router 4A Giga Edition. I am using the latest version of OpenWRT. Please help me.


I tried to turn the hidden SSID on or off, the result is the same, the device cannot find my wifi network.

can u share the config file ..?
take SSH and share the /etc/config/wireless file in preformatted text (press (ctrl + e) and then add the data of wireless file in this text box)

1 Like

Of course you can check it out my friend.

config wifi-device 'radio0'
option type 'mac80211'
option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0'
option channel 'auto'
option band '2g'
option htmode 'HT40'
option cell_density '0'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'John2G'
option encryption 'sae-mixed'
option key 'john12345678'
option ifname '2.4GHz'
option macfilter 'allow'
list maclist '3B:DC:AB:8D:AA:27'
list maclist '3A:Z8:9C:B9:7F:30'
option hidden '1'
config wifi-device 'radio1'
option type 'mac80211'
option path '1e140000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
option channel '36'
option band '5g'
option htmode 'VHT80'
option cell_density '0'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'John5G'
option encryption 'sae-mixed'
option hidden '1'
option key 'john1234578'
option ifname '5GHz'
list maclist '3B:DC:AB:8D:AA:27'
list maclist '3A:Z8:9C:B9:7F:30'

My friend, after a deep investigation, I came to the conclusion that I cannot find the network in any way when the SSID hidden mac filter is on.

However, if SSID hiding is off and mac filter is on, after applying the settings and rebooting, the network started to appear in my wifi list after 15 minutes, but it was published very late.

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
post it using the below option so the format does not change

grafik

u must be using dfs channel as it takes time for radio to get live
try using non dfs channels
or turn off dfs by using cmd
iwpriv ath0/1 set_cactimeout 1

There is no "hidden MAC filter" option. There is a MAC filter, and there is a hidden SSID option. If you hide the SSID, you will not "find" it.

1 Like

In Xiaomi's original software, I was able to hide both SSID and make a mac filter list. Do you mean that there is no such combination in OpenWRT?

So I can only use one?

I understand, what do you think about my problem of not being able to connect even if I manually add the network when I use both hidden SSID and MAC filter?

I just wanted to clarify that there is a "hidden SSID" option and a "MAC filter" option (two independent functions), but not a "hidden MAC filter" option (like "hide the SSID for the MACs on the list", for example).