Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I am currently trying to connect to a Wifi (WPA-PSK TKIP with 64-bit hex password). However my device - LG Optimus L9 with Android 4.0.4 - only allows to type in 63 characters.

It seems that it only support "passphrase" password which is supposed to be 8-63 characters long but not "hex" password..

Did anyone else have the same problem?

share|improve this question
    
Why hex password? Why not a usual combinations of letters/numbers? –  t0mm13b Dec 30 '12 at 22:21
    
Well that would be the "passphrase" I meantioned. I tried that.. I deleted the last character and it worked perfectly. However I have lots of devices using this network and I dont want to change the password for all of them just because of this. –  Kuba Spatny Dec 30 '12 at 22:27
    
64bit hex password, so 64bits is 8 bytes, so the password length is in fact of 8, composed of letters/number? Clarify? –  t0mm13b Dec 30 '12 at 22:35
1  
@t0mm13b: it's probably a 64 hex-char string what was meant (4bit per char, i.e. 4x64bit or 256bit binary key data). Also see here, it should be fixed: code.google.com/p/android/issues/detail?id=2009 –  ce4 Dec 30 '12 at 22:40
1  
it's >3.5 years since the bug was closed and 2 people complained. That's too few to be relevant. I'd say: Either it's case-sensitive (must be all lowercase) or someone mistyped it by accident (and a non hex char slipped in). –  ce4 Dec 30 '12 at 23:02
show 3 more comments

1 Answer 1

My experience: One friend's network uses WPA with a 64character hex-key and I haven't had any problem connecting to it since Android 2.3 Gingerbread.

I also had a look at the wifi config at /data/misc/wifi/wpa_supplicant.conf which holds all the wifi credentials. The one entry from above is configured just as every other with the exception that it has a 64 character hex key. I of course censored both keys and SSIDs, fyi.

Here's a sample:

network={
        ssid="normal_psk_key_network"
        psk="secretpassphrase"
        key_mgmt=WPA-PSK
        priority=1
}

network={
        ssid="64hexchar_network"
        psk=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
        key_mgmt=WPA-PSK
        priority=2
}
share|improve this answer
    
Did you look at the file on a PC or on the phone? In other words - how do I access this "/data/misc/wifi/wpa_supplicant.conf" file? .. and after that, do you think it would be possible to edit it, just to add the last character of my password? –  Kuba Spatny Dec 31 '12 at 8:14
    
I have a rooted phone and used USB debugging (ADB) to view it on the command line. It's probably possible to add it, at least if you're already root it's little effort to try it. Not sure which editor does a good job (I prefer non-graphical commandline tools). Maybe try OI file explorer or ghost commander (they support root mode and include an editor). What may also work: Google offers wifi passphrase sync iirc. you could set up your network from another phone. –  ce4 Dec 31 '12 at 13:04
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.