- iPhoneRoot.com - http://iphoneroot.com -
Get internet on a desktop or notebook through IPhone 3G
Posted By admin On July 23, 2008 @ 6:32 pm In All,Cydia,Other,Software | 3 Comments
Warning - Tethering your iPhone is against the iPhone data plan terms. AT&T could slap you with huge fees if you overuse this. I recommend only using it during emergencies.
Here is a basic plan (by the way, this should work for old IPhone also):
Later we'll discuss it with more details.
Step 1: Jailbreak your iPhone
Step 2: Install 3Proxy and Terminal
During the jailbreak, Cydia should have appeared on one of your app pages: use it and let Cydia load and self-update.
Then head to Install, All Packages, then find MobileTerminal  and 3Proxy (3Proxy is at the bottom). Install both and hit your Home button. Your phone will restart and you'll see Terminal installed on your home screen. 3Proxy isn't a GUI app and as such won't have an icon.
Step 3: Create an ad-hoc Wifi network using your laptop
Using whatever wireless software  suite you have, create an ad-hoc network. On a Mac it's in the Airport menu, under "Create network...". Name it something inconspicuous. I called mine "baladoux". On your iPhone, join the ad-hoc network.
Step 4: Find your iPhone's IP address
Then, hit the blue arrow next to it, and wait for your IP address to show up:
Memorize (or write down) this IP address. You will need it later.
Step 5: Open Terminal and run the proxy program
Simple enough. Open Terminal, type "socks" and hit return.
Nothing will appear to happen, but the SOCKS server will be running. You can hit the home button to push Terminal to the background (remember to terminate it later, by switching back to Terminal and holding the Home button until it closes).
Step 6: Open Safari on the iPhone and open a web page
Any page will do. I recommend http://iPhoneRoot.com
This step is important. The page will take a while to load. When Safari realizes it can't get to the Internet using the ad-hoc Wifi, it will do some internal magic to switch back to 3G for Internet while still on your ad-hoc network. That lets the proxy do its thing.
Step 7: Configure your browser
In Firefox, head to Preferences, and under Advanced, Network, hit Settings:
Then, fill in the iPhone's IP address (which you memorized earlier) into the SOCKS Host field, and put 1080 as the port number. Make sure all other  proxy fields are blank and/or 0 as shown:
Then, since the proxy doesn't forward DNS, you will also have to change an advanced option in Firefox. In the Firefox URL bar, enter "about:config" and hit Enter
In Filter, type "socks" and then double-click "network.proxy.socks_remote_dns" to make its value "true".
That should be all you need! Firefox should be able to browse the Internet through your iPhone's 3G connection.
Tethering costs a lot of battery life on the iPhone so make sure you have it plugged in. When you're done, make sure to quit Terminal by opening it back up and pressing and holding the Home button until it quits.
Thanks to cre.ations.net for this tutorial.
Article printed from iPhoneRoot.com: http://iphoneroot.com
URL to article: http://iphoneroot.com/get-internet-on-a-desktop-or-notebook-through-iphone-3g/
URLs in this post:
 Dev Team: http://blog.iphone-dev.org/
 Jay Freeman: http://www.saurik.com/
 3Proxy: http://3proxy.ru/
 iPhone 3G: http://iphoneroot.com/tag/iphone-3g/
 PWNageTool 2.0: http://iPhoneRoot.com/pwnagetool-201-released/
 Cydia: http://iphoneroot.com/category/cydia/
 Image: http://iPhoneRoot.com/wp-content/uploads/2008/07/creationsnet_3428.jpg
 MobileTerminal: http://iphoneroot.com/tag/mobileterminal/
 software: http://iphoneroot.com/category/software/
 Image: http://iPhoneRoot.com/wp-content/uploads/2008/07/creationsnet_3430.jpg
 Image: http://iPhoneRoot.com/wp-content/uploads/2008/07/creationsnet_3431.jpg
 Image: http://iPhoneRoot.com/wp-content/uploads/2008/07/creationsnet_3433.jpg
 other: http://iphoneroot.com/category/other/
 Image: http://iPhoneRoot.com/wp-content/uploads/2008/07/creationsnet_3434.jpg
 Image: http://iPhoneRoot.com/wp-content/uploads/2008/07/creationsnet_3435.jpg
 : http://iPhoneRoot.com/connect-desktop-or-notebook-to-internet-through-iphone-3g/
Copyright © 2009 iPhone Root. All rights reserved.