GrapheneOS-Archive / legacy_bugtracker

See the new issue tracker for GrapheneOS at https://github.com/GrapheneOS/os_issue_tracker.
112 stars 11 forks source link

WiFi won't re-connect #865

Closed pintopwnie closed 6 years ago

pintopwnie commented 6 years ago

Steps to reproduce: Connect to WiFi successfully. Turn WiFi off a few hours and turn it back on. WiFi will attempt to connect to SSID and then it reverts to show the WiFi SSID as "saved." Since it's in the "Saved Networks" it will attempt to reconnect. It tries again and shows "connecting to SSID" then it drops again and reverts to show WiFI SSID as "saved." This cycle continues until phone is restarted and then it connects successfully.

CopperheadOS version: Kernel 4.4.131-gfc8255902ece version 5.0.30080 Device Model: Pixel 2

xbtc-im commented 6 years ago

What AP/Router are you using ? is it by any chance a TP-LINK ?

pintopwnie commented 6 years ago

Negative. Running DD-WRT. Prior to the Pixel 2, I had a Nexus 5X w/Copperhead and it never had any problems re-establishing connections.

xbtc-im commented 6 years ago

You can try to play with the radio channel / encryption schemes for the wifi network ... Does the problem appear on other access points too, or only on that particular one ?

pintopwnie commented 6 years ago

I don't think this addresses the fact that if I re-start the phone, it has no problems connecting. Either way, I'll try messing with the channels later today.

pintopwnie commented 6 years ago

Confirmed the issue with 2 other routers. ASUS, Microtik and DD-WRT. All produce the same results on different channels. Any help would be appreciated. May be linked to another issue (No 5Ghz connectivity).

pintopwnie commented 6 years ago

@xbtc-im you were right. All of the routers I tried supported the dynamic frequency and it was enabled by default. Once you change the setting, the WiFi connects automatically again.

xbtc-im commented 6 years ago

Interesting, as DFS only applies to the 5GHz band. You can try to set a channel that does not require DFS in your country, and also scan for overlapping. I always try to use fixed , non-DFS channels for my setups. Anyway glad you fixed it.