Likely, this will work for people when on a Mac and not able to get on hotel/airport wifi. Full info here
Solution No. 5: Change Location to Automatic and Renew DHCD
If you often change your Wi-Fi network and make a particular location, ensure to reset it to the automatic settings. This will allow your Mac to connect to the new Wi-Fi network.
- Go to System preferences >> Network
- Choose Location
- Click Automatic
- Then, go to Advanced >> TCP/IP tab
- Click on Renew DHCP Lease