or

Connect Internet Through Your iPhone 3G

Couple weeks ago, I was waiting in the hospital line and luckily I had my MBP with me. I turned it on and tried Internet connection, but no luck. There was no free wireless access anywhere close :( Then I tried to connect through my iPhone 3G. This time I was lucky, it just worked. Here is how I did:

// 1. Create an Ad-HOC wireless network over Airport
// 2. Connect iPhone to this network
// 3. ssh to iPhone using following snippet

ssh -ND 9999 root@IP_ADDRESS

// 4. set your browsers socks proxy to localhost:9999
// Done.

Unfortunately this only works for a Jailbroken iPhone. Anyways, it saved my boring time in that line. Hope it helps to you too.



4 Responses

  1. Darrin

    If your phone is already jailbroken check out PdaNet, works without having to change any proxy settings in your browser

    May 18, 2009, 5:51 PM
  2. Isa Goksu

    Yeah, there are couple of them like PdaNet. But they’re not free anymore, you need to pay for them :(

    May 18, 2009, 6:07 PM
  3. jaylib

    its a shame there is not much about this topic, i’d like to use no additional app even is it jb.. but there’s an app for almost everything

    September 16, 2009, 6:34 PM
  4. Isa Goksu

    @jaylib, with iPhone 3GS you don’t need to do all these. There out of the box internet support called ‘Internet Tethering’. You can use that feature.

    September 16, 2009, 11:36 PM

Leave a Reply

Name (required)
Mail (required)
Website