Problems in finding and connecting to my wifi network from smartphone

Hi friends,
first of all thank you very much for this very useful community! :slight_smile:

I recently installed openwrt version 18.06.4 on my TD-W8970 and I plugged in a 4G usb dongle for internet access.

Everything is working well but some connecting problems with my smartphones.

All my devices (tv, laptop, irrigation control unit, ...) see and connect very fast to my wifi network except my smartphones (I tried with two different smartphones of different brands).

When I activate wifi on my smartphone (Xiaomi Redmi Note 7) the wifi network is not seen quickly even if I am very near to my openwrt router. Sometimes 5 minutes may pass before the network is seen and the smartphone connects to it. In sporadic cases the smarphone connects quickly to wifi.

I can't understand the reason, considering that other devices in my house connects very quickly and that my smartphone connects very quickly to other wifi networks (when I am outside my house).

Can you help me in understanding where is the problem?

Thank you in advance.

Hye,

It maybe a problem of the Xiaomi/Android side...
I have same problematic on WiFi with Xiaomi Mi while using alternative firmware and hidden WiFi...

I have to unhide WiFi and I add Mac Address whitelist...

Just give a try if your in hidden Access Point to unhide it !
Or may be you have another problem than me...

1 Like

I think the issue is in the middle between Xiaomi/Android and Openwrt because:

  1. Xiaomi device with other non-Openwrt router: no problem!
  2. Non-Xiaomi devices (e.g laptop, tv, ...) with Openwrt router: no problem!
  3. Xiaomi device with Openwrt router: problem!

My wifi network on openwrt is not hidden; i have configured it with WPA/WPA2 encryption and mac address filter.

After performing other tests there is another strange behaviour: I activate wifi on xiaomi, a list of wifi networks appear but my openwrt network is not on the list, ... i wait for 5 minutes but the network does not appear; at this point, I go to xiaomi wifi settings and i remove the saved configuration (password) of my openwrt network, I re-add manually the same configuration (password) and the network suddenly appears and xiaomi connects to it.

This could be seen as a xiaomi bug but, I repeat, I have this problem only with my openwrt router.

Try disabling MAC filtering (which adds little security value, if any). Cell phones these days randomize their MAC oftentimes.

(Also, WPA should not be used these days, just WPA2 or better)

3 Likes

Yes the MAC filter is likely the issue. When the phone probes with a random MAC, which is not in the whitelist, the AP does not respond. Android will not show an AP in its list until that AP has responded to a probe request.

MAC lists can be useful in point to point situations where you want to prevent certain paths from connecting, but they are not useful for general security.

2 Likes

You are right! I solved by disabling MAC filter on my openwrt router. Thank you very much! :slight_smile:

Now the question is: why I have no problem in connecting to other routers (non-openwrt) having MAC filter enabled with the same Xiaomi smartphone?

I know that MAC filter is not a guarantee from a security point of view (since the MAC address might be obtained from probe requests) but sometimes it could be useful as additional layer of protection to prevent unauthorised access to the network by non-IT expert people that might know the wifi password.

So, considering that now MAC filter is disabled, how can I improve the security apart from using WPA2 encryption with a "strong" password?

Thanks again!

search around... or create a new thread regarding this... the answer/s are multi-dimensional... and have likely been covered... already here and on the world wide web.

1 Like

Then use blacklist for MAC filtering instead of whitelist.
The other option would be WPA-Enterprise, but it might be too complicated for you.

1 Like

Most other routers with a MAC whitelist configured will reply to probes from non-listed MACs. OpenWrt used to as well, but it changed in the code sometime last year. I don't know if it is an OpenWrt specific patch or something generally added to hostapd upstream.

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.