I have a Nexus 5 with Marshmallow and another device with a built-in 5.8Ghz WiFi which is used for transfering videos from it. When I connect to this WiFi it keeps telling me, that it has no internet connection and thus obviously disconnecting automatically to find a better one. How do I keep the connection?

Some things I already tried:

  • set the freq to 5Ghz only
  • delete all the other known Wifis
  • manually add the wifi

Unless the connection is stable, I cannot connect to the device with its corresponding app. Are there any apps which could achieve that?

EDIT:

Logcat prints the following when the device disconnects:

12-23 20:29:09.368: D/IpReachabilityMonitor(777): clear: iface{wlan0/21}, v{4}, ntable=[]
12-23 20:29:09.377: I/wpa_supplicant(4270): wlan0: CTRL-EVENT-DISCONNECTED bssid=00:e0:5d:91:1b:ec reason=3 locally_generated=1
12-23 20:29:09.381: D/WifiStateMachine(777): WifiStateMachine: Leaving Connected state

What I found out so far, is that this might be a kernel problem. However, I have not found any references to android in this case.

  • 1
  • Thanks for the hints. The adb shell removed the exclamation mark and I do not get any notifications about the missing internet connection anymore. However, the connection is still being dropped after a short period. It stays connected approx. 10 to 30 seconds and then disconnects. It reconnects, however the video transfer is interrupted. Any ideas? – Denis Loh Nov 30 '15 at 19:17
  • Hey Denis, this is annoying as hell. When I tell my device to stay on one connection, I expect it to respect my wishes, not play the "Me thinks me smarter than U dumb user" card. – Mindwin Dec 23 '15 at 18:27
  • I now also checked the wifi with a Samsung Galaxy S5 device and it is working like charme there. I have no idea whats wrong with the stock android. – Denis Loh Dec 23 '15 at 18:33
up vote 5 down vote accepted

I obviously found a possible solution for my problem.

I simply set the DHCP settings to static and give the devices an appropriate IP, Gateway and left the dns preset as it is (8.8.8.8) by following these instructions: Is it possible to assign a static IP address without a DNS?

Afterwards it still complains about the missing internet connection, but this time it keeps the connection.

I testet it on both my Nexus 5 and Nexus 9 and it seems to work.

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.