Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I tried to find the WEP key of my neighbour's network. There is no problem, he agrees.
So, I run airodump-ng & aireplay-ng -3 and after a few minutes I get the WEP key. Nevertheless, I can't get this WEP key working with my Ubuntu 11.04 or Debian wheezy, it works under Windows 7.

I've tested under NetworkManager 64/128b Hex or ASCII and also WEP secret passphrase, and both don't work. The router is a NUMERICABLE Box. And the key is like:

KEY FOUND! [ E8:22:AC:8D:40:71:E5:34:AB:71:E0:3C:FD ]   

How do I get this key working? Which translation is there in Windows?

share|improve this question
1  
Depending on your WiFi drivers, you may have difficulty using certain combinations of encryption. –  Kheldar Sep 4 '11 at 11:17
add comment

migrated from stackoverflow.com Sep 4 '11 at 11:32

This question came from our site for professional and enthusiast programmers.

1 Answer

If the key is not associating with the AP there are a couple things you can check. From looking at your recovered key, the keylength is obviously 128-bits. If you're doing this from 'iwconfig' don't include the s: when inputting the key since that's reserved for ascii strings. Check the index setting used -- it's between 1 - 4. If that key is set to an index different from 1 on the target router then that can cause association to fail. Lastly, when you're inputting the key make sure all semicolons ':' are removed.

If you're using aircrack-ng with the same wifi adapter you're trying to associate with don't forget to set it back to managed mode from monitor mode. You can do that with this command(replace wlan0 with your actual wifi adapter name):

ifconfig *wlan0* down
iwconfig *wlan0* mode managed
ifconfig *wlan0* up

To confirm the adapter is in the correct mode just type iwconfig and you should see managed under the appropriate adapter.

share|improve this answer
add comment

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.