My grandparents have this one router from syrotech given by bsnl as part of their fiber connection.
Other devices(now working, but modded phones still give problems, my uncle fixed some issues by using wpa3 personal.) used to have the exact same issue: disconnects, reconnects bc autoconnect, repeat.
This seems to be known problematic around XDA.
The phones in question: My oneplus one(last time I came here), lineage 18.1(rip)
My grandma's note 5 pro running 18.1(no magisk, nothing, all stock except mind the gapps)
My moto z play with aicp based on lineage18.1(I don't expect help with this one, but as long as my grandma's phone works, I'm good)
Tried workarounds: My uncle switched to wpa2 router side in the past, all devices had the same issue, not just the modded phones. A workaround ironically was to re-enable wpa3 personal.
Is there a way to force my modded phones to disable wpa3/connect only via wpa2?
I know the issue is on bsnl's side, and I should follow up with them for a different router model, but let's say that's not an option unless worst case since that's already been tried and lead nowhere.
Edit: I don't get it. I cannot figure it out. I went to another house where they had a different router but the compatibility layer for wpa3 personal worked fine 100%.
Best I can do now is set a second router up in access point mode via ethernet.
Edit 2: I used a dir600l that was lying around and set up wan port as dhcp client, and some IP allocation adjustments. Now it works very well. Thanks for the help and support.
Check the router's logs for the reason for the disconnection, and you'll find it's a Wi-Fi PMF authentication issue.
So, you need to bypass PMF. I've summarized four methods.
This situation should rarely happen to most LineageOS users. If you happen to encounter this "compatibility" issue, here's how to fix it. Just choose one.
-
In the router's Wi-Fi settings, set the Wi-Fi authentication method to WPA, instead of WPA2 or WPA3.
-
If you have root access, open the system directory in a file manager and edit /system/etc/wifi/wpa_supplicant.conf. Change pmf=1 to pmf=0 and save it.
-
Disable/enable PMF in the router's Wi-Fi settings. (I haven't tried this method, so I don't know if it works, because my router doesn't have a switch for this function).
-
(Also haven't tried) I think replacing the router with a newer one should solve the PMF conflict issue with LineageOS. This should be the best solution. If you don't want to replace the router, choose one of the first three methods.
In addition, my devices are Pixel 3 and Xiaomi 6. I flashed LineageOS 22.2 Android 15 on them. Both will disconnect immediately after connecting to Wi-Fi and show a PMF authentication error in the router logs.
While connecting to Wi-Fi is normal on the official ROM, and there's no problem on the iPhone.
Then I used Google to search for answers and asked ChatGPT. There are few LOS users reporting this issue online, so I think it's the PMF authentication error generated by the router I'm using.
I don't understand the specific mechanism, but after verification, I found the method effective, and I still hope to help some people.
Recently upgraded from 14 to 20, installed 20230402, and can no longer connect to WPA3 only security wifi networks (no issues in 14) .. is this a known issue?
[Source of issue identified, see edits, or https://gitlab.com/LineageOS/issues/android/-/issues/3251
Hi everyone,
I update my moto x4 (payton) to LOS 18 today.
Everything but wifi seems to work, wifi search works fine, it finds all networks w/o a problem, but I was unable to connect to any wifi network.
Im not exactly sure why it doesn't, it says failed to connect to network, but I looked a bit inside logcat where it records ConnectAttempt: 32 ConnectFailure: 0 , but HasEverConnected: false, Failures: {Assoc: 0, Auth: 0, Dhcp: 0}, which seems a bit odd to me. Anyway, if anyone has an idea how to fix it or some logs relevant for this, post below, because I do not know where to obtain the logs for fixing this.
Thanks in advance
Edit: found log below seems to be a weird wpa problem, help anyone?
Edit2: After seeing that both OWE and WPA3 resulted in weird crypo? failures, I disabled both on my router, now both networks work. Question is now why do modern encryption standards not work with LOS 18 (they did whith 17.1)?
Are these all networks you've connected to before? If so, try forgetting one if them and then try to reconnect. After that maybe try to reset all networking.
I had same issue with AP configured on "WPA3 + WPA2", which works on same and other device on 17.1 and even on tablet with 14.1. Reset Networks didn't help also. Only change to "WPA2 (CCMP)" made connection of WiFi possible again. Seems to be some issue in negotiation of key management.
I updated payton on Thursday with 18.1 from 17.1.
Backgrounds: Last year, Google made a change to android disabling wifi connection to wpa2/3 enterprise network without server certification verification (More info here) This behavior was intended to improve security so that users will not leak their credentials if presented with fake wifi. However, such change created inconvenience among users (For example here and here) .
Suggestion: Personally, I believe security does not mean everything. In this case, it is a choice between nothing to use and something to use with just a little security risk. What's more, android is the only OS disabling such connection, it will take some time before every enterprise wifi provides proper certs. So I hope LinageOS can keep the old behavior for some time.
Work needed: I dig into android source code and find the relevant commit. I believe revert the commit, or at least delete the relevant part should let connection without certs working again. If I have the hardware resource for compiling LineageOS, I would test it myself. So if someone can test the change and push it to LineageOS, it would be really appreciated.
Thank you for reading!
Hi,
I have LOS 18.1 on a Moto G7 Plus and to my surprise I see WPA3-Enterprise is supported, but WPA3-Personal is not.
After doing some research, this device may not support WPA3-personal, just wpa3-enterprise. I´m still trying to find out if this can be confirmed.