Despite Apple and the assorted carrier's best attempts to stop people from using the iPhone as a 2G/3G modem by pulling the NetShare App from their online store, it is still possible (and fairly widely documented, if you know where to look). All you need is a Jailbroken iPhone with the BIND (named) DNS server and 3proxy SOCKS proxy server installed.
The process basically goes along the lines of:
I'm actually witting this from a train, connected to the interwebs via my 2G iPhone. The combination of 2G and T-Mobile isn't a good one. 2G/EDGE is slow enough as it is (I'm getting around 56Kbps) but that's when I get any signal at all. I know the iPhone doesn't have the best antenna in the world but my signal meter is swinging wildly from full to "no service" which is pretty frustrating (At my house, in the middle of Lincoln - a fairly large city - I struggle to get any singal when stood outside, let alone inside 2' thick walls!. O2 doesn't seem to have any problem inside or outside). As is the fact that I'm lucky to get a ping response of under two seconds!
Now, if I can ust convince MSN to actually use the SOCKS proxy...
Aside from being dog slow, there are a few gotchas.
All in all, usefull in an emergency but completely pants for day to day. I think it's time I got off my arse and bought that 3G ExpressCard that I've been thinking about!
I'd better shut up now and post this before the iPhone battery dies. I've not got enough power in the laptop battery to be able to charge it :(