desire-adhoc allows you to connect your HTC Desire smartphone to ad-hoc networks. It has been written specifically for the Desire and will not work on other models (unless they use the same network driver, in which case there might be a chance). It requires root access to your phone.