|What make and model is your router.|
Have you tried power cycling the router (switch off, wait about a minute or so, switch on again)?
If no joy try a reset of the router to factory gate state. Typically this is done via wee small hole onthe back, accessed with something like a paper clip. Exactly how to reset your router may depend a little on the make and model - so what is make/model?
Does the problem exist with both wifi and ethernet/cat-5 connection?
Have you tried ping using ethernet connection only, using a known good cable?
message edited by trvlr