Tether your iPhone: EDGE internet on your laptopTags: hack, iphone, tether, tetheringRecent developments have allowed iPhone hackers to compile background applications for the iPhone - among the most interesting so far is srelay, a SOCKS proxy server. srelay running on your iPhone opens up a very exciting possibility - you can use your iPhone's EDGE connection with a laptop or other Wifi-enabled device. A note of caution: Accessing your EDGE data plan through a laptop may be against your AT&T terms of service. Even modifying your iPhone to enable this service may be a violation. Please check before attempting this procedure. Currently these instructions only work for Windows - as I don't have a Mac I can't really test anything on that side. I was hoping a blindly created script would work but it does not appear to. For Mac users, epogue posts: I created a package that, hopefully, should get everybody working properly on OS X. You might still need to set chmod +x on tetherify-osx-intel.sh because of the unarchiver. I haven't tested that yet. Mad props to: - ziel (for writing Jailbreak) - NerveGas (for compiling these programs for iPhone) - Nightwatch (for making a working iPhone compiler) And the rest of the #iphone dev team. Also thanks to the writers of srelay! I've done my best to make the procedure as simple as possible. You must first have run jailbreak on your phone - you need to go through the custom ringtone tutorial minus the part where you add ringtones (though you still can add ringtones if you want). Now that your iPhone is freed from its jailed shackles, download the iPhone Tethering Kit and extract its contents to a folder on your hard drive. Now double-click "tetherify-windows.bat" if you're on Windows, or if you're on Mac OSX (Intel procs only), open a Terminal and run "tetherify-osx-intel.sh". Follow the instructions that appear - here's what you will see: Hello, this batch file will install and enable a SOCKS server on your iPhone. --------PHASE 1: Getting files off your iPhone--------- 1 file(s) copied. iPhoneInterface v0.3.1 built on Jul 14 2007 Waiting for phone... established. iPhone state: Activated type "help" for help iPhone:/# iPhone:/usr/sbin# fileref: 1 iPhone:/usr/sbin# iPhone:/System/Library/LaunchDaemons# fileref: 1 iPhone:/System/Library/LaunchDaemons# 1 file(s) copied. 1 file(s) copied. --------PHASE 2: Uploading files and reconfiguring your iPhone--------- iPhoneInterface v0.3.1 built on Jul 14 2007 Waiting for phone... established. iPhone state: Activated type "help" for help iPhone:/# fileref: 1 iPhone:/# fileref: 1 iPhone:/# fileref: 1 iPhone:/# fileref: 1 iPhone:/# fileref: 1 iPhone:/# fileref: 1 iPhone:/# --------PHASE 3: Restarting your iPhone, twice--------- Press and hold the Power button on your iPhone until it shows the "slide to turn off" red slider. Slide it, wait for the phone to turn off, and press the power button to turn it on again. Then do it again. When your iPhone has started up the second time, press a key to continue. Press any key to continue . . . --------PHASE 4: Restoring original update configuration--------- 1 file(s) copied. 1 file(s) copied. iPhoneInterface v0.3.1 built on Jul 14 2007 Waiting for phone... established. iPhone state: Activated type "help" for help iPhone:/# fileref: 1 iPhone:/# fileref: 1 iPhone:/# ---------DONE!-------- It's kind of a mess of things. There is no error-checking, so if you see "fileref: 0" in any of the output, that's how you know something went wrong. Otherwise it all should have gone just fine. Congratulations! You now have an open SOCKS server on your iPhone. To utilize it, you need to create an ad-hoc Wifi network without a router. This way the iPhone will remain connected to both EDGE and your laptop. Wireless clients between Mac OSX, Windows XP, and Windows Vista vary, but the concept is the same. Create an ad-hoc network with your laptop, preferably using encryption. Then set your IP address to a static address, without a default gateway. In Windows XP and Vista you can run this command: netsh interface ip set address "Wireless Network Conenction" static 10.3.3.1 255.255.255.0 You would substitute "Wireless Network Connection" with the name of your wifi adapter if it's named something different. Then use your iPhone's Settings panel to join to the ad-hoc network you created:
Make sure to set the IP address to one on the same subnet as your laptop, here I use 10.3.3.2 and the subnet mask should be the same as well. Leave all other spaces blank. Now set whatever application you want to use to use the SOCKS proxy at 10.3.3.2 port 1080. In Firefox this is under Tools -> Options -> Advanced -> Network -> Settings. You'll also have to head into about:config (type that in your URL bar), type in socks_remote to the search bar, and double-click that setting to change it to true. In Mac OSX, NerveGas reports that you can set a system-wide proxy: 1. Go into your laptop's network preferences 2. Double-click the AirPort connection to bring up the proeprties 3. Click the TCP/IP Tab 4. Select "Manually" from "Configure IPv4" Enter the IP address: 10.3.3.1, subnet mask 255.255.255.0. 5. Click the 'Proxies' tab. Scroll down the list of proxy servers until you come to "SOCKS Proxy" Check the checkbox, and in the "SOCKS Proxy Server" box to the right, enter the IP address of the iPhone: 10.3.3.2, and a port number of 1080. 6. Click 'Apply Now' for the changes to take effect Your iPhone should be giving you Internet access now! Browse happy. Comments: ![]() Log in or register to post comments. Comments and questions to Syndication:
Wikio
|
















Posted by eas 1 year ago ( 25-Jul-2007 01:00:48 )
Posted by joe 1 year ago ( 25-Jul-2007 10:17:54 )
Posted by softeky 1 year ago ( 25-Jul-2007 10:57:56 )
Posted by softeky 1 year ago ( 25-Jul-2007 13:01:31 )
Posted by joewmpls 1 year ago ( 25-Jul-2007 17:58:18 )
This comment was edited at 2007-07-26 09:34:41
Posted by deleonju 1 year ago ( 25-Jul-2007 22:04:18 )
Posted by tweeknockr 1 year ago ( 25-Jul-2007 23:06:44 )
Posted by epogue 1 year ago ( 26-Jul-2007 08:04:56 )
Posted by softeky 1 year ago ( 26-Jul-2007 08:52:53 )
Posted by tweeknockr 1 year ago ( 26-Jul-2007 09:41:11 )
Posted by deleonju 1 year ago ( 26-Jul-2007 10:39:58 )
This comment was edited at 2007-07-26 10:40:46
Posted by tweeknockr 1 year ago ( 26-Jul-2007 13:08:46 )
Posted by deleonju 1 year ago ( 26-Jul-2007 14:19:48 )
Posted by tweeknockr 1 year ago ( 26-Jul-2007 14:24:38 )
Posted by deleonju 1 year ago ( 26-Jul-2007 16:18:10 )
This comment was edited at 2007-07-26 21:00:34
Posted by qryptiq 1 year ago ( 26-Jul-2007 18:27:58 )
Posted by variable 1 year ago ( 26-Jul-2007 21:32:20 )
Posted by dahkni 1 year ago ( 27-Jul-2007 14:13:23 )
This comment was edited at 2007-07-27 15:31:11
Posted by qryptiq 1 year ago ( 28-Jul-2007 14:51:52 )
Posted by heyigotaniphone 1 year ago ( 29-Jul-2007 09:56:31 )
Posted by heyigotaniphone 1 year ago ( 29-Jul-2007 09:58:01 )
Posted by qryptiq 1 year ago ( 29-Jul-2007 13:30:15 )
Posted by mishley 1 year ago ( 31-Jul-2007 11:29:10 )
Posted by qryptiq 1 year ago ( 31-Jul-2007 13:23:15 )
Posted by strongesthylian 1 year ago ( 01-Aug-2007 12:04:41 )
Posted by tristan 1 year ago ( 01-Aug-2007 23:02:11 )
Posted by dahkni 1 year ago ( 03-Aug-2007 19:32:58 )
Posted by qryptiq 1 year ago ( 04-Aug-2007 17:22:37 )
Posted by qryptiq 1 year ago ( 04-Aug-2007 17:24:31 )
Posted by dahkni 1 year ago ( 04-Aug-2007 18:22:07 )
Posted by ccrews 1 year ago ( 04-Aug-2007 20:23:47 )
Posted by strongesthylian 1 year ago ( 04-Aug-2007 22:41:19 )
Posted by strongesthylian 1 year ago ( 05-Aug-2007 08:24:46 )
This comment was edited at 2007-08-29 00:13:54
Posted by jtdstud 1 year ago ( 05-Aug-2007 12:05:15 )
Posted by heyigotaniphone 1 year ago ( 05-Aug-2007 17:03:03 )
This comment was edited at 2007-08-05 17:05:27
Posted by strongesthylian 1 year ago ( 05-Aug-2007 23:59:55 )
Posted by robmciver 1 year ago ( 06-Aug-2007 18:13:32 )
Posted by yoboy 1 year ago ( 07-Aug-2007 16:32:00 )
Posted by ignusgraius 1 year ago ( 17-Aug-2007 04:11:23 )
Posted by liquidice 1 year ago ( 18-Aug-2007 08:08:19 )
Posted by seteciphone 1 year ago ( 19-Aug-2007 14:13:57 )
Posted by yoboy 1 year ago ( 20-Aug-2007 19:00:34 )
Posted by tinycorkscrew 1 year ago ( 21-Aug-2007 06:17:22 )
Posted by phxlibra 1 year ago ( 29-Aug-2007 10:41:15 )
Posted by strongesthylian 1 year ago ( 29-Aug-2007 22:12:54 )
Posted by phxlibra 1 year ago ( 02-Sep-2007 16:56:28 )
Posted by strongesthylian 1 year ago ( 03-Sep-2007 12:17:57 )
Posted by matador 1 year ago ( 06-Sep-2007 18:35:40 )
Posted by strongesthylian 1 year ago ( 09-Sep-2007 00:43:09 )
Posted by joehensonn 1 year ago ( 11-Sep-2007 03:37:12 )
Posted by neener 1 year ago ( 16-Sep-2007 18:26:05 )
This comment was edited at 2007-09-18 19:47:19
Posted by mparkes 1 year ago ( 10-Oct-2007 11:11:11 )
Posted by fragalles 1 year ago ( 13-Nov-2007 02:49:40 )
Posted by ppayne 1 year ago ( 23-Dec-2007 02:12:41 )
Posted by shashidharga 1 year ago ( 25-Dec-2007 08:25:20 )
This comment was edited at 2007-12-25 08:25:56
Posted by johnericm 1 year ago ( 16-Feb-2008 13:12:01 )
Posted by joshm 1 year ago ( 04-Apr-2008 00:55:58 )
Posted by henchan 1 year ago ( 03-May-2008 22:22:07 )
Posted by rwbana 1 year ago ( 08-May-2008 02:33:49 )
Posted by bernard 1 year ago ( 17-May-2008 07:49:23 )
Posted by bernard 1 year ago ( 17-May-2008 08:51:47 )
This comment was edited at 2008-05-17 09:03:53
Posted by wan 1 year ago ( 24-May-2008 05:07:50 )
Posted by borisyim 40 weeks ago ( 21-Sep-2008 12:47:48 )