It seems a hardware problem...
You can have a DNS resolution problem in your laptop.
To test that you can try to ping an IP address of a known internet connected host, in ex. 18.104.22.168 (that is www.ibm.com). Doing that you must see icmp responses until you hit Ctrl + c (^C). If you get those responses you are connected to the internet and your problem is about the name resolution (DNS) on client side.
If DNS is your problem you may edit your resolv.conf (usualy /etc/named.conf) and see if the nex two lines are in that file:
Try to see if your NIC and your cable are working fine.
Please post more info...