
232 | |
|
|
4. Set the Key Type
Valid values for Key Type are ASCII or Hex. The following commands set the Key Type.
Feature or Setting | CLI Command |
|
|
To set the Key Type to ASCII: | set interface wlan0 |
|
|
To set the Key Type to Hex: | set interface wlan0 |
|
|
For our example, we’ll set the Key Type to ASCII:
5.Set the WEP Keys
Note: The number of characters required for each WEP key depends on how you set Key Length and Key Type:
∙If Key Length is 40 bits and the Key Type is "ASCII", then each WEP key is 5 characters long.
∙If Key Length is 40 bits and Key Type is "Hex", then each WEP key must is 10 characters long.
∙If Key Length is 104 bits and Key Type is "ASCII", then each WEP Key must be 13 characters long.
∙If Key Length is 104 bits and Key Type is "Hex", then each WEP Key must be 26 characters long.
Although the CLI will allow you to enter WEP keys of any number of characters, you must use the correct number of characters for each key to ensure a valid security configuration.
6. Set the Authentication Algorithm
The options for the authentication algorithm are Open System, Shared Key or Both:
Feature or Setting |
| CLI Command |
|
|
|
To set Authentication Algorithm |
| set bss wlan0bssInternal |
to Open System: |
| set bss wlan0bssInternal |
|
| |
|
|
|
To set Authentication Algorithm |
| set bss wlan0bssInternal |
to Shared Key: |
| set bss wlan0bssInternal |
|
| |
|
|
|