Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

I have entered correct credentials, but am unable to connect to my WiFi access point or router. The WPA Gui displays an attempt to connect, remains in that state for a while, but disconnects without ever having received an IP address over the DHCP.

What could be wrong?

share|improve this question
    
You need to provide much more detail. What happens when you try to connect and what are you doing to attempt the connection in the first place? –  recantha Nov 10 '12 at 4:52
    
@recantha - How is the current edit? –  Lord Loh. Nov 10 '12 at 5:06

3 Answers 3

Certain WiFi communication (WPA2-enterprise) uses time-stamped cryptographic techniques to secure communication against replay attacks. If the time on your raspberry pi is different from the time on the authentication server, the authentication will fail.

The solution is to manually update the time or use sudo ntpdate <some ntp server> while connected to via the ethernet.

share|improve this answer
    
Very unlikely to be this. Consider a more obvious answer to a broad question. –  recantha Nov 10 '12 at 4:52
    
I put this up because I a 2 more of my friends had trouble connecting on the WPA2-Enterprise WiFi at the university. Fixing the time over the Ethernet got us logged on. –  Lord Loh. Nov 10 '12 at 5:03
1  
Is the OP using WPA2-enterprise? @LordLoh are you answering your own question? If you are to document the problem that your friends experienced, you should put WPA2-Enterprise into the question as what is being used. –  HeatfanJohn Nov 10 '12 at 19:33
    
Edited the Question. Thanks for the suggestions. –  Lord Loh. Nov 11 '12 at 1:18
    
@LordLoh. Thx for the answer, we had exactly the same problem. The pie has no clock itself so we couldn't start to connect to the enterprise wpa, however we hacked it with a shell script to set the time manually, wonder how long it gonna last [;: –  burninggramma Apr 4 at 14:47

Apart from inadequate power supply, you should also try WICD to make configuration easier and error free. Also, have a look here - http://www.raspberrypi.org/phpBB3/viewtopic.php?t=18907&p=193700

share|improve this answer

Test your voltage on the Pi. I suspect your power supply is inadequate.

share|improve this answer
    
I was using a 30A power supply - An ATX SMPS. –  Lord Loh. Nov 16 '12 at 1:21
    
That seems to eliminate that... –  shaun5 Nov 17 '12 at 0:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.