# Can't connect my android phone to a public network

**URL:** <https://boards.straightdope.com/t/cant-connect-my-android-phone-to-a-public-network/552971>\
**Category:** Factual Questions\
**Created:** [September 7, 2010, 9:48pm UTC](https://boards.straightdope.com/t/cant-connect-my-android-phone-to-a-public-network/552971 "2010-09-07T21:48:46Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![bouv](https://avatars.discourse-cdn.com/v4/letter/b/bc8723/32.png) [@bouv](https://boards.straightdope.com/u/bouv)\
**Post date:** [September 7, 2010, 9:48pm UTC](https://boards.straightdope.com/t/cant-connect-my-android-phone-to-a-public-network/552971/1 "2010-09-07T21:48:46Z")

</div>

I recently got a new Samsung Epic 4G. I love this phone, but today while at work I couldn’t get it to properly connect to the public wifi we have.

The wifi we use is the kind where you connect to the network, and then the first time you go to load a website, you get redirected to a login page where you have to accept the terms of service, at which point you then can browse to your heart’s content.

My phone would say it was connected to the network just fine, but if I tried to load a website, it would attempt to redirect to the login page, but then I’d get the error:

> [@](#):
>
> Data Connectivity Problem  
> The server failed to communicate. Try again later.

And then the browser window would say

> [@](#):
>
> Webpage not available. The webpage at "[http://hospitalnameguest.hospitalname.org/login.html](http://hospitalnameguest.hospitalname.org/login.html) might be temporarily down or it may have moved permanently to a new web address.

Other devices (laptops, a coworkers iPhone) were connecting just fine, so the network itself was fine. It seems there must be a setting of some kind that isn’t configured right. I may have to talk to the IS department, but…well…I can’t imagine they’d care all that much that I can’t connect to the public wifi with my phone.

Edit: When I get the chance, I’ll try to connect it to a different public wifi and see if it works. It connects just fine to my home wireless, so obviously the wifi works on the phone itself.

---

<div class="post-metadata">

**Author:** ![goldmund](https://avatars.discourse-cdn.com/v4/letter/g/a4c791/32.png) [@goldmund](https://boards.straightdope.com/u/goldmund)\
**Post date:** [September 7, 2010, 10:24pm UTC](https://boards.straightdope.com/t/cant-connect-my-android-phone-to-a-public-network/552971/2 "2010-09-07T22:24:57Z")

</div>

Is this phone Eclair (Android 2.1) or Froyo (2.2)? If you’re not sure, from the home screen, hit Menu, then Settings, scroll to About Phone on the bottom, and from there pick Software Information. The first entry should say Android Version.

Also, did it definitely say [http://hospitalnameguest.hospitalname.org/login.htm](http://hospitalnameguest.hospitalname.org/login.htm) or may it have been https?

---

<div class="post-metadata">

**Author:** ![bouv](https://avatars.discourse-cdn.com/v4/letter/b/bc8723/32.png) [@bouv](https://boards.straightdope.com/u/bouv)\
**Post date:** [September 8, 2010, 12:11am UTC](https://boards.straightdope.com/t/cant-connect-my-android-phone-to-a-public-network/552971/3 "2010-09-08T00:11:41Z")

</div>

There isn’t a ‘Software Information’ under About Phone, but there is a firmware version that says 2.1-update1, and under Build Version it says Samsung Eclair.DG27, so I’m going to go out on a limb and say I have Eclair 2.1, :p.

And you you’re right, the re-direct site for the login is an https.

---

<div class="post-metadata">

**Author:** ![astro](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@astro](https://boards.straightdope.com/u/astro)\
**Post date:** [September 8, 2010, 12:38am UTC](https://boards.straightdope.com/t/cant-connect-my-android-phone-to-a-public-network/552971/4 "2010-09-08T00:38:21Z")

</div>

Android phones log on on just like notebooks and have more or less the same setup options re security, protocols etc. Some corporate and institutional wireless networks have windows centric login interfaces and security protocols which can give Droids and Macs a bit of bellyache in terms of getting automatically logged on. If I were you I would not waste a lot more time on it until you talk to the IT department. I imagine there are specific settings for your network you have to configure to get logged on.

---

<div class="post-metadata">

**Author:** ![Flander](https://avatars.discourse-cdn.com/v4/letter/f/8c91f0/32.png) [@Flander](https://boards.straightdope.com/u/Flander)\
**Post date:** [September 8, 2010, 1:12am UTC](https://boards.straightdope.com/t/cant-connect-my-android-phone-to-a-public-network/552971/5 "2010-09-08T01:12:46Z")

</div>

Are you using the stock browser or have you tried some others from the market? I’m using xcsope on my phone now. Try that or dolphin hd and see if it makes a difference.

---

<div class="post-metadata">

**Author:** ![goldmund](https://avatars.discourse-cdn.com/v4/letter/g/a4c791/32.png) [@goldmund](https://boards.straightdope.com/u/goldmund)\
**Post date:** [September 8, 2010, 4:07am UTC](https://boards.straightdope.com/t/cant-connect-my-android-phone-to-a-public-network/552971/6 "2010-09-08T04:07:59Z")

</div>

> [@bouv](#):
>
> There isn’t a ‘Software Information’ under About Phone, but there is a firmware version that says 2.1-update1, and under Build Version it says Samsung Eclair.DG27, so I’m going to go out on a limb and say I have Eclair 2.1, :p.
> 
> And you you’re right, the re-direct site for the login is an https.

I suspect it would work with 2.2, then, from what I’ve read. You can try exporting the SSL certificate for this site, either a root CA or a self-signed certificate, as a .pfx (PKCS#12) format file, and import it on your phone, something like this: [http://abtevrythng.blogspot.com/2010/06/adding-cer-certificates-on-your-android.html](http://abtevrythng.blogspot.com/2010/06/adding-cer-certificates-on-your-android.html)

Or you could try rooting and flashing a froyo ROM. 😉

---

<div class="post-metadata">

**Author:** ![bouv](https://avatars.discourse-cdn.com/v4/letter/b/bc8723/32.png) [@bouv](https://boards.straightdope.com/u/bouv)\
**Post date:** [September 8, 2010, 5:12pm UTC](https://boards.straightdope.com/t/cant-connect-my-android-phone-to-a-public-network/552971/7 "2010-09-08T17:12:27Z")

</div>

> [@teletype](#):
>
> > [@bouv](#):
> >
> > There isn’t a ‘Software Information’ under About Phone, but there is a firmware version that says 2.1-update1, and under Build Version it says Samsung Eclair.DG27, so I’m going to go out on a limb and say I have Eclair 2.1, :p.
> > 
> > And you you’re right, the re-direct site for the login is an https.
> 
> I suspect it would work with 2.2, then, from what I’ve read. You can try exporting the SSL certificate for this site, either a root CA or a self-signed certificate, as a .pfx (PKCS#12) format file, and import it on your phone, something like this: [http://abtevrythng.blogspot.com/2010/06/adding-cer-certificates-on-your-android.html](http://abtevrythng.blogspot.com/2010/06/adding-cer-certificates-on-your-android.html)
> 
> Or you could try rooting and flashing a froyo ROM. 😉

I’ll try that certificate fix, thanks!

And I probably will flash Froyo once I’m able…the Epic has only been out a week, and a method to root it reliably was only recently put out, and AFAIK there aren’t any custom ROMs out for it, yet. It probably shouldn’t take too long, though, since it’s very similar to the other Galaxy S phones that are out.

---

<div class="post-metadata">

**Author:** ![Gorsnak](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/gorsnak/32/7587_2.png) [@Gorsnak](https://boards.straightdope.com/u/Gorsnak)\
**Post date:** [September 8, 2010, 5:59pm UTC](https://boards.straightdope.com/t/cant-connect-my-android-phone-to-a-public-network/552971/8 "2010-09-08T17:59:36Z")

</div>

> [@bouv](#):
>
> And I probably will flash Froyo once I’m able…the Epic has only been out a week, and a method to root it reliably was only recently put out, and AFAIK there aren’t any custom ROMs out for it, yet. It probably shouldn’t take too long, though, since it’s very similar to the other Galaxy S phones that are out.

There are supposed to be official Froyo upgrades for the Epic 4G in the near future, actually. [Engadget link](http://www.engadget.com/2010/06/29/samsung-says-all-galaxy-s-phones-will-get-android-2-2/)

---

<div class="post-metadata">

**Author:** ![bouv](https://avatars.discourse-cdn.com/v4/letter/b/bc8723/32.png) [@bouv](https://boards.straightdope.com/u/bouv)\
**Post date:** [September 8, 2010, 6:05pm UTC](https://boards.straightdope.com/t/cant-connect-my-android-phone-to-a-public-network/552971/9 "2010-09-08T18:05:41Z")

</div>

Ok, that certificate fix won’t work…the network doesn’t seem to use certificates…at least, not that I can tell. I looked in the certificate manager in windows afte connecting a laptop to the wireless and there’s nothing there that would be for here…I figure I’ll have to go check with IS…I don’t have high hopes that they’ll have a lot of knowledge about connecting Android devices to their network, but we’ll see.

---

<div class="post-metadata">

**Author:** ![bouv](https://avatars.discourse-cdn.com/v4/letter/b/bc8723/32.png) [@bouv](https://boards.straightdope.com/u/bouv)\
**Post date:** [September 8, 2010, 7:38pm UTC](https://boards.straightdope.com/t/cant-connect-my-android-phone-to-a-public-network/552971/10 "2010-09-08T19:38:15Z")

</div>

Ok, update: it does use a certificate, the name jsut wasn’t what I thought it would be. I found it, but the fix linked to by **teletype** won’t work because it wouldn’t let me export it in the other format, I could only keep it in the cer format.

I tried another link that claimed to be able to take the exporter .cer certificate and make it a downloadable link for an android phone, uploaded the .cer, and downloaded it to my phone using just the cell signal, but still nothing.

I don’t see what IS might be able to do, so I guess just hope the Froyo update fixes it?

---

<div class="post-metadata">

**Author:** ![chromaticity](https://avatars.discourse-cdn.com/v4/letter/c/cc9497/32.png) [@chromaticity](https://boards.straightdope.com/u/chromaticity)\
**Post date:** [September 9, 2010, 5:33pm UTC](https://boards.straightdope.com/t/cant-connect-my-android-phone-to-a-public-network/552971/11 "2010-09-09T17:33:56Z")

</div>

If you can get the logs when this problem happens, I am sure we can get a better idea.  
Preferably, a dumpstate/bugreport.  
Steps:[Android Debug Bridge (adb) &nbsp;|&nbsp; Android Studio &nbsp;|&nbsp; Android Developers](http://developer.android.com/guide/developing/tools/adb.html#commandsummary)

If thats too much trouble(setting up the SDK is easy, but not fun), I will upload an app that can save these logs to the sdcard tomorrow.

I had seen something similar, because the dns property was not being set correctly.  
After I set it manually, it could connect fine. Like:  
[http://groups.google.com/group/android-porting/browse\_thread/thread/39f181f549be3506?pli=1](http://groups.google.com/group/android-porting/browse_thread/thread/39f181f549be3506?pli=1)

Does this happen only when you are using a proxy?  
-\> There are some issues with using a proxy for https, which were fixed pretty late in Eclair.

---

<div class="post-metadata">

**Author:** ![bouv](https://avatars.discourse-cdn.com/v4/letter/b/bc8723/32.png) [@bouv](https://boards.straightdope.com/u/bouv)\
**Post date:** [September 30, 2010, 8:04pm UTC](https://boards.straightdope.com/t/cant-connect-my-android-phone-to-a-public-network/552971/12 "2010-09-30T20:04:12Z")

</div>

> [@chromaticity](#):
>
> If you can get the logs when this problem happens, I am sure we can get a better idea.  
> Preferably, a dumpstate/bugreport.  
> Steps:[http://developer.android.com/guide/developing/tools/adb.html#commandsummary](http://developer.android.com/guide/developing/tools/adb.html#commandsummary)
> 
> If thats too much trouble(setting up the SDK is easy, but not fun), I will upload an app that can save these logs to the sdcard tomorrow.
> 
> I had seen something similar, because the dns property was not being set correctly.  
> After I set it manually, it could connect fine. Like:  
> [http://groups.google.com/group/android-porting/browse\_thread/thread/39f181f549be3506?pli=1](http://groups.google.com/group/android-porting/browse_thread/thread/39f181f549be3506?pli=1)
> 
> Does this happen only when you are using a proxy?  
> -\> There are some issues with using a proxy for https, which were fixed pretty late in Eclair.

Sorry for bumping this thread after a few weeks, but I was away from my main work site for a while and onlyrecently have been back enough to decide I need WiFi again, 😛

I looked at those links and…they are way over my head. I have no idea WTF they are talking about.

I don’t know if the wifi here uses a proxy or not…how would I determine that?

---

<div class="post-metadata">

**Author:** ![chromaticity](https://avatars.discourse-cdn.com/v4/letter/c/cc9497/32.png) [@chromaticity](https://boards.straightdope.com/u/chromaticity)\
**Post date:** [October 9, 2010, 1:41pm UTC](https://boards.straightdope.com/t/cant-connect-my-android-phone-to-a-public-network/552971/13 "2010-10-09T13:41:24Z")

</div>

You can use an application available in the market called - Whatismyip quick proxy check.  
Sometimes, when this happens on my phone I turn the airplane mode on and off and it fixes stuff.
