Did you use Malwarebytes Anti-Malware for Mac to remove any malware/adware, and was the removal successful? Out of interest, what was detected?
What version of OS X are you running? Are you connected over Wi-Fi or Ethernet? Are other devices able to connect?
You may be able to find an answer on their Forums:
Malwarebytes Forums