• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Browse the web from a tethered phone

Make sure you have the "start socks" button on the G1 tetherbot program on. If it's still not working, make sure you have "USB debugging" checked according to the instructions given at the website. That should clear up the problem.

Set to debugging mode, unmounted, and start socks button is pressed, still a no go. I'm going to try the other program you mentioned and see if i have any better luck.... :(
 
Upvote 0
Seems that a few people besides me had a problem to get the tool to work with Firefox. I had everything working, and even confirmed that I could access the proxy with "telnet localhost 1080". But I kept getting "Address not found" in Firefox. Turns out that DNS via SOCKS is disabled by default in Firefox - at least on my system (Ubuntu 8.10, Firefox 3.0.8). The solution was to: - Type about:config in the address bar of the browser - Search for DNS - Change network.proxy.socks_remote_dns to true I hope this helps somebody - Graham, maybe it's worth while adding this to the SOCKS Proxy configuration description? Thank you for this amazing app! - Michael
 
Upvote 0
Just posting to verify it does work although it took me hours of diddling...

Some observations augmenting the Tetherbot instructions...

Download and install the current Android SDK (1.5). Note that if you've been tethering using the USB driver from the earlier SDK, you may need to update the USB driver.

I <highly> recommend completely power cycling the G1 to clear out all the junk and make maximum resources available. Until I did that, I kept getting partial connections. Also power cycling while connected by USB seems to cause the USB driver to be re-recognized and probably update.

Note that the power cycling recommendation should address all the recent posts about unrecognized devices, blank/white pages loading without errors and more.

Install the Firefox FoxyProxy plugin. Add a new Socks 5 Proxy configuration for Localhost:1080 and to support DNS queries using the proxy.

Open only a maximum of maybe 3 instances of Firefox and maybe 5 total tabs. My initial trials seem to indicate that more connecctions might be overloading the poor phone's limited hardware.

Good luck everyone... Yes, it seems that running Tethrbot does not require root access and works fine with Cupcake (Android v1.5). And, this applies to Vista SP1, fully patched... No need to roll back patches as recommended earlier in this thread.
 
Upvote 0
Great job grahamsz!

I owe you a pizza whenever you'll come to Italy ;-)

However I suggest to include the following quote in the Tetherbot homepage (or in a brand new FAQ section of it!):


Okay i got it to work using an Add on from Firefox

Download FoxyProxy from mozilla page..
https://addons.mozilla.org/en-US/firefox/search?q=foxyproxy&cat=all
-----------------------------------------------------------------------------------------------------
Open the FoxyProxy Options

Proxies ----->

Add New Proxy ------>

General (Check enable,Proxy Name: Tetherbot, Leave blank Proxy Notes, Select Animation icon & Include this proxy) ---------->

Proxy Details (Select Manual Proxy Configuration, Host name: localhost Port: 1080, Select Socks proxy?-Socks v5) Click ok a warning message should appear saying "You didn't enter and enable any white....." Hit yes

Tools/FoxyProxy/Use Proxy "Tetherbot for all URLs

Now refresh your page and see if you are able to go online..



------------------------------------------------------------------------------------------
Update: Make sure you to Check "Use SOCKS proxy for DNS lookups" Is Under Global Settings.

I've spent at least two hours trying over and over again with the Firefox proxies settings before reading this ;-)
 
Upvote 0
I used this app before.. works like a charm, but for whatever reason.. on my new laptop (windows xp).. the computer automatically installs the drivers.. it doesn't prompt me like it did before during installation to locate the correct drivers..

what am i doing wrong?

the drivers it automatically installs are for access to the sdcard..

before I would plug in my phone.. and it would prompt me there is new hardware and it would take me through the wizard where I could inform the computer were to find the right drivers... now it automatically installs the drivers and they aren't the right oneS!!!

Any help pls!
 
Upvote 0
After debugging the "White Page" problem for a while I gave up on it (followed instructions and suggestion found previous in this thread). In short the problem seems the socks server is not starting properly, the forward works fine and in the log of the phone I can see the connects.

So I decided to try a different approach using the port bouncer. I guess this solution is some what hacky and a bit more advanced, however it works well so I decided to share it anyway.

Rough ingredients:
* A box to which you have ssh access
* A proxy server on that box (I installed tinyproxy on mine, nice and easy)

I started out with testing the Port Bouncer, I entered the IP address of the box I have ssh access to and of course the ssh port number which is 22. And hit the start tunnel button.

Next I told adb to do the forwarding:
adb forward tcp:4444 localabstract:Tunnel

And then a quick test with ssh:
ssh -p 4444 user@localhost

That should land you in the remote shell of your box, eureka.

Next thing for me was installing tinyproxy, noted the port it is running on in my case 8888.

Last thing to do is setup the ssh tunnel:

ssh -p 4444 localhost -L 9999:localhost:8888

As expected this worked as well. Basicly this connects the remote proxy port (8888) to local port 9999. So last step is to configure your apps to use proxy server localhost with port 9999

It all works well for me, chatting, browsing, irc, etc etc. I did this on my mac so I don't have to deal with driver versions but other then that this should work fine on any platform (windows users should use something like Putty ssh).

Last thing I did was adding a shell alias to the adb command and the ssh tunnel command so I only have to type a small command to set it all up.

So another poor mans version to tethering with Andriod :eek:
 
Upvote 0
I used this app before.. works like a charm, but for whatever reason.. on my new laptop (windows xp).. the computer automatically installs the drivers.. it doesn't prompt me like it did before during installation to locate the correct drivers..

what am i doing wrong?

the drivers it automatically installs are for access to the sdcard..

before I would plug in my phone.. and it would prompt me there is new hardware and it would take me through the wizard where I could inform the computer were to find the right drivers... now it automatically installs the drivers and they aren't the right oneS!!!

Any help pls!


Solved my problem with a little help from the folks at PDANet :)

I guess I uninstalled and reinstalled my phone too many times on my laptop, so it was picking up the wrong drivers.. so PDANet suggested I remove all usb drives installed for Android.. I had like 8!!!

I used this tool: USBDeview - View all installed/connected USB devices on your system
(the link to download the tool is toward the end.. after the 'feedback' section)

I removed all the android/htc drivers.. then plugged my phone in.. and it prompted me to locate a folder to install the drives like before!! and now I'm up and running!!! woo hoo!!
 
Upvote 0
I am about to attempt to get tethering setup on my G1 and have several simple questions. I can clearly see that tethering on the G1 seems to work well for the majority of the people who has installed the apps. My question is, with Google pulling tethering applications from their site has anybody had any problems getting tethering to work thru their T-Mobile provider?

I'm sure many of you have seen the article below from Cruchgear.com. What are your comments and should I continue to get tethering setup on my G1 ?

Thank you,

P.
========================================================
T-Mobile G1 tethering not looking good, my friends
by Doug Aamoth on April 2, 2009


Bad news, you guys. Looks like after Google pulled all tethering apps from the Android Market, it had a change of heart and re-published them all. Problem is, the new terms of the tethering apps stipulate that they
 
Upvote 0
It took some time with fidgeting and reading different info about the web, but finally got it working.

I realized it was a matter of being patience.

Tetherbot is a bit finicky and sometimes I need to start stop socks, or adb forward/kill-server a few times but when it works, it works flawlessly.

And the download rates I've gotten are impressive. I've seen as high as 106k.

And just got the port forward going with putty to my work machine and this is sweet. Very nice.

It does stop working at some point sometimes and takes many steps to get it back going again at times, but there are times when it has worked for hours flawlessly.

Am I going to get dinged by T-Mobile at some point? I am doing lots of downloading at the moment but that's only because I built a new machine and am installating/download my software.

Anyways, absolutely great program, and the key is patience.

I realized when I first tried and it didn't work i was simply because I had to go throught the steps in different orders to get it going.

So, with all that said, is there anything that will make this more 'stable'?

For what it does and the fact that it's my only net connection here where I live, I really have no complaints which warrant what I would call a glaring problem with the program that needs to be fixed.

I look forward to updates/changes/functionality.

Ron
ronaldljohnson@gmail.com
503 473 3711
 
Upvote 0
Grahamz, Can we get this extended to support FTP also.. Our PC applications use MFC , IHttp, IFtp classes to connect to the server using tethered connection of the phone. Looks like this app currently supports FTP over HTTP. but can we extend it to talk to a FTP server (using FTP protocol) and download files...Also can we get the PING also implemented ?
 
Upvote 0
Additionally, I discovered I could connect to multiple ports and multiple tunnels by changing the appropriate values.

I had 2 ssh sessions going (to the same machine. port 22) and also concurrently had a vnc session going to completely different application and port (vnc, port 5903).

And browsing the web worked with all of this going at the same time.

It was a little more flaky however and more likely prone to crash however i did have a sustained session going for an hour.

Very nice.

I am getting a regular internet connection here pretty soon so I won't be using this much but it will be perfect for long commuter train and bus rides with my trusty Powerbook G4 Aluminum 1.67ghz.

All of the above I was doing on my WinXP box.

Ron
PS. Graham S. Do you live in Portland Oregon?
 
Upvote 0
Hey Stewart,
brilliant work!


I've been using your tetherapp with great success. I'm at our cabin where we don't have any other internet options. I really like that you don't have to jailbreak your phone. I am getting normal http operation to work as well as https, ssh etc. I've been using tsocks and proxychains with success too, as long as dns requests are not involved.

I have had to configure firefox to do dns lookups through the SOCKS server. Other apps cannot seem to use dns. I am wondering if it would be possible to work with your app and add some sort of dns relay support.

Is the source code available? I've found http://graha.ms/androidproxy/proxysrc.tar.gz, but that seems to be an old http-proxy. Is the code for Tetherbot available too perhaps?


Kris
 
Upvote 0
Hi,

I got the entire setup to work except for the following problem.

Firefox is only able to use the proxy when there is at least one other network adapter [e.g. my lan] is connected. In case the LAN is connected Firefox does not use the LAN but uses the proxy. So all my proxy settings are correct, adb is running well and the phone is actually proxing the data.

However the moment I diconnect the LAN, firefox comes up with a message stating "Offine Mode" ... see image below...

acfjmx.jpg


Also below are the proxy settings from the about:config

2ceri2w.jpg
 
Upvote 0
Hi,

I got the entire setup to work except for the following problem.

Firefox is only able to use the proxy when there is at least one other network adapter [e.g. my lan] is connected. In case the LAN is connected Firefox does not use the LAN but uses the proxy. So all my proxy settings are correct, adb is running well and the phone is actually proxing the data.

However the moment I diconnect the LAN, firefox comes up with a message stating "Offine Mode" ... see image below...

Root your phone and you can get wireless tether. No proxy workaround -- just connect to your phone, with wifi, or Bluetooth, and surf all you want.

This is the guide I used to root
http://androidandme.com/2009/05/gui...r-rooting-your-android-g1-to-install-cupcake/

This thread has a lot of good info about rooting too.

http://androidcommunity.com/forums/f12/rooting-your-g1-made-easy-11825/



And here is a link for wireless tether

http://code.google.com/p/android-wifi-tether/


Oh -- and if you root your phone -- I suggest Cyanogen's ROM's. and Cyan's recovery image. You can find everything Cyan, here....
http://www.cyanogenmod.com/
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones