7.27.2007

how to hack the iphone part 2 (tethering)

Yeah, I should probably go to bed.

But I'm having too much fun hacking the shit out of this phone.

I'm sure I will turn it into a brick eventually and be very sad. However, first -

I got tethering working!

One of the main drawbacks to having an iPhone is not being able to tether it to my laptop. And I'll admit, I wasted a lot of time trying to tether it to Vista and failing, but I got it working with XP pretty easily.

First, you install a cool socks proxy on your iPhone, following directions like this.

You set up an ad-hoc network on your PC, and call it something like "testnet". Then you go into your TCP/IP settings, and set the static IP of your machine to something like 10.0.0.3, with a subnet mask of 255.255.255.0.

Next, you turn on your iphone, and have it connect to that network, and you give it a static address like 10.0.0.4. Then you tell your PC to use SOCKS and connect through 10.0.0.4 to get to the net.

Boom, iPhone's EDGE is powering my PC.

Proof:

Iphone on testnet-



PC on testnet-



PC loading interwebs over iPhone!



My only concern right now is that you don't really turn the SOCKS proxy on the iPhone on and off. I guess they'll have those sorts of "bells and whistles" in later versions, but right now I'm just dumping cutting edge crap on my new $500 device and seeing what happens. What could possibly go wrong?

0 Comments:

Post a Comment

<< Home