D-Link DWL-3500AP Administration Guide - Page 141

Set the Key Type, and Key Type

Page 141 highlights

B CLI for AP Configuration 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. In the following example, the key length is 40-bits, and the key type is ASCII: DLINK-AP# set interface wlan0 wep-key-1 abcde DLINK-AP# set interface wlan0 wep-key-2 fghi DLINK-AP# set interface wlan0 wep-key-3 klmno DLINK-AP# set interface wlan0 wep-key-4 pqrst 6. Select the type of authentication to use. For open system authentication: DLINK-AP# set bss wlan0bssvap0 open-system-authentication on For shared key authentication: DLINK-AP# set bss wlan0bssvap0 shared-key-authentication on To use both authentication types, use both of the preceding commands. To turn either of the authentication types off, replace the keyword on with off. 7. View the security settings. 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

Access Point CLI Commands
141
B
CLI for AP Configuration
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.
In the following example, the key length is 40-bits, and the key type is ASCII:
DLINK-AP#
set interface wlan0 wep-key-1 abcde
DLINK-AP#
set interface wlan0 wep-key-2 fghi
DLINK-AP#
set interface wlan0 wep-key-3 klmno
DLINK-AP#
set interface wlan0 wep-key-4 pqrst
6.
Select the type of authentication to use.
For open system authentication:
DLINK-AP#
set bss wlan0bssvap0 open-system-authentication on
For shared key authentication:
DLINK-AP#
set bss wlan0bssvap0 shared-key-authentication on
To use both authentication types, use both of the preceding commands. To turn either of
the authentication types off, replace the keyword
on
with
off
.
7.
View the security settings.