Toshiba laptop can't connect to internet

It doesn't connect before I password protected it or after, and I have set it on both conditions. I'm going to see if it connects on a hardwire connection, then see if it's just windows vista that's acting up.