Wifi only accepts passwords of 5 or 13 characters

38,283

Solution 1

Looks like you are using WEP encryption.

  • For a 40 bit WEP network the password is 5-characters.
  • For a 128 bit WEP network the password is 13-characters.

Change your encryption to WPA. WPA uses either a passphrase (a shared secret) that is comprised of 8 to 63 characters or a fixed-length of 64 HEX characters.

Oh ... if your network card and/or router does not support WPA (doubt it though since it became available in 2003) you need to buy new hardware.

Regarding the side of the network card. Click the connection icon at the panel, edit connections, choose the wireless and Edit...

enter image description here

Regarding the router you are on your own ;)

Solution 2

A little correction:

WEP 64bit (not 40 as often it is reported): requires 40 bits (from a given password) + 24 (from an initialization vector); 40 bits means 10 hexadecimal digits or (as a restriction) 5 ASCII characters

WEP 128bit: requires 104 bits (from a given password) + 24 bit from the Initialization Vector; hence the given password can have 26 hexadecimal digits (4*26=104) or - as a particular case - 13 ASCII characters

In order to convert a passphrase, having any length, to the sizes enumerated above you need an algorithm which must be matched both in the device (Access Point or Ad Hoc) and in the connecting apparatus (PC or phone)

Share:
38,283
Joe Ffoulkes
Author by

Joe Ffoulkes

Updated on September 18, 2022

Comments

  • Joe Ffoulkes
    Joe Ffoulkes over 1 year

    Installed Ubuntu 13.04 and when attempting to connecting to a home wifi network, the connect button is only click-able with passwords of 5 or 13 characters.

    Is there a fix?

  • Oli
    Oli over 9 years
    Are the key lengths correct? I ask because wiki says 10 or 26 (which is what I thought) and this post is having a similar 5/13 problem