Make Sure the Network is Public
A lot of people complain about not being able to connect to a wireless network when indeed the network they are trying to connect to is not intended for public use. Before connecting to a network you should always make sure the network is generally available for the public. You can do this by inquiring from the person in charge of the hotspot or by seeing if the network has public status enabled (even if this is the case it is still very important to inquire from the people in charge of the network if the wireless network is public – because accessing a network that is not intended for the public is illegal in some places). Once you’re sure that the network you’re trying to connect to is a public one you can follow the tips below.
1) If your computer connects to the network through a broadband router , resetting (powering off and on) the router may resolve the issue. If not using a broadband router, or if resetting your router only temporarily resolves the issue and the error message re-appears later, continue to the following steps.
2) If connecting to your network using Wi-Fi and using wireless security, your WEP or other security key may not be set properly. Check the wireless security configuration on your computer's network adapter and update if it necessary.
3) If connecting to your network using an Ethernet cable, your cable may have failed. Temporarily replace your network cable with a new one to determine whether this resolves the issue.
4) If using a broadband router and DHCP on your network, check your computer's IP address to verify it is valid and not a private address that starts with 169.254. An invalid address of the form 169.254.x.x signifies your computer's inability to obtain a usable IP address from your router.
5) To resolve DHCP configuration problems, proceed to the following steps.
6) Reboot your computer, router (if present) and broadband modem together, then re-test your connection.
7) If your connection remains non-functional, run the Windows Network Repair utility on your computer.
8) If your connection remains non-functional, update your router settings to change from dynamic to static IP address configuration, and set an IP address on the computer appropriately.
9) If your connection remains non-functional, unplug your router and connect the computer directly to your broadband modem. If this configuration is functional, contact the manufacturer of your router for additional support.
10) If your computer is connecting to your network directly through a broadband modem, or if your Internet access remains non-functional after following the instructions above, contact your Internet provider for support.