This program enables wifi-tethering for “rooted” handsets running android (such as the Android DevPhone 1). Clients (your laptop for example) can connect via wifi (ad-hoc mode) and get access to the internet using the 3G or 2G connection which is established by the handset.

http://code.google.com/p/android-wifi-tether/