By jdoggsc

2019-07-10 15:12:56 8 Comments

I had to fly recently. The flight had in-flight entertainment through gogoinflight, but I couldn't access it on my phone while everyone around me could. I thought the problem was with the router but I couldn't access the public wifi in the destination airport, either. I couldn't even open the wifi login pages to accept the user agreements. Nothing seemed to work!

Cellular internet works fine. Wifi at home works fine.

On another recent flight, I also took my laptop so I could check network settings against my phone's settings.

# ip addr

yielded the same subnet and same gateway

# ip route

yielded the same routes, too. (from memory)

# ip route dev wlan0 proto kernel dhcp scope link src

from my laptop, the login page, or was in the 172.19.134.x subnet, but that should be fine based on the route's mask (/23).

for good measure, I added a route through wlan0 but still nothing. At this point, it looked like my phone knew how to get at IP addresses, but there was a problem with the DNS settings. I checked DNS settings in /etc/resolv.conf on my laptop:

nameserver 172.19.(something).(something)  <--essentially, the access point transmitted the DNS to my laptop correctly and I was able to resolve addresses without problems

on my android phone:

nameserver <--because google and android...
nameserver <--because google and android...
nameserver 172.19.(something).(something)  <--essentially, the access point transmitted the same DNS server to my phone when I connected.

Even though I know it doesn't matter, I removed the WAN dns entries to google for good measure and made the resolv.conf file match my laptop's, but to no avail! I tried multiple browsers (Chrome and Firefox), too, to make sure it wasn't a browser setting.

any ideas?


Related Questions

Sponsored Content

1 Answered Questions

How to configure DNS properly while two LANs are running?

1 Answered Questions

DNS error on laptop when tethered to non-rooted Android 5.1 device

4 Answered Questions

[SOLVED] How to reach local computer via machine name instead of IP?

1 Answered Questions

New cable modem giving Android Phone time outs on sites

  • 2015-10-26 00:27:51
  • Rick
  • 34 View
  • 0 Score
  • 1 Answer
  • Tags:   networking wi-fi

1 Answered Questions

[SOLVED] Why does my phone use Google Public DNS?

2 Answered Questions

[SOLVED] Can't change DNS on S3 mini

  • 2015-05-13 22:06:43
  • Moss
  • 1090 View
  • 2 Score
  • 2 Answer
  • Tags:   wi-fi dns

2 Answered Questions

Does android use cellular data when connected to WiFi with no internet

  • 2015-03-23 10:57:01
  • Kartik
  • 672 View
  • 0 Score
  • 2 Answer
  • Tags:   wi-fi dns

2 Answered Questions

[SOLVED] Android phone has Wi-Fi troubles after subnet change

Sponsored Content