(Apologies to the mods if I'm doing this wrong - I can't remember
whether this group is top or bottom posting.)
Google Is Your Friend.
Search for 'WRT310N default password' and you will get loads of pages
back. There seem to be a few 'defaults' for this model though, but try
'admin/admin' and 'admin/ ' first.