Solution 1:

Here are some things to try:

  • Ping the IP directly (i.e. ping 8.8.8.8). Is the responses quicker? If yes, it's probably a DNS issue.
  • Connect via an Ethernet cord (Wired). If the response is quicker you might have a driver issue or some software issue concerning your wireless card.
  • Run wireshark and then ping. Is your ICMP package sent at all? This will display some wireless network issues.
  • Run strace ping 8.8.8.8, by looking over the output you'll be able to determine some software issues (like, not being able to bind to a socket).