Go Back   Se7enSins Forums > iToys > iPhone > iPhone Modding

How to tether your iPhone 3G and browse the web using your 3G connection

This is a discussion about How to tether your iPhone 3G and browse the web using your 3G connection within the iPhone Modding section, where you will Learn how to mod your iPhone, install custom firmware, various software hacks, add emulators and games, and other how-to's.; hanks to the excellent work of the iPhone Dev Team and the porting work of Jay Freeman as well as the authors of 3Proxy , it is now possible to "tether" your iPhone 3G and



Notices

Reply
 
LinkBack Thread Tools Display Modes
Old 07-25-2008, 02:07 AM   #1 (permalink)
Apple Hacker
Points: 8,832, Level: 40 Points: 8,832, Level: 40 Points: 8,832, Level: 40
Activity: 14% Activity: 14% Activity: 14%
 
gillilandboy's Avatar
 
Join Date: Nov 2005
Location: St. Louis MO
Posts: 3,119
Tournaments Joined: 0
Tournament Wins: 0
Gave Thanks: 23
Received Thanks: 29
Nominated 0 Times in 0 Posts
TOTM Award(s): 0
gillilandboy is a glorious beacon of lightgillilandboy is a glorious beacon of lightgillilandboy is a glorious beacon of lightgillilandboy is a glorious beacon of lightgillilandboy is a glorious beacon of light
Total Awards: 1
Apple Hacker 
Send a message via AIM to gillilandboy Send a message via MSN to gillilandboy Send a message via Skype™ to gillilandboy
How to tether your iPhone 3G and browse the web using your 3G connection

hanks to the excellent work of the iPhone Dev Team and the porting work of Jay Freeman as well as the authors of 3Proxy, it is now possible to "tether" your iPhone 3G and use its Internet connection on your laptop.

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's the basic rundown:
- Jailbreak your iPhone 3G
- Install 3Proxy and Terminal
- Create an ad-hoc Wi-fi network using your laptop
- Join the network with your iPhone
- Find the iPhone's IP address
- Open Terminal and run the proxy program
- Open Safari on your iPhone and open a web page
- Configure your browser to use the proxy

I will be using a Mac and Firefox to demonstrate, but the principles carry over to other platforms.

Step 1: Jailbreak your iPhone Click the image to open in full size. 640 800 Full This is a big topic. Head to the the iPhone Dev Team blog for instructions for this. You will have to restore your phone, which makes this a process that can take 2 or more hours. Make sure you do it before you really need to tether.

Step 2: Install 3Proxy and Terminal

During the jailbreak, Cydia should have appeared on one of your app pages: Click the image to open in full size. 640 800 Full Use it and let Cydia load and self-update. Click the image to open in full size. 640 800 Full 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". Click the image to open in full size. 640 800 Full 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: Click the image to open in full size. 640 800 Full 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.
Click the image to open in full size. 640 800 Full 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 cre.ations.net: Click the image to open in full size. 640 800 Full 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: Click the image to open in full size. 640 800 Full 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: Click the image to open in full size. 640 800 Full 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: Click the image to open in full size. 640 800 Full 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 (or use the APC UPB10 portable USB battery charger). When you're done, make sure to quit Terminal by opening it back up and pressing and holding the Home button until it quits.

Just a copy and paste thought some people might find this helpful if you need any help. I have done this on both Windows and OS X.

Join Now!

__________________
http://img83.imageshack.us/img83/2724/gillilandboy2ly8.jpg

Need help with something? Talk to me on AIM or MSN talk to me about anything
gillilandboy is offline   Reply With Quote
The Following 2 Users Say Thank You to gillilandboy For This Useful Post:
mxrider (08-12-2008), Tommy D (07-25-2008)
Old 07-25-2008, 06:45 PM   #2 (permalink)
Novice
Points: 284, Level: 5 Points: 284, Level: 5 Points: 284, Level: 5
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2008
Posts: 14
Tournaments Joined: 0
Tournament Wins: 0
Gave Thanks: 1
Received Thanks: 0
Nominated 0 Times in 0 Posts
TOTM Award(s): 0
mpb2790 is on a distinguished road
can you dive me detailed directions to jailbreaking an iphone 3g on vista, i download the pwnage tool and when i open it i get 4 things to click 2 are folders that open up to other things and then there are two files that are titled " _macosx" and "pwnagetool.app" and when i click the pwnagetool.app nothing happens. it acts like a folder and opens up to a place that is empty. and i cant find the recovery software "x12220000_4_Recovery.ipsw" i did find a place for it but all it was was a bunch of code. is there anyway you can help me jailbreak my iphone 3g?
mpb2790 is offline   Reply With Quote
Old 07-27-2008, 02:56 PM   #3 (permalink)
Apple Hacker
Points: 8,832, Level: 40 Points: 8,832, Level: 40 Points: 8,832, Level: 40
Activity: 14% Activity: 14% Activity: 14%
 
gillilandboy's Avatar
 
Join Date: Nov 2005
Location: St. Louis MO
Posts: 3,119
Tournaments Joined: 0
Tournament Wins: 0
Gave Thanks: 23
Received Thanks: 29
Nominated 0 Times in 0 Posts
TOTM Award(s): 0
gillilandboy is a glorious beacon of lightgillilandboy is a glorious beacon of lightgillilandboy is a glorious beacon of lightgillilandboy is a glorious beacon of lightgillilandboy is a glorious beacon of light
Total Awards: 1
Apple Hacker 
Send a message via AIM to gillilandboy Send a message via MSN to gillilandboy Send a message via Skype™ to gillilandboy
You downloaded the OS X version of the Pwnage Tool. You need to download the windows version which you can get here and read how to do it here
gillilandboy is offline   Reply With Quote
Old 07-27-2008, 11:20 PM   #4 (permalink)
Member
Points: 3,027, Level: 22 Points: 3,027, Level: 22 Points: 3,027, Level: 22
Activity: 0% Activity: 0% Activity: 0%
 
default's Avatar
 
Join Date: May 2006
Posts: 726
Tournaments Joined: 0
Tournament Wins: 0
Gave Thanks: 6
Received Thanks: 23
Nominated 0 Times in 0 Posts
TOTM Award(s): 0
default has a spectacular aura aboutdefault has a spectacular aura aboutdefault has a spectacular aura about
while this is fun, at&t is on the lookout for this

does work amazingly well though, i use it to get on the internet on my macbook when in the car.
default is offline   Reply With Quote
Old 08-12-2008, 01:08 AM   #5 (permalink)
Junior Member
Points: 2,471, Level: 20 Points: 2,471, Level: 20 Points: 2,471, Level: 20
Activity: 0% Activity: 0% Activity: 0%
 
mxrider's Avatar
 
Join Date: Jun 2006
Posts: 153
Tournaments Joined: 0
Tournament Wins: 0
Gave Thanks: 9
Received Thanks: 27
Nominated 0 Times in 0 Posts
TOTM Award(s): 0
mxrider is on a distinguished road
Re: How to tether your iPhone 3G and browse the web using your 3G connection

Hrm, sounds sweet. Have you heard of people being caught doing this and what the fee is? If it's really not safe I won't do it, but if the chances are low I may have to try it. Thanks.
mxrider is offline   Reply With Quote
Old 08-12-2008, 01:15 AM   #6 (permalink)
﴾͡๏̯͡๏﴿
Points: 7,176, Level: 36 Points: 7,176, Level: 36 Points: 7,176, Level: 36
Activity: 0% Activity: 0% Activity: 0%
 
Carbon's Avatar
 
Join Date: Jan 2007
Posts: 2,611
Tournaments Joined: 0
Tournament Wins: 0
Gave Thanks: 24
Received Thanks: 38
Nominated 0 Times in 0 Posts
TOTM Award(s): 0
Carbon is a splendid one to beholdCarbon is a splendid one to beholdCarbon is a splendid one to beholdCarbon is a splendid one to beholdCarbon is a splendid one to beholdCarbon is a splendid one to beholdCarbon is a splendid one to behold
Send a message via AIM to Carbon
Re: How to tether your iPhone 3G and browse the web using your 3G connection

I haven't heard of anybody getting caught but that doesn't mean that you in the clear if they did cancel the data rate plan and you were downloading a gig file that would be a pretty hefty fee.
Carbon is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On