Go to Network Connections and right click the available connections. Make sure to check all the protocols so that the computer assign the IP address automatically. If you have previously used other settings for network, then these settings need to be put on default.