Skip to main content

iPhone Hack: EDGE internet on your laptop

iphone hacks
Recent 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.
Hit the right-chevron button to go into the IP settings.
Hit the "Static" button on the top and fill in the settings.

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.

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.

http://dinkdoink.com/upload/tetherkit-osx.zip

Also, if you're getting the AFC error, try using the jailbreak bundled with the tetherkit. That's how I got mine to work.


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:

source : Cre.ations.net

Popular posts from this blog

Using Latitude and Longitude with Google Maps

Whether you want to quickly add a waypoint to your GPS, or view a map of a known location, it can often be convenient to use real latitude and longitude values with Google Maps instead of dealing with street addresses.



Rerieving a map for a lat/lon value is simple enough with Google Maps. You can simply enter the decimal latitude and longitude into the search form instead of a street address.However, if you're viewing a map and you want to retrieve the lat/lon location, there unfortunately isn't a convenient "get latitude and longitude" button. Google Maps deals with latitude and longitude locations internally, though, so with this little snippet of javascript, you can easily get the job done: javascript:void(prompt('',gApplication.getMap().getCenter()) This will return the coordinates of the map's center point. You might want to double-click a position on the map before running the above code. Doing so will reposition that point to the center of the map …

310+ Essential readings, tools and Resources for Bloggers

I was looking for them and then I found them at Problogger, mashable and others from Matt Huggins. While some of you might be aware of some of them, for others it may be a new world. But then these tips help everyone.

Essential Readings

Can You Make a Living Blogging? (Graywolf SEO)Five Beginner’s Blogging Tips (John Chow)The First 7 Days of Blogging (Pronet Advertising)Put on Your Game Face (Pronet Advertising)How to “Announce” a Blog (Blog Traffic School)How to Use Social News Aggregators as a Source for Content Ideas (Dosh Dosh)5 Ways to Building a Better Blog (Pronet Advertising)Bring Your A-game to Write for Blogs (Freelance Switch)What Are You Learning from Leading Edge SEO Bloggers? (Graywolf SEO)How Great Headlines Score Traffic (Copyblogger)10 Sure-Fire Headline Formulas that Work (Copyblogger)Declaring War on Blogger Apathy (ProBlogger)How to Market Your Blog in 2007 (ProBlogger)21 Tactics to Increase Blog Traffic (SEOmoz)Five Steps to a Truly Unique Blog That Attracts Reader…

Social Bookmarking Widget for Blogger

On a social bookmarking system or network, users store lists of Internet resources that they find useful. These lists can be accessible to the public by users of a specific network or website. Other users with similar interests can view the links by topic, category, tags, or even randomly. Other than web page bookmarks, services specialized to a specific subject or format - feeds, books, videos, shopping items, map locations, wineries, etc. - can be found.


The biggest way of increasing traffic to small blogs is Social networking. As such social bookmarking becomes very essential for small blogs such as ours. With that said, it is very important to provide the readers with a very easy way to bookmark the articles they find useful. As you may have seen till yesterday, this blog used Addthis social bookmarking tool which the most of bloggers at blogspot use. But it needs an extra click as compared to thesocial bookmarking widget of wordpress.com blogs and hence comes this article to the …