Mac problem

def sounds like a router problem.

is it a wireless router? if so, when u come back from sleeping, do u still have a strong signal?