| While the method below should still work to tether your T-Mobile G1 or other Android device, I no longer recommend it. There is a much easier way! It’s called PDANet. You can download the software by going here: http://www.junefabrics.com/android/index.php
You DO NOT need to purchase this software. The free version should do everything you need it to if you’re just browsing the Internet. If you’re a web developer, purchase the $30 version as it will give you support for things like FTP. |
One of the things I like my most about my T-Mobile G1 is that I can tether the mobile phone to my laptop and use my mobile phone’s Internet connection to browse the web. Tethering isn’t anything new, but most cell phone carriers simply won’t allow it. They want you to go buy their expensive AIR cards and then pay an additional $50 – $75 per month for service.
Graham Stewart, from Boulder, Colorado created a very nice little Android app to tether the G1 to a laptop (or any computer for that matter).
Here are the instructions to get everything set up:
To get on the Internet, you’ll need to do a few things.
1. Open a cmd prompt (Press the windows icon and type cmd in the search bar). You need to navigate to the directory that contains the adb.exe file. In my case, I just downloaded the ADB utility (see above) and not the entire Android SDK platform. I unzipped the ADB utility into a folder called “Android” on my C: drive. Now in the cmd prompt you’ll type cd C:\Android
Now you need to type: adb forward tcp:1080 tcp:1080
If all goes well you should receive something that says “Daemon started successfully” (and then the window will appear to close). The program is still running in the background so whenever you’re done using the Internet you should close it. Press Ctrl+Shft+Esc to open the Task Manager. Under the Processes tab, close the file called adb.exe to exit the program.
Tip: I created a simple shortcut on my desktop (right click on your desktop and select New Shortcut) to skip having to open the cmd prompt and enter the forwarding command each time. If your adb.exe file is located in a different folder than mine below, just change the path to match yours. Here is what my shortcut looks like.
C:\Android\adb.exe forward tcp:1080 tcp:1080
I also changed the icon of the shortcut to a cell phone because I’m cool like that.
2. Using Firefox is the best way to browse the web using this tethering app. You can use Internet Explorer but I’m not making a tutorial for installing the proxy program with IE. IE is scary.
Anyways, using Firefox, go to http://www.foxyproxy.com and download the plugin for Firefox. Firefox should install it and then restart. Once Firefox has restarted you should see something in the bottom right corner that says “FoxyProxy: Disabled.” Right click on that and select Options. Click on the Global Settings tab and then select “Use Socks Proxy for DNS Lookups”. It will make you restart Firefox again… do so.
Now left click on the “FoxyProxy: Disabled” in the bottom right corner once. Click on the tab that says Proxies. On the right, click on Add New Proxy. Make sure Enabled is checked and then give it a name. I named my connection “G1″ but you can name yours whatever you’d like. Now click the tab at the top that says Proxy Details. Select Manual Proxy Configuration and enter the host name (which is localhost) and the port (which is 1080). Check the SOCKS proxy box and then choose Socks v5. Click OK at the bottom of the window.
You’re so freakin’ close now!
Now that you have TetherBot installed on your phone, you’ve added the adb utility to your laptop and you’ve configured FoxyProxy in Firefox you should be able to give this thing a whirl.
These are the steps you’ll need to take each time you launch TetherBot
The port bouncer will let you connect to a single port on a remote host. This works well if you need to establish an SSH tunnel to your home machine.
This should work for TCP only vpns (openvpn can be configured in this mode) but it wont work for Microsoft PPTP (because it’s GRE based) or most typical openvpn setups (because they are UDP based).
Windows: adb forward tcp:4444 localabstract:Tunnel Linux/Mac: ./adb forward tcp:4444 localabstract:Tunnel
ssh -p 4444 user@localhost
and you should be routed through to the server in question.
PDANET doesn’t support HTTPS after it expires – making most sites that require logins unusable.
I switched back to tetherbot after PDANET expired as it became mostly useless without HTTPS support.
I no longer recommend the method above. It’s a bit complicated for most people. Just download PDANet for Android from here: http://www.junefabrics.com/android/index.php
[...] the steps at cp.blog, which are, in [...]
Everything went ok unttil I put it my paths. It said daeman starting successful then it went to say “error: device not found”
i installed adp on my laptop which runs on windows vista cause this is the only laptop i am not able to use my wifi tether. so i installed it as u said created a folder named Android and unzipped the files into that folder then did cmd typed in your first command which then the next line said C:\Android then i type in your next command in which i get this adb is not recognized as an internal or external command so i am not sure what i am doing wrong
someone please help im confused i downloaded everything but i dont understand how to do the rest please simplyfy the instructions for someone who is not computer smart
I have not tried to tether yet, but am wondering if I am able to use adobe flash while connected using the g1. I saw a comment during the instructions where he says “browse your heart out using the G1″. Does that mean I will just be using the laptop for a bigger screen or will it be like having regular internet and not limited to the g1′s capability?
Yes… you’ll just be taking the internet connection from your phone and using it on your laptop. The G1 browser doesn’t support Flash, although it will soon. Your laptop will support Flash so while your phone is tethered your laptop will display Flash just fine.
This does work, but the only page that will load is whatever I have set as my homepage when I start Firefox. If I click any link or type in a url I get an error message:
File Not Found
Firefox can’t find the file at jar:file:///C:/Program Files/Mozilla Firefox/chrome/en-US.jar!/local/browser-region/region.propertieswww.url.com
where url is whatever site I’m trying to get to. I have heard of this happening to other people too.
It’s always helpful to have an internet connection. I actually did it when I was traveling because I was pissed off that my hotel charged $15 a night for internet access (Roosevelt Hotel in NYC if you’re wondering). You obviously need an internet connection to download all of the stuff mentioned in the article, but once you have everything you won’t need one.
Do u need a internet connection on your pc already to complete this?
Hey just to answer ur question, u don’t need internet connection to download all of this programs needed to tether, what u can do is using ur g1 go to market and on the search type download and u will see a a progrm called download crutch and. Download it. This program will let u download anything into ur sd card (memory card) but u won’t be able to open it on the phone, u have to open it thru ur desktop and u can install them into ur computer u can do it by using ur usb cable or using the memory adapter into the computer to transfer the file from the g1 to ur pc. Hope this helps…
You can join the FeedBurner feed at http://feeds2.feedburner.com/ColdplatterBlog