Hey guys,
I was wondering if anyone knows if this is possible. The company I work for has free wifi, and I connect to it with my Galaxy Nexus LTE. However, every time, I have go to my browser, and click on the "Proceed" button to connect. My login credentials are already in there by default. I was wondering if there is a way where I don't have to click on proceed. It's a minor thing, but I am just curious if there is a way, that the Galaxy Nexus could connect automatically. I am using ICS Browser.
Some help would be nice
Tomson74 said:
Hey guys,
I was wondering if anyone knows if this is possible. The company I work for has free wifi, and I connect to it with my Galaxy Nexus LTE. However, every time, I have go to my browser, and click on the "Proceed" button to connect. My login credentials are already in there by default. I was wondering if there is a way where I don't have to click on proceed. It's a minor thing, but I am just curious if there is a way, that the Galaxy Nexus could connect automatically. I am using ICS Browser.
Click to expand...
Click to collapse
I know this thread is old, but I have a similar question. I have some java coding experience but haven't ever made an android app.
Anyways, the place I work at just revamped the wireless network, and now we have to login to the network via a splash screen everyday. Very annoying, considering when I pull into the parking lot I auto connect to the network.
My goal is to write an app that will look for the network (say once every 15 minutes) and make sure it can get out (ie make sure the google page appears) if not it will go the url of the spash screen and login you in.
I dont know if all networks using a captive portals are setup the same, but this one allows you to connect without anything, but won't allow data to travel until you login. And also doesn't present the splash screen to login until you open a browser.
Any help would be great. I'm not looking for someone to write this, only a point in the right direction. Thanks
Related
OK so this is bigger than the title I think but I can't be the only person with this issue.
Here in the UK I use the East Coast Mainline train service into and out of London. On that service they offer free wifi and having used it time and time again, it works OK.
But my Desire doesn't like it.
The service works by letting you connect and then redirecting your browser to a log on page where you need to enter your registered email address. Again on other devices this works fine
But on the Desire I am getting an error on the redirect saying that there is a problem with the server. From my laptop, I am having no problem reaching the server to log on.
So I can't use the service.
Now my guess is that the browser is somehow trying to render a mobile version of the page or something so I have tried both the built in browser and Dolphin HD but still the same error.
Now I know that some other hot spots use similar redirected web pages so maybe this is a problem with them. I have not come across any others yet so don't know.
So have anybody else come across this either on the trains I use or with hot spots in general and if so, is there a work around?
Thanks
Sorry if I'm pointing out the obvious but have you put Dolphin into Desktop mode when you tried it?
aljwatson69 said:
Sorry if I'm pointing out the obvious but have you put Dolphin into Desktop mode when you tried it?
Click to expand...
Click to collapse
From what I can see, this is the default setting (I assume you mean the "Mobile view (GWT)" setting)
Has this got something to do with the desire not having proxy support?
Have the same issues in hotels but my iPhone connects no problem.
-------------------------------------
Sent from my HTC Desire
Not quie. If you press Menu and go to "More", and then click "Settings", there is an option called "User Agent". You can change this to Android, iPhone or Desktop. I'd give Desktop mode a go if it's not already on there.
aljwatson69 said:
Not quie. If you press Menu and go to "More", and then click "Settings", there is an option called "User Agent". You can change this to Android, iPhone or Desktop. I'd give Desktop mode a go if it's not already on there.
Click to expand...
Click to collapse
It's worth a try
Has this got something to do with the desire not having proxy support?
Have the same issues in hotels but my iPhone connects no problem.
Click to expand...
Click to collapse
I think most paid for hot spots use these browser redirects when you first connect. I don't think it's a proxy thing though because you would have similar issues on some browsers on laptops etc
Can't find that option in settings anywhere! Is in in the menu option when in the browser?
-------------------------------------
Sent from my HTC Desire
Gooner4_1998 said:
Can't find that option in settings anywhere! Is in in the menu option when in the browser?
-------------------------------------
Sent from my HTC Desire
Click to expand...
Click to collapse
Yeah, just double checked I gave the right instructions and it's definitely in there.
Can't find that option in settings anywhere! Is in in the menu option when in the browser?
-------------------------------------
Sent from my HTC Desire
Click to expand...
Click to collapse
Yeah, just double checked I gave the right instructions and it's definitely in there.
Click to expand...
Click to collapse
Not on mine either, are you using a custom Rom?
-------------------------------------
Sent via the XDA Tapatalk App
eltigroUK said:
Not on mine either, are you using a custom Rom?
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
No, but you know we were talking about the Dolphin HD browser, not the standard one? Sorry if there was any confusion.
It's certainly showing as an option for me so I will give this a try next week and see if it makes a difference.
The problem however is not so much not being able to connect but how the Desire behaves when it finds an open wifi connection with no internet.
What I see is that the device associates to the wifi and gets an IP address.
Because it now has a live wifi connection, it stops using cellular data (3G, GPRS etc).
But because that wifi connection does not allow onwards connection to the internet (because I can't log in via the web page), nothing syncs! So for the duration of the train journey, the phone is not syncing mail etc.
The work around here is to remember to turn off the wifi before I get on the train and back on when I get off but that's a pain to remember each time.
I tried changing the user agent to Desktop (on default browser) as described here but had same problem trying to connect.
http://lifehacker.com/5547037/change-the-user-agent-on-an-android-phone
Possible Solution
Long time lurker and have registered to try and help you out.
I had no problem with other phones on East Coast WiFi until trying to connect with my Desire.
After some messing around this is what you can do;
Try to connect as normal on the default browser and you'll receive the certificate error.
Clear that and input httpwwweastcoastwifi.train/ into the address bar. As it won't let me post links insert the usual Internet punctuation.
You'll then be able to log into the welcome screen as normal and access the internet.
Save the above address as a bookmark to save typing it in each time.
Strangely the access in the East Coast Lounges don't folllow this malarkey and you can just access the Internet without inputting any user details.
Hope it works for you.
Pete
PeteMc99 said:
Long time lurker and have registered to try and help you out.
I had no problem with other phones on East Coast WiFi until trying to connect with my Desire.
After some messing around this is what you can do;
Try to connect as normal on the default browser and you'll receive the certificate error.
Clear that and input httpwwweastcoastwifi.train/ into the address bar. As it won't let me post links insert the usual Internet punctuation.
You'll then be able to log into the welcome screen as normal and access the internet.
Save the above address as a bookmark to save typing it in each time.
Strangely the access in the East Coast Lounges don't folllow this malarkey and you can just access the Internet without inputting any user details.
Hope it works for you.
Pete
Click to expand...
Click to collapse
Good man
I was on the train again today and even messing about with the agent ID, no joy. I did spot the certificate error though so wonder if the Desire is not happy with that.
In the meantime I have tried the phone on other hot spots that have a browser log on screen and it has worked fine.
So it looks like East Coast has an odd setup but I am back on the train on Tuesday morning so will try the above then and report back
Many thanks
No problem, hope it works on Tuesday.
It works!!!!
Thank you so much for this.
In the end, I ended up setting up a bookmark for the URL you gave (eastcoastwifi.train) and then going straight for that. This then avoids the need to cancel the invalid certificate first.
As soon as I clicked said bookmark, I was presented with the correct East Coast log on screen and then bingo. Free WiFi
Of course I had forgotten just how slow it was on the train but never mind.
Again. Many many thanks
Pleased to hear it worked, I wonder many Desire users have just given up! As for the speed on East Coast, I suppose the best thing you can say is that its free and there's usually a 3G reception if all else fails unlike West Coast.
I upgraded from my G1 to the new G2.
I am in the military and currently deployed to Iraq. I pay for wifi internet in my dorm. Using my Laptop or my G1 i am able to connect to a wifi service out here that i pay for. once i connect i pull up the browser and it will redirect me to the log in page for the server (where we have to enter a username and pass to allow acceses to the internet. without entering it we are only connected localy). when i use my G2 i can connect to the wifi hotspot no problem, it shows me "obtaining IP adress" and then says "connected to balad-hotspot" just like it would on my computer or G1. but when i pull up the browser it just goes to a "web page not available" for anything i type in. it wont automatically redirct me like both my laptop and G1 do. i even tried typing in the adress it pulls up on my computer when it loads the log in screen, but still shows me "web page not available" Does the G1 and G2 use the same browser? and if so why doesnt it redirect me? what else could cause this problem or fix it please?
with the new OTA update for wifi calling and sms messages you can see why i would love to have this issure fixed. also if i go to a free wifi area (such as a recreational center, where there is no log in neccessary, just connect and go) i have no problem connecting with my G2. so i know the wifi works with it. it just wont seem to redirect my to the log in page or allow it to come up.
firstly: thanks for what you do for our country.
try a different browser. i recommend dolphin HD
thank you!
hmm ok, ill try looking for that tomorrow. can be found in market?
Yes, it is in the market
Wow, they have WiFi at Balad now? Man, when I was there 3 years ago we had to wait in line for a computer! As the others have said, try using a different browser. I'm always switching between the default and Opera depending on what page I'm trying to access.
Oh yeah, if it's anything like Google Voice, the new update may not work for WiFi calling, depending on what country the IP address you snag is registered to. I had Google Voice on my G1, and as soon as I went to Europe and tried to use it on a WiFi hotspot, I got a message saying that Google Voice was not usable in the country I was in.
Stay safe and don't eat too much Taco Bell or Burger King!
haha ya, but its a HUGE rip off. way expensive and slow as can be. but its really our only option to get interent in dorm so im a sucker and bought it.
and for the goodle voice, hmmm i have it on my laptop and it works with this internet. dont know if it will be different with G2 but we shall see.
I tried Dolphine HD and Opera and still having the same issue. it only ever pulls up "web page cannot be displayed" The Internet guys out here said it was my browser. i confirmed with tmo that the browser is the same for the G1 and the G2. yet it works with G1 and not G2. and still wont work with any of the new browsers. Im stuck and this blows!!!
Hi,
I am currently using a VPN to get into my network & Then accessing my data that way. However to get to it in Gingerbread, I have to hit menu, then settings, then wireless, then scroll down to VPN, then click on my VPN, then put my password in & hit connect.
It would help a lot to be able to just click on my VPN link on the 'home' screen. I cant figure out how to get the shortcut there.
Any suggestions?
Thanks,
Rich
I just tried and you add a shortcut to your home screen, just as you add a widget.
I dont see anything related to a VPN within the shortcut menu or widgets. Any ideas on how to do a shortcut for the VPN?
Tried anycut from the market?
Sent from an Epic in the sky.
Thanks, Anycut might do the trick, of course there is no VPN listed. Is there a way to determine what processes are running in Android? If i could find the VPN process, I could probably get it going.
I believe you can achieve this with Tasker. I know its a paid app but its an option.
As a side note, how did you manage to get tour vpn to work? Are you using ddwrt by chance? Since getting this phone I could no longer vpn over sprints network due to firewall issues. From what I found online if you ask sprint for a static IP it fixes the problem but they charge you a monthly fee. It used to work fine on my old HTC hero.
Sent from my SPH-D710 using Tapatalk
dbldown768 said:
I believe you can achieve this with Tasker. I know its a paid app but its an option.
As a side note, how did you manage to get tour vpn to work? Are you using ddwrt by chance? Since getting this phone I could no longer vpn over sprints network due to firewall issues. From what I found online if you ask sprint for a static IP it fixes the problem but they charge you a monthly fee. It used to work fine on my old HTC hero.
Sent from my SPH-D710 using Tapatalk
Click to expand...
Click to collapse
We use L2TP/IPSEC PSK at work though Sonicwall, and it works great.
I don't have a static IP on my account. Works fine from 3g or my home WiFi.
Sent from my SPH-D710 using XDA
I am using a Zyxel firewall & L2TP also. It works fine but... sprints lousy service seems to stall out, requiring me to re login to the VPN. Yesterday with 1 bar, I was logged into the VPN but there was not enough 3g to actually use any data, but enough to stay logged in for 2 hours & not get any emails.
It works fine & I suspect if i had better 3g (or verizon) it would work OK.
I was using DDWRT & OpenVPN with CM7 on my Evo 4g & it worked but I switched to a new router.
Yeah, missing emails is never good.
We don't have an Exchange server at work (not cost effective enough to make it work properly across 10 locations), so I'm able to access my email with K9 via IMAP or POP3.
It's strange that it worked with one Sprint phone, but not reliably with another. Has data service had a general decline in your area?
Sent from my SPH-D710 using XDA
You should try vpn show. You can find it in google play.
Check the "Launch VPN" app on Google Play
Sorry to revive an old thread. I was looking for this as well and found a way. Just adding if anyone searches for this sort of thing.
Add a shortcut to home screen, select settings, then look for VPN.
This works in my HTC ONE on 4.2.2
I use NFC Task Launcher on my Samsung Galaxy S4.
The following could be a little bit different depending on your phone's make and model and rom type. I did the following.
WARNING: I am not responsible for any damage made to your phone or anybody or anything else during the reading or by following the acts of this tutorial in any way possible.
Click to expand...
Click to collapse
Open up NFC Task Launcher and go through the tutorial.
- In the end you can create you own task.
- When you create a new task just click for NFC.
If you have NFC Disabled, just leave it like that and when it'll ask you if you want to enable it, press cancel. (TIP; if the top bar overlay is bugging with more information, just tap on one of the buttons after explanation to have it's focus come back to the window.)
- Name the task 'VPN' or something.
- Click on the cross (✚) in the right top corner to add an action
- Search for 'Applications & Shortcuts' and select 'Open Activity', then click next at the bottom.
- The application list will load up. Select 'Settings' as an application and the activities list will be updated.
- Choose; 'com.android.settings.Settings$VpnSettingsActivity' and select 'Add to Task' at the bottom.
- Then press the arrow to the right '→' in the top right corner.
- It will say you need to place a tag underneath it. DON'T DO THAT, AS IT WILL OVERWRITE THE TAG. (I hope you still have NFC OFF!)
- Just press the tick mark (✓)
- Now you have at least 1 task in the 'My Tasks' list.
Now, to add this to you're homescreen, do the following;
- Go to your homescreen.
- Add a widget like you would normally do. The name of the widget is 'Run Task', so look for the 'R'.
- There are 3 options there, background color (I personally like the black BG), select Icon (I've chosen the gear icon since its a setting) and select task. In 'Select Task' choose for the VPN task you've made and press 'Done'.
- Now press the task on the homescreen, and it'll open up the VPN list (at least on SGS4 it does).
- Connect to your VPN as you would normally do.
You can even write this to an NFC, but that doesn't make sense, since all it does is open the VPN settings menu, not connecting to the VPN directly.
Sidenote; This app is also handy for making other tasks, such as tweeting your at work, check in at Foursquare, send your boss an email that you're in the office and turn off the sound of your phone all in one task, just by connecting to your works wifi connection or by taping an NFC task.
Now you can easily connect to your favorite VPN easily.
I have a T-Mobile Samsung Galaxy S3 rooted with the stock ROM running (Deodexed_T999UVDLH3.zip). Everything on the phone is running fine, and I have no problems accessing the Internet on either Wi-Fi on my home or public networks or over 4G.
I am having one odd issue, though. In my office, we have a Guest Wi-Fi Network that I have typically connected to. I get 4G in my office, but the Wi-Fi saves on my data plan. Logging into the guest network requires opening the typical splash page and clicking on the button to accept the general terms. Now that I have routed the phone, I cannot log into this guest network.
When I try to log into the wireless connection, I can open the browser, and the splash page comes up, but when I click on the accept button, the phone vibrates once, sits for about five seconds, then vibrates three times quickly and shuts the browser down. The same thing happens if I click the link to open the terms and conditions page. The Wi-Fi connection under settings shows as connected, but I cannot get any data to or from my phone. The Play store times out, and the browser will only load the splash screen for login again.
In searching this forum, I found posts that instructed clearing out all of the cache and the cookies, and I have done this. It did not resolve the issue. I did not find any other posts that seem to relate to this problem.
I am a relative newbie when it comes to rooting, and this forum has been extremely helpful. I'm hoping that someone may recognize what is going on with my issue, and can point me in the right direction to get it fixed. Any help you can provide is greatly appreciated. Thanks!
Hey guys,
I apologize if this has been asked but I couldn't find it on any particular thread. About 10 days ago I started getting T-Mobile's upsell for tethering that I'd (thanks to the awesome developers) been able to successfully evade for over a year. Is there any fix for this? I'm (now) running Lollipop but it happened before upgrading so it seems unrelated. Thanks in advance!
tonesofheresy said:
Hey guys,
I apologize if this has been asked but I couldn't find it on any particular thread. About 10 days ago I started getting T-Mobile's upsell for tethering that I'd (thanks to the awesome developers) been able to successfully evade for over a year. Is there any fix for this? I'm (now) running Lollipop but it happened before upgrading so it seems unrelated. Thanks in advance!
Click to expand...
Click to collapse
There's only one solution working for me right now, but you'll have to buy this app: Wifi Tether Router
Go into /system and make a copy of your build.prop
Open your build.prop with a text editor and add this line all the way at the bottom:
net.tethering.noprovisioning=true
Save the file and reboot your device
Open the wifi tether router app and go to "configure wifi router." At the bottom of the page, there's a button to visit the site for device config settings. Scroll down that page to find settings for Note 3.
Once you're all set up, you should be good to go. Only thing you have to do is use a UserAgent switching app on your browser to make it think you're on a mobile device. I'm using User-Agent Switcher (with the blue globe icon) for Google Chrome.
Hope that helps.
Justinchi said:
There's only one solution working for me right now, but you'll have to buy this app: Wifi Tether Router
Go into /system and make a copy of your build.prop
Open your build.prop with a text editor and add this line all the way at the bottom:
net.tethering.noprovisioning=true
Save the file and reboot your device
Open the wifi tether router app and go to "configure wifi router." At the bottom of the page, there's a button to visit the site for device config settings. Scroll down that page to find settings for Note 3.
Once you're all set up, you should be good to go. Only thing you have to do is use a UserAgent switching app on your browser to make it think you're on a mobile device. I'm using User-Agent Switcher (with the blue globe icon) for Google Chrome.
Hope that helps.
Click to expand...
Click to collapse
Hey, thanks for your quick reply, but with a user-agent switcher, everything works even now. I was hoping to avoid changing my headers because certain sites won't be served to a "mobile" device. Luckily, my internet tv apparently doesn't send any headers because I can still tether unlimited...ly with that, but it's definitely frustrating getting mobile versions of sites on my laptop. I have observed a somewhat strange behavior that I wonder if we can exploit. It's somewhat finicky, but I've noticed that if I Google the name of a site I want to access (still via the address bar, though), the search results come up without TMO nagging me about a hotspot and oftentimes the link from the search results takes me to the site. I can't make sense of it, but as an example, if you try www.yahoo.com, you'll get the hotspot page, but if you google "yahoo" and click the first result, you get taken to the site. *shrug* I'm not smart enough to figure it out, but perhaps this observation will help someone else solve the problem
tonesofheresy said:
Hey, thanks for your quick reply, but with a user-agent switcher, everything works even now. I was hoping to avoid changing my headers because certain sites won't be served to a "mobile" device. Luckily, my internet tv apparently doesn't send any headers because I can still tether unlimited...ly with that, but it's definitely frustrating getting mobile versions of sites on my laptop. I have observed a somewhat strange behavior that I wonder if we can exploit. It's somewhat finicky, but I've noticed that if I Google the name of a site I want to access (still via the address bar, though), the search results come up without TMO nagging me about a hotspot and oftentimes the link from the search results takes me to the site. I can't make sense of it, but as an example, if you try www.yahoo.com, you'll get the hotspot page, but if you google "yahoo" and click the first result, you get taken to the site. *shrug* I'm not smart enough to figure it out, but perhaps this observation will help someone else solve the problem
Click to expand...
Click to collapse
Glad you got it working! Yeah, idk about the Google Search trick, but I'll try it out sometime.