You say you can ping your server that means the RF network is working OK. But, you might check to see if there is any MAC filtering configured. That could be the problem.
If not and because Access Points are Data Link devices ( level 2 ), I imagine that if you cannot ping your default gateway you must have some faulty IP configuration either on your nics or network ( wrong subnets or subnet-masks ).