Thanks to LifeHacker, and if you have the following, you will be able to use your iPhone to access Internet from your laptop.
- A computer with Wi-Fi capable of creating an ad-hoc computer-to-computer connection (yours is)
- A jailbroken iPhone (If you don’t know how to jailbreak your iPhone, the easiest way is to make sure you’re running 1.1.1 firmware and then start here.
- The OpenSSH iPhone application
- An SSH client on the computer you’re using. If you’re on a Mac or *nix machine, you should be fine. Windows users should check out how to install OpenSHH with Cygwin.
Source: LifeHacker “Use Your iPhone’s Internet Connection On Your Laptop [Feature]“.