ryt click on connection properties and go to internet protocol (TCP/IP) and then click on properties and in the next window select obtain IP addresses automatically ..also below select obtain DNS server addresses automatically .. :)

Other members may help/ guide better..
regards