How do I setup proxy on wifi? - Hero, G2 Touch General

Is there a working solution for this? cos i've searched the forum and apparently there is none. Can't believe the latest HTC Hero, the best android phone HTC can offer currently, has no proxy setting on wifi. It's like a big joke to me. I wish I had researched before I bought it
anyway, I've tried the "any cut" to create a shortcut to proxy settings and set accordingly, doesn't work.
Please anyone if you have a working solution, please share it with us.

openvpn
http://android.modaco.com/content/software/291919/openvpn-on-android/

thanks for you help.
but I dont think openvpn is the answer here...because in many places (my office for one) you can only access the web through a http proxy server. and htc hero doesn't allows that. not to mention the openvpn thing, which only works by connecting to a certain port which obviously is not allowed in such environment. openvpn can connect to a 443 port too but hey, we need to have a working http proxy first then we can connect using https, and the proxy server need to support https proxy...but that's not relevant here. so i cut the crap.
thanks anyway
any other solution to this android can't support proxy settings on wifi thing?

I don't know if this could work but try to mount the filesystem with write access through adb (I don't know how to do that), find one file that is used as a startup script (I don't know which one is it either) and place the following lines there:
Code:
export http_proxy=http://myproxy:port
export ftp_proxy=http://myproxy:port
Reboot the device, open a terminal (in the device) and type echo $http_proxy and see if outputs what is supposed to. If it does, maybe you're all set and you just need to test the web and see if it really works.
Sorry for not being able to help you with some of the steps but this is my basic linux knowledge kicking in, my android linux knowledge is below basic and I have no time to explore it further at the moment.
I'm curious about the results though .

http://code.google.com/p/proxysetting/
EDIT: doesn't work on cupcake apparently.

Related

i've looked everywhere, seriously. -remote desktop

any detailed how to guide?, i can do it, i'm fairly tech savvy, so i just need to kneed out a few things. maybe if you caould start from the beginning and i can see where i went wrong.
logmein.com works, but i want something more personal, just bewtween the computer and my phone. somerthing that looks good and scales full screen preferably.
please guys?, point me in the right direction.. all the posts just keep saying to search and there's lots of info, but there's no step by step guide.
thanks guys!
ok i got it going.
first go to the computer you want to connect to and go to control panel / system
click on remote, enable remote users
go to start menu, run. type cmd
in command write "ipconfig /all"
take note of your ip address
on your phone go to remote desktop,
computer = your ip address
username = (go to startmenu, control panel, user accounts) use one of those names.
password = blank unless you have a password.
domain = i left blank.
connect full color unless it doesnt work for you
if you can connect and you get a password error
type the error you get inot google and you should get a fix as your first link.
try that.
blam, remote desktop, it's awesome.
Nice how-to...
this is the most succinct tutorial on how to do this that I've seen. I'm still having trouble, though. I get the "Cannot connect. Likely reason are: 1 the remote comupter is not set up for this. 2. Reached the maximum number of connections. 3. A network error occurred while connecting."
I have set up the XP PC, & taken down all firewalls. I only have one user account and it has a password. I've even tried using Hamachi with one of their VPN ip addresses (awesome and free for pc2pc). I 've combed trhough my router settings too, and tried to clear everything there, too. I can RD from an XP laptop, so ti seems to be something on the unit, to me. I've also setup file sharing w/ Total Commander (it's served my purposes amply).
I really have googled & googled & googled. If anyone has any idea what is going on, I'd be grateful for some ideas.
Have you enabled the RDP on the host computer?
Right click my computer
Properties
Remote
Then enable allow user to connect remotely.
Will only work on XP Pro, or Vista if you choose to allow older clients which they scaremonger you against by saying it's less secure.
Danke!
I've been scared away from Vista for the usual "new" OS reasons, but perhaps it's getting to be time for me to haul my old conservative back-end into the modern world.
Thanks so much for taking the time!
(and to Biohead: yes, I followed the instructions I lauded so vehemently.... ???)
you're running vista?
and you haven't been able to connect still, right?
sorry i could walk you through xp, but man vista sucks, i wouldn't touch it with a 10 foot pole.
i'm setting up remote desktop on my iphone
hahaha totally referred to this guide
and it sucks, so i'm sticking with vnc
man, i miss my exec/universal
dutchschultz said:
any detailed how to guide?, i can do it, i'm fairly tech savvy, so i just need to kneed out a few things. maybe if you caould start from the beginning and i can see where i went wrong.
logmein.com works, but i want something more personal, just bewtween the computer and my phone. somerthing that looks good and scales full screen preferably.
please guys?, point me in the right direction.. all the posts just keep saying to search and there's lots of info, but there's no step by step guide.
thanks guys!
Click to expand...
Click to collapse
Hope this helps
http://forum.xda-developers.com/showthread.php?t=366312
http://forum.xda-developers.com/showthread.php?t=294524
orb3000 said:
Hope this helps
http://forum.xda-developers.com/showthread.php?t=366312
http://forum.xda-developers.com/showthread.php?t=294524
Click to expand...
Click to collapse
you, my friend, are awesome
A possible solution for those of us on T-Mobile's standard web n walk
Sorry to resurrect this thread, but I thought I'd post my experiences here in case anyone else (like me) searches for a solution to enabling RDP on T-Mobile (UK at least).
I was having the same problem with remote desktop, it saying that the server was not available. I phoned up T-Mobile's helpdesk as recommended here and after getting past first line support (who didn't know what remote desktop was, and tried sending new connection settings to my phone to resolve the issue) I got through to someone who knew what they were talking about. Turns out that I'm on T-Mobile's "basic" or "handset-only" web-n-walk package, and it's not possible to use RDP on this. I assume they block the relevant ports. They told me that I could pay an extra fiver a month to upgrade to a version of web-n-walk which can handle RDP.
Well I told them I would think about it, but instead tried to find a way around it as the one or two times I need to use RDP are certainly not worth a fiver a month. My solution is probably only suitable for the more techy of us, but without much work and with no prior experience I managed to set up a SSH tunnel using FreeSSHd as a server running on my windows server (although a normal windows box should work fine - http://www.freesshd.com/) and zaTunnel as a client on my phone (http://www.zatelnet.com/zatunnel/main.php). Both programs are free.
Basically my phone takes all RDP connections and tunnels them over SSH to my windows server, which then turns them back into RDP connections. T-Mobile have no idea I'm using RDP, and if they block the SSH port in the future I can always change FreeSSHd to run on port 80 (for web). This will also work for other protocols T-Mobile might be blocking (FTP springs to mind).
Just thought I'd post this in case anyone was in my situation of needing RDP on their standard web'n'walk.
Edit Sorry posted this in the wrong thread! Will leave this post up however just in case someone finds it useful
echolock
Many thanks for the above have been searching everywhere for a fix to this. I am the same as you T Mobile (UK) and can't connect.
Could you give some additional advice as how you got the RDP to work.
For the record I can connect by Wi-Fi and by using a PAYG sim from a different carrier. However, I am on a contract with T Mobile and don't want to carry a different sim just to use the RDP.
I have installed both apps. I can make a connection from zaTunnel on Port SSH:24 to the freeSSHD server (SSH - listening on port 24). Other than adding a User and changing the default port to 24 there are no other changes I have made in freeSSHD.
Under the connections tab in zaTunnel I have left Network: Automatic with the other settings relevant to make a connection.
Under the ports tab of zaTunnel I have
LP> 3389,
IP/URL . IP of the desktop I want to connect to of 192.168.1.10
>RP 3389
When I the start the Remote Desktop app under my Windows Mobile 6.1 it indicates connecting the fails as before.
Also forgot to mention freeSSHD is running on the desktop I want to connect to.
Sure thing.
When you run Remote Desktop under Windows Mobile, make sure you connect to "localhost" NOT to the IP of the desktop you want to connect to.
Your other settings seem correct to me.
To attempt to explain a little, basically what happens is as follows. For simplicity's sake I will have three machines, your phone, your SSH server and your RDP server (although the latter two can be the same).
On your phone:
1) Remote Desktop connects to localhost on port 3389.
2) zaTunnel is listening on localhost on port 3389. It echos all commands sent to this port out on port 22 over your cellular connection to your SSH server, also providing details of your RDP server and port.
On your SSH server:
3) FreeSSHd receives the commands sent over port 22 and is told by zaTunnel to convert them to commands sent to your RDP server using port 3389.
On your RDP server:
4) Remote Desktop receives a normal RDP request over the normal port from your SSH server.
5) Responses are sent to your SSH server.
On your SSH server:
6) FreeSSHd receives the RDP responses, and sends them back to your phone over port 22.
On your phone:
7) zaTunnel converts the commands sent over port 22 back into RDP commands sent over port 3389.
8) Remote desktop receives a response from zaTunnel and thinks it's connected directly to an RDP server on localhost. In actuality it's connected to your RDP server using an SSH tunnel provided by zaTunnel and FreeSSHd.
Hope this makes sense, I'm not very good at explaining this!
Ah found another problem. The IP of your desktop you say is 192.168.1.10 - this is a local IP address so will only work on your local network.
Go to a website like http://whatismyipaddress.com/ from the machine you run SSHd on to find out what your current "external" IP address is. Bear in mind that most home broadband connections have a "dynamic" address which is allocated to you and might change from time to time - you can always use something like http://www.dyndns.com/services/dns/dyndns/ to set yourself up with a static hostname, and run a program on your machine which updates your hostname with the correct IP address every time it changes. Some routers have this functionality built in.
Thanks for the quick response and explanation.
Between posting and reading your reply I had worked out the RDP app needs the localhost or the IP 127.0.0.1.
I had come back here to post, so others would know in future.
Your other point you raised about the desktop IP. I have used this only in the ports tab on zaTunnel. The connection tab has a proper mydomainname.com address. (Provides email and a webmail interface).
Anyway, can connect now and thank you again in solving this for me. (If your in Leeds I will buy you a beer).
Ah yeah the 192.* address would work on the ports tab, fair enough. Might be worth pointing out if others read this that this is only the case if the machine you're trying to RDP to is on the same local network (or the same machine) as the machine you have FreeSSHd running on.
But good to hear you got it working Now hopefully T-Mobile won't cotton-on and decide to block port 22 too...

Help with my Vogue on android....

Okay So I am pulling my hair out here... I just booted android on my Vogue for the first time, everything works great, voice calls and sms.. But I can get a Inet connection but I am using Cricket not sprint so I added the username and password lines in default.txt and can connect, but Cricket uses a proxy for all http connections. So I found this article http://fggarcia.blogspot.com/2007/11...-emulator.html , which basicly says to use the adp app that comes in the sdk to add some lines to make the proxy. NOW, here is my problem... I can not for the life of me get my come (in windows or linux) to see my vogue while its in android..
In windows it does not appear ANYWHERE in the device manager... So I cannot install the driver, and in Linux it doesnt make a blip in dmesg..... USB debugging is marked and so is use adb....
It does charge when plugged in to the comp running linux.....
Can anyone please help me... And thanks to DZO and everyone else for there hard work on this project..
Did you use Togga (app installed in Android). Something tells me you didn't.
Yes I am using Toga, I go in and click connect and it says it is connected... is there anything else I need to do after that?
I think I misunderstood what you were asking. Are you trying to tether it with your computer? If so, that isn't possible.
No I only wanted USB to use adb to add the proxy settings in a db, I tried that but it still didn't work. My Provider uses a proxy (wap.mycricket.com:8080) for all http connections. I Have Toga working and it will connect, but without the proxy info nothing can access the web... Please if anyone has any ideas please let me know. Thanks ahead of time.
BruteSource said:
Cricket uses a proxy for all http connections
Click to expand...
Click to collapse
you can use an app called anycut to add shortcuts to whatever you like to the desktop- one of these being PROXY settings shortcut, but it doesn't let you authenticate! i thought that was what the lines in default.txt were for, but alas...
i have tried the squlite3 method from the terminal and this failed as well :/
I just edited the default "android" APN setting in the connections options. Only changed info needed like user name, password, proxy, port - i think thats it. It now allows me to connect to the net, but for some odd reason wont allow me to sync with my google account.

Proxy auto-config PAC file?

Hi guys, I'm one of the many people having problems connecting to the internet over wifi with a proxy. I just can't get it to work. I am using my university wifi network, and I can connect to the network fine, access the login pages, and browse the university intranet fine, but cannot connect to any outside pages.
The uni provides a PAC file (and strongly recommends it's use) but there doesn't seem to be any way to use this in 6.1. Does anyone know of an app or anything that can configure proxy using a PAC file?
(I have tried connections-connection-advanved-select networks-new and entering the proxy manually but just doesn't work.)
Cheers.
Same problem here...
Not sure about the PAC file but you can use TransProxy or AutoProxy to configure the proxies in your phone. Open the PAC file using a Notepad and it should show you the Port and IP address of your Proxy Server. Use that information while configuring the proxy software.
I know this is old, but this is an ongoing problem and I figured out how to use a .pac proxy file! After reading about proxy's and what .pac files are, I stumbled upon a little hint and after a little tinkering I was able to use my work's wifi that uses an auto-config .pac file and my phone and tablet has full internet access with browser, apps etc including Netflix for example.
Here are the steps you need:
1) Your phone has to be rooted to take advantage of the proxy apps on the market, I personally use ProxyDroid, which is free and has a feature to bind certain proxy profiles to automatically turn on when a certain wifi network is connected.
2) Usually there is an option that gives you an http proxy pac file to manually input to your browsers or what not, so whatever the link is, put it an active internet browser to download the pac file (an example of the url with the pac file would be something like http://internet.xxxxx.com/proxy.pac)
3) Where ever you download the pac file, open it with notepad or wordpad and this will reveal all the proxy info you need in order to access the proxy enable wifi. What the ProxyDroid app needs from the PAC file is the Host url and Port number. When you open a PAC file in notepad, you'll see something like this near the top along with a bunch of other things under it:
"Cisco Remote Envelope Service
if (dstHost=="internet.e-mail") {
return "PROXY internet-x-x.xxxxxx.com:9090""
- So in "Host" under Proxy Settings in the ProxyDroid app you would input: internet-x-x.xxxx.com
- For the "Port" you would put input: 9090
4) After inputting those 2 pieces of info into the ProxyDroid app, turn the wifi on for your Android Device then enable to ProxyDroid app, you should able to connect to the proxy enabled wifi!
*Some notes for the ProxyDroid app.
- It allows for Authentication, but since my work wifi does not use that, I'm not sure how it would work
- For Proxy type, I set it as an HTTP
- I binded the specific proxy profile to my work wifi so it would ProxyDroid would automatically enable when work wifi was detected
Hope this bit of info helps other that have Android devices and were unable to use a proxy enable wifi to finally access them. Hopefully in the future, Android will make using proxy and pac files a lot easier like how it's done on the ipad where they allow you to manually set up proxy settings by having the device download the PAC file.
This works on both a rooted AT&T HTC Inspire and a HP Touchpad running CM7 Alpha
If anyone is reading this, there is an easier way. Check out Autoproxy on the market. You can add a new proxy, put in the address to the proxy.pac file, and it will connect to the correct proxy everytime.
That's also useful if you're on a network where they keep changing the proxy (like the place I work). It auto-connects to the proxy when you're on that network, so it's set and forget.
Thank you, dtothesquare. I finally managed to connect my Galaxy S to my university's wi-fi, something that I couldn't do for over a year. The university doesn't officially support Android. I must have done dozens of Google searches to find this. Your advice really works, I'm so happy!

Proxy Settings

Hello
I hope I'm posting this in correct area!
I have several WM devices (6.1 and 6.5, Professional and Standard - e.g. Touch 2, Snap, Tytn2), connecting to an exchange server for mail, calendar etc, and they also go through a proxy server for web access .
I want to find an easy way to change proxy server settings on them all without having to go in and manually change proxy server IP address and Port. I've done some searching on here and web in general, and subsequently messed around with creating a CAB file, and an XML provisioning file but neither worked (I found some provider specific proxy settings in registry but maybe these are red herring?)
Then I realised my creations would probably never work anyway because they're unsigned apps which aren't allowed on devices connecting to my exchange server!
Am I missing an obvious and much easier method? Any ideas on best way to approach this?
Thanks in advance
Mantog
Very nice idea, but I don't know a solution.
Where are the IP-adresses stored?
If it works with registry settings, a cab file should be sufficent.
I'm trying to find a way to do this, but hopefully someone already has a solution.
playdo

[Q] File sharing outside network

OK, so right now I've got a folder on a windows xp machine shared across my home network via smb. I want to take this to the next level and be able to access it everywhere. I need to be able to get to it on Android and write access would be nice but not necessary. I've been googling around and all I've been able to gather is that smb is a bad idea. What would be the best way to go about making this happen?
Tyfighter said:
OK, so right now I've got a folder on a windows xp machine shared across my home network via smb. I want to take this to the next level and be able to access it everywhere. I need to be able to get to it on Android and write access would be nice but not necessary. I've been googling around and all I've been able to gather is that smb is a bad idea. What would be the best way to go about making this happen?
Click to expand...
Click to collapse
Use the filezilla ftp server, setup the port you want to use and the password and configure everything accordingly. (I can help)
And then setup port forwarding on your router.
Then install "Turbo Ftp Client" from the google play store.
Set it up with the external ip address of your network and the port that you forwarded on your router.
And bam, you could access anywhere.
Google is your friend, but if you've searched and read about the stuff listed above, I will be glad to help guide you.

Categories

Resources