LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Laptop connects to a WPA2 network, but can't browse (https://www.linuxquestions.org/questions/debian-26/laptop-connects-to-a-wpa2-network-but-cant-browse-752573/)

brozell 09-04-2009 01:00 AM

Laptop connects to a WPA2 network, but can't browse
 
I'm getting into network security, so I've set up my network with WPA2. I can get Windows machines to connect and operate on the network, but my Lenny laptop is not able to browse the internet, but I still connect to the network. I have wpasupplicant and wireless-tools installed. Why does it do this? Any help would be appreciated. Also I have tried Network Manager and Wicd. Using Gnome too.

repo 09-04-2009 01:09 AM

Can you ping on ip?
Code:

ping 74.125.77.99
Can you ping on name
Code:

ping www.google.com
Make sure the nameservers are in
/etc/resolv.conf

Code:

nameserver xxx.xxx.xxx.xxx

brozell 09-06-2009 02:11 PM

Okay, oddly enough Network Manager connects and browses now with no problem and yet Wicd wont even connect. I got this when I uninstalled Wicd and reinstalled Network Manager. Wicd sees the network attempts to connect for two seconds then stops. I would prefer to use Wicd as its not so buggy. Any ideas why Wicd does this?

jim_p 09-06-2009 02:58 PM

It sounds like a dns resolve problem to me.

Do you state your isp's dns servers in wicd?

brozell 09-08-2009 09:13 AM

No I didnt state my ISP's DNS server in Wicd or Network Manager. I selected the my network, it asks for a key,(In Wicd you have to click the Advanced arrow input the key and click connect) and it connects. But with Network Manager only.

repo 09-08-2009 10:04 AM

Quote:

Wicd sees the network attempts to connect for two seconds then stops
Try to connect without any encription.
Set your access point open, and see what happens.
Then try to use wep, and if needed wpa

brozell 09-15-2009 12:32 AM

The Solution
 
Okay, I have finally figured this out. It all boils down between the cyphers that WPA and WPA2 use, TKIP and AES. My laptop will do WPA with a TKIP cipher or WPA2 with an AES cypher only. I'm not sure if thats how it's supposed to work in real life or it's my wireless card. So if your like me (and I'm sure there are some)
with a two and a half year old laptop, you need to specify in Wicd the encryption method AND it's cypher. Network Manager does this automatically however.


All times are GMT -5. The time now is 05:27 PM.