Question: how do i connect my laptop to public wifi?
Answer: Open your System Preferences and select Network again. Click the drop-down at the top, select Edit Locations, then click the + icon and add a new location. Select it, and then try to connect to the network you want. Just remember to switch back to your default network location when you're back at your office or home.