Places like Starbucks and airports etc usually have free wireless. Hotels usually charge and most need you to plug in to their network, hence the need for the cable. Some hotels do have wireless but sometimes you need a password to pick it up and they charge you.
Is your laptop network compatible? I think you need this for wireless access in public areas but someone else might be able to confirm this?