Hacker for Hire

Stupid iPhone and Stupid Tethering

Wyatt • • General, Technology, and Tips from a Hack

I was sitting at a coffee shop today I was disappointed I forgot to ask for the wifi key. Now I could totally sit here and crack the WEP key, but that takes precious CPU and battery life and well, I just wasn’t that interested in getting the tools to compile for my Mac. This led me to wax poetic about the days I used to have a tether to my iPhone 3G and I thought … “Man, I would sure like to be able to tether again;” but the last time, that didn’t go over so well. The last time I installed the tethering packages from Cydia, I lost access to voicemail for 2 weeks, couldn’t get them to uninstall, yada-yada-yada, annoying experience. But today, I actually had time to think about how to solve this issue and then it hit me: I’m a moron, I should have seen this last year. Five minutes later, I was on the net.

At the very basic level, tethering is nothing more than providing a way to share your phone’s connection to the internet. I’ve been using a similar tool for years to do the same sort of thing, ssh. So why not just use that again? For all you hackers out there, he’s the quick and dirty in 10 easy steps:

  1. Jail-break your iPhone.  I recommend any of the following the procedures here
  2. Install SSH using Cydia
  3. Setup a computer-to-computer network in whatever capacity you like (yea Mac!)
  4. Join your iPhone to the computer-to-computer network
  5. Open up a terminal and ping the broadcast address to find you iPhone (or whatever other method you want to find the IP address of the Iphone)
  6. SSH over to your iPhone and change your password and install a public-private key pair
  7. SSH back over to your iPhone using a command like this `ssh root@ -D8080\` to setup a SOCKS proxy tunnel
  8. Setup your web browser to use a SOCKS proxy using any way you like (examples here)
  9. Open your iPhone and go to some web-page to get a 3G data IP address
  10. Start surfing the web on your “tethered” iphone

That’s all there is to it.  Now you can “tether” your iPhone, share the connection, whatever you want.  Oh, and AT&T can’t actually “tell” you’re tethering without some effort.  Now there are obviously more things you can do to make life easier like:

However, those are left as an exercise to the reader.  Don’t you hate it when people do that?  I know I do.  Friggen jerks.

comments powered by Disqus