D-Link DWL-8500AP Product Manual - Page 141

Set the Key Type, Set the Key Length

Page 141 highlights

B CLI for AP Configuration Index to 4. DLINK-AP# set interface wlan0 wep-default-key 4 3. Set the Key Length For the CLI, valid values for Key Length are 40 bits, 104 bits, or 128 bits.The Key Length values used by the CLI do not include the initialization vector in the length. On the Web UI, longer Key Length values may be shown which include the 24-bit initialization vector. To set the WEP Key Length to 64-bits, enter the following command: set interface wlan0 wep-key-length 40 To set the WEP Key Length to 128-bits, enter the following command: set interface wlan0 wep-key-length 104 To set the WEP Key Length to 156-bits, enter the following command: set interface wlan0 wep-key-length 128 4. Set the Key Type Valid values for Key Type are ASCII or Hex. The following commands set the Key Type. To se the key type to ASCII, enter the following command: set interface wlan0 wep-key-ascii yes To se the key type to Hex, enter the following command: set interface wlan0 wep-key-ascii no 5. Set the WEP keys. 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 must be 5 characters long. - If Key Length is 40 bits and Key Type is "Hex", then each WEP key must be 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. - If Key Length is 128 bits and Key Type is "ASCII", then each WEP Key must be 16 characters long. - If Key Length is 128 bits and Key Type is "Hex", then each WEP Key must be 32 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. Access Point CLI Commands 141

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168

Access Point CLI Commands
141
B
CLI for AP Configuration
Index to 4.
DLINK-AP#
set interface wlan0 wep-default-key 4
3.
Set the Key Length
For the CLI, valid values for Key Length are 40 bits, 104 bits, or 128 bits.The Key Length
values used by the CLI do not include the initialization vector in the length. On the Web
UI, longer Key Length values may be shown which include the 24-bit initialization vector.
To set the WEP Key Length to 64-bits, enter the following command:
set interface wlan0 wep-key-length 40
To set the WEP Key Length to 128-bits, enter the following command:
set interface wlan0 wep-key-length 104
To set the WEP Key Length to 156-bits, enter the following command:
set interface wlan0 wep-key-length 128
4.
Set the Key Type
Valid values for Key Type are ASCII or Hex. The following commands set the Key Type.
To se the key type to ASCII, enter the following command:
set interface wlan0 wep-key-ascii yes
To se the key type to Hex, enter the following command:
set interface wlan0 wep-key-ascii no
5.
Set the WEP keys.
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 must be 5
characters long.
-
If Key Length is 40 bits and Key Type is “Hex”, then each WEP key must be 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.
-
If Key Length is 128 bits and Key Type is “ASCII”, then each WEP Key must be 16
characters long.
-
If Key Length is 128 bits and Key Type is “Hex”, then each WEP Key must be 32
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.