[Q] Proxy Settings - Galaxy S II Q&A, Help & Troubleshooting

Well since not many people have proxy servers at their work, this issue which has been going on since GB (where proxy only affects the browser and not the applications) is not taken seriously. So i am asking a question here, not asking anyone to fix this but actually just asking a question:
Where does android 4.0 save proxy settings. What file, that could be editable stores this data. As in ICS, there is per profile proxy settings which is amazing imho and in CM9 this works flawlessly. However not everything works in CM9 and i wanted to make the latest Samsung Leak XXLPB my daily.
To my surprise when i enter my proxy details, it doesnt save apparently. After entering them and pressing save, it doesnt work and when i go back to advanced settings, it defaults to none and i heard another user complain the same is the case for static ip.
Now i know this is Alpha, Beta whatever you want to call it. But based on my limited knowledge of computers, i know for a fact that this thing can be easily fixed if someone points me in the right direction.
So link in linux there is /etc/resolv.conf which can fix nameserver problems, I did not find a similar file in android. And btw i have to enter ip not the hostname as it seems android still has a dns problem in my intranet which is another issue i like to get guidance in.
Thanks to whoever tried to help.

142 views, no one has an answer ?

Related

[Q] Accessing local intranet

Running Vanilla AOSP Gingerbread 2.3.3, finally managed to get this thing to talk to the local network here at work (it's PEAP authenticated, TnT Lite won't see it).
Now I'm running into the issue of not being able to access local intranet sites with my browser. Instead if just takes me to google search.
Running Dolphin HD right now. Any ideas? I'd really like to use this tablet at work to access the local intranet. If it won't do it, that's going to be a problem.
I would download the program ipconfig from the market and make sure you are getting the correct ip information on your network. Getting the incorrect DNS server can cause this issue. You can also downlond ping from the market and try to ping the internal web address. Just a troubleshooting step that I would starti with.
I was able to ping it using the Terminal Emulator, so that is working at least.
Well...I am getting my Gtab deliverred via fedex tomorrow and will be able to test my local intranet sites with the same setup and hopefully be a little more helpful. I will keep you posted with what I find,
Ok, I was wrong, I can't ping. I was pinging a server that is exposed on the external internet (Oops). The internal-only servers are unreachable. The DNS servers, though, are correct.
This is interesting.
From home I can access my work email through Exchange for Android, no problems. However now that I'm online at work and on the internal network, it doesn't work. I suspect it's because it's on the internal intranet now instead of trying to route to it through the internet.
I suspect that, while Vanilla 2.3.3 AOSP supports PEAP, it doesn't really support PEAP.
A large number of corporate networks use a proxy server; check into that.
pearlyking said:
A large number of corporate networks use a proxy server; check into that.
Click to expand...
Click to collapse
This one doesn't, as far as I can tell.
My iPhone connects to it fine, other people are able to access it with iPads and Android phones.
I'd ask IT for help, but we're technically not supposed to be using it.
pearlyking said:
A large number of corporate networks use a proxy server; check into that.
Click to expand...
Click to collapse
+1
Had the same problem and it turned out to be the Proxy settings.
Got it working.
Now running VEGAn 5.11 and it connects just fine. Not having the issues with the email anymore, either. However some of the intranet sites only pull up if I know the IP directly, apparently the browser has a hard time with port redirection on the URL (it doesn't care for 'evolutionsc:8080' very much at all).
Now I just need to find a browser that can handle JIRA without formatting issues.
ubergeek4l said:
+1
Had the same problem and it turned out to be the Proxy settings.
Click to expand...
Click to collapse
I seem to be having the same problem but I honestly don't know how to update the proxy settings for my work network (which does use a proxy server). I'm using Vegan 511, anyone know how to specify a proxy server for the network connection to use? I can't find anything in the wireless&network settings area.

[Q] New question... Do any of the ROMs support Proxy wifi settings?

I didn't get much response on my previous question about proxy support for the stock rom, so I was wondering if any of the alternate roms include it. I would very much like to have access to the internet at work, but the school district requires loggon through a proxy server (content filter) before you can access the WiFi network. I realize that port restrictions that the district places on the network will likely prevent me from accessing the market, gmail, or voice search. But at school, I would most like to just access flash based educational website for kids.
Any thoughts on this? The district is moving toward ipads as the tablet platform of choice because of the lack of proxy support with Android. But the ipads lack of support for flash really hinders what I want a tablet to be able to do for me. (Yes, I want my cake and eat it too!) Is this too much to ask?
I connect my gtab to my schools wirelesss that is using 802.1x EAP for wireless security. I had to install a mod that changed the settings app and allowed advanced wireless settings. That allowed me to put in the authentication type, domain name, password, etc. Once connected, I ran a mod that set it back to the original settings apps. I asked in your previous post as to whether you are having problems actually getting on the wireless or once on, you can't bet by the web filter. We use websense here. Once I got on the wireless, there was an websense authentication dialog that popped up. Once I put my domain\username and password in, it works fine.
It won't even let me connect to the district network because I don't have anywhere to enter the proxy settings in the wifi set up box.
Assuming you have Pershoot's or Clemsyn's Kernel (or one of the better ROMs), you need something like ASProxy. I use it at work all the time and it does the job. There is a free program called TransParentProxy which is more limited but does allow you to quickly test settings without spending any money.
I do not see a proxy settings in the wpa_supplicant.conf file. My understanding of this file is it lists all possible settings settings available for Wi-Fi configurations.
# This file describes configuration file format and lists all available option.
Click to expand...
Click to collapse
Previously I've only needed to access a proxy after connecting to the network. Perhaps you have run into a problem getting connected to your network using the tablets Wi-Fi settings manager. So connecting to the network might be your first step and then connecting to the proxy your 2nd.
I found the free Wifi Advanced Config Editor (WifiACE on the Android Market) to have a GUI to easily configure advanced Wi-Fi settings not found in the tablet's settings. I realized when trying to set up an advanced configuration I needed to create a new connection in the tablets WiFi Settings with the security of NONE to avoid having some of the wrong settings configured by default. Then using the information from the my network admin I manually set the options via the WifACE GUI, un-checking NONE, and bingo I got connected.
I recommend WiFiACe with one caveat: make sure you have a way (like adb) working and know how to backup, delete, and restore files and that you make a back up of all wpa_supplicant.conf files on your tablet.
My caveat comes because my first reboot after I got connected to the Enterprise network at work the Wifi would not start or run. It would only display "error" and do nothing. Several reboots later it still wouldn't start and without Wi-Fi running there is no way to make configuration changes either through WifiACE or the tablets Wi-Fi Settings. I had to use the adb shell to delete the newly configured wap_supplicant.conf and create a new connection via the tablets Wi-Fi Settings and then make the necessary changes through WifiACE. Once that was done it ran and connected. Now after multiple reboots it still works and connects. Without the ability to delete the file I'm afraid I would have had to re-flash my tablet to get Wi-Fi to work again.
I don't think you've ever mentioned what ROM you're running. If you're running stock, you will have a very difficult time, in fact it may be impossible. If you're running a different mod, there's hope. Now, assuming that you got ClockWordMod (CWM) installed, you can probably be successful in at least connecting to the wireless. If you don't have CWM installed, here's a good place to start:
http://forum.xda-developers.com/showthread.php?t=865245
Once you have CWM installed, go to this thread:
http://forum.xda-developers.com/showthread.php?t=857939
This will give you the zips for installing a differernt wireless config tool that will allow you to put in the 802.1x EAP config. Once you can successfully connect, you back out the the tool you installed.

[Q] APN restore disabled in ICS? why disable features?

did a search for "APN" here and didn't find a thread. anyway
just moved to a leaked ICS build for my SGS2 and the app says that it can't do it in ICS due to the OS not allowing it.
question is, why disable useful things like this? they did it a while back with allowing apps like tasker access to turn on gps (thank you secure settings). i imagine there'll be a workaround at some point but it's annoying to get new features in new versions of android but have other parts taken away. (google giveth and google taketh away).
not a rant as easily worked around but annoying
Totally agree
it was very nice feature. Now I need to switch manually between corporate and internet apn. I hope that workaround will be available soon.
APN available all the network : D for me
The problem is, due to google policy on ics, applications or services can't change your apn settings.
- So you need to switch it manually in mobile network settings, if you are using more than one, it's not very handy.
- Other problem is restoring apn settings but it's based on the same root cause.
Ofc. you can use as much apn's as you want...

Different options to avoid 3 Mobile UK tethering block.

Hi everyone,
I am trying to get my head around on what can be done to bypass the tethering filter on 3UK.
Below are different scenarios I have come up with and would like any volunteers who could try out any of the following for me. Of course I will be doing these myself as and when time permits but its always helpful to have others view on it too.
Please and I say please, do not turn this thread into Right and Wrongs of tethering or Terms and conditions of 3 mobile contracts. Please keep your views to yourself regarding if its lawful or unlawful or ethical or unethical or whatever you seem to come up with. I would like this to be a productive thread, instead of random comments on tethering.
Option 1: Use SSH Tunnel * Should I use SSH tunnel on my phone and use my PC to connect to it to use internet. Is there a reverse option?
Option 2: Use OpenVPN Install OpenVPN on your pc, and connect your phone to your pc using default VPN function on your phone in my case GT-I9100 comes with VPN function. You could also try to reverse this method and install OpenVPN on your phone and use your PC to connect to it. *
Option 3: Use the above two together in combination As the heading says, use SSH tunnel to connect to your OpenVPN.
Option 4: Use a proxy on your pc and connect to your phone or reverse, install proxy app on your phone and point your pc web browser to that proxy address. You could use the SSH tunnel here to connect too.
So, tools at hand are vpn with any encryption available, ssh tunnel, proxy server.
Tools to ignore - TOR (onion), garlic based TOR like, changing User Agent on web browsers or paid VPN.
3 UK has two APN settings, three.co.uk for mobiles (NATd ip address) and 3internet (dongle users) has external IP address and I believe it’s an Open NAT or no NAT.
Please feel free to mix and match any options and also share your views on what is technically possible.
I hope to see something useful and learn a bit more. Even if we fail to achieve the desired results, it will still be enlightening to find the facts on how 3 detects tethering.
I
Code encode decode
Found on giff gaff forum useful info
Well, they have a few ways..TTL: In my opinion, the most likely telltale signal of tethering. For example, *iOS packets originate with a TTL of 64, so if they see anything else they know something is up. This is very easy to check, as the TTL is checked by each router as the packet is handled. (the address on the envelope - doesn't require opening the letter, to use an analog analogy)APN: Another possible sign of tethering is data being routed over the access point set up for the built-in tethering feature. But giffgaff does NOT have a separate APN for Tethering. Again, this is easy to check without deep packet inspection.User-agent: This is where carriers would need to get heavy-duty equipment and a willingness to be invasive to detect tethering. Your browser sends information about itself to remote web servers, and this information could be checked. I do not think giffgaff is doing this (to detect tethering at least,) as it is not proof of tethering since anyone can easily use another browser on your phone that reports a different User Agent.Web Sites Visited: Again, highly invasive, though it doesn't require DPI. If you're using the DNS servers of the carrier, they could look for requests for certain domain names like windowsupdate.com etc. This wouldn't be proof either, though.I would bet that they are using TTL. So tunneling the TCP/IP packets that way probably resets the TTL to the default of the WAN interface on the phone.
Code encode decode
Why do you have to make 2 threads for the same subject?
Well I wasn't sure at the time of writing first one if I had to go down the route of testing which the second one is for. So, the first one is literally to know if its happening to new contracts only and second is for testing different scenarios and finding how.
Hope this helps and if not then jog on.
Code encode decode
Invincible29 said:
Hope this helps and if not then jog on.
Click to expand...
Click to collapse
Less of the attitude please and more of the reading of forum rules. Stick to one thread for the same thing.
Thread closed, use the other one (it was created first).

[BUG] Android 4.3 not handling proxy correctly

Curious if anyone else has experienced this issue? Since upgrading to android 4.3 roms, I have not been able to use my home proxy correctly. Connections to my proxy have been successful, in that, android still reports internet connection, however when using apps (that are blocked on my work wifi) are showing no connection. 4.2.2 roms all work fine.
The app I'm using is ProxyDroid however I also tried setting the proxy in native settings with the same result. Is there a change in the implementation of proxy services since 4.2 roms? Thanks in advance.
Maybe it will work with Drony or SandroProxy
http://forum.xda-developers.com/showthread.php?t=2320008
http://forum.xda-developers.com/showthread.php?t=1737138
unsivil_audio said:
Curious if anyone else has experienced this issue? Since upgrading to android 4.3 roms, I have not been able to use my home proxy correctly. Connections to my proxy have been successful, in that, android still reports internet connection, however when using apps (that are blocked on my work wifi) are showing no connection. 4.2.2 roms all work fine.
The app I'm using is ProxyDroid however I also tried setting the proxy in native settings with the same result. Is there a change in the implementation of proxy services since 4.2 roms? Thanks in advance.
Click to expand...
Click to collapse
Drony, is the wrong kind of proxy (server not client). SandroProxy isn't working either though (I mean in 4.3), however its very difficult to use; It's possible I screwed up setting it up (still was showing 'listening 127.0.0.1').
Drony is subset of SandroProxy so it acts the same way. You probably need just Drony.
http://code.google.com/p/sandrop/wiki/HowToUseDronyWithOtherProxy
unsivil_audio said:
Drony, is the wrong kind of proxy (server not client). SandroProxy isn't working either though (I mean in 4.3), however its very difficult to use; It's possible I screwed up setting it up (still was showing 'listening 127.0.0.1').
Click to expand...
Click to collapse
Interesting implementation. Perhaps I will try it again. I'm curious is there a widget for quickly connecting/disconnecting from proxy's? Unfortunately running through my house its not a very fast connection (one of the biggest reasons I went with ProxyDroid, there is a quick connect/disconnect).
Drony will go on if active wifi has proxy set on localhost 8020.
It goes off if wifi goes down.
What can you miss with Drony is that not all apps will work.
For example WhatsApp do not respect androiod os proxy settings.
To have all working you need rooted phone and SandroProxy.
It install his own local copy of iptables to redirect all traffic.
But has more features and it is harder to set up as you find out .
It is more a developer tool than a plain proxy.
There is some wizard to help you out.
And acts the same way as Drony listening if active wifi has proxy set that points to it.
unsivil_audio said:
Interesting implementation. Perhaps I will try it again. I'm curious is there a widget for quickly connecting/disconnecting from proxy's? Unfortunately running through my house its not a very fast connection (one of the biggest reasons I went with ProxyDroid, there is a quick connect/disconnect).
Click to expand...
Click to collapse

Categories

Resources