

Addendum

Copyright © Nokia Networks 2001. All rights reserved. Nokia is a registered trademark of Nokia Corporation, Finland. Windows 95, Windows 98, Windows 2000 and Windows NT are registered trademarks of Microsoft Corporation. MS-DOS is a registered trademark of Microsoft Corporation. Other products may be trademarks or registered trademarks of their respective manufacturers. We reserve the right to make changes and improvements to any of the products described in this guide without prior notice. Nokia is not responsible for any loss of data, income or any consequential damage howsoever caused. ISSUE 1


Purpose
This document has been written to serve as an addendum to the existing A032 user manuals. It does not attempt to replace any existing user manual, and is focussed on correcting errors and omissions from those manuals, and documenting features added in recent firmware updates.
This document describes the configuration and operation of the Access Point (AP) and, where appropriate, the format of external services used by the AP. It does not cover the setting up of a network, or the detailed configuration of any external equipment.


This section describes the changes to AP parameters, and the use of newly added parameters.
Refer to the A032 user guide for descriptions of how to use the management interfaces.





A number of new radio parameters have been added for the AP. As with all AP radio settings, they are only accessible via the command line interface. The new parameters and their functions are described in the following subsections.
This parameter is designed for use on systems where an AP is being used in specialized bridging links covering large distances. In these cases, the round trip time for a radio signal and its reply can be significant and the path delay parameter can be set to allow the AP to compensate for it. In normal use, the path delay should be at its default setting (0).
The path delay is set in microseconds – a radio signal will travel approximately 300m per microsecond, so this parameter should be set to the distance between the bridging points in metres, divided by 150 (to account for the round-trip time). Path delay can be disabled by setting back to zero.

Sets the time interval between beacons in milliseconds. This defaults to 100ms – longer intervals reduce the amount of idle load on the radio interface, but may increase the time taken to join a network or roam.
The beacon interval can be changed with the command
set beacon_interval <n>
The number of beacons to count between DTIMs. The default value is 5 – larger values will reduce network load, but at the cost of reduced performance, particularly where clients are using power saving.
The DTIM interval can be changed using the command
set dtim_interval <n>
Allows the AP power level to be fine-tuned. In a large installation, using multiple APs, it may be helpful to reduce the power level to prevent distant APs from interfering – the default setting uses the highest power level, which minimizes the effect of interference and maximizes range.
The tx power level may be trimmed by entering the command
set tx_power <level>

This setting determines which CCA mode should be used. The modes are:
ed_only Energy detect only
cs_only Carrier sense only
ed_and_cs Energy detect and carrier sense
ed_or_cs Energy detect or carrier sense
Use caution when altering this setting, as an inappropriate CCA mode can prevent reliable reception. The default setting is to use Carrier sense only – this can be changed with the command
set cca_mode <New_Mode>
This value contains the signal level at which the ED part of the CCA checking is triggered. Whether or not the Energy Detect forms part of the CCA signal is determined by cca_mode; this variable merely sets the threshold.
Use caution when altering this setting, as in combination with certain CCA modes it can prevent reliable reception. The default value for ED threshold is 17, which can be changed with the command
set ed_threshold <n>
Term Meaning

If set, this variable causes the ED threshold set by ‘set ed_threshold’ to be regarded as an absolute value. Otherwise the value is taken to be relative to the noise floor.
Use caution when altering this setting, as in combination with certain CCA modes it can prevent reliable reception. By default, ED absolute is set to TRUE, which can be changed using the command
set ed_absolute <TRUE or FALSE>

Learn mode
In this mode, only one of the interfaces is operational (either LAN or radio) – if the unit is started up with both a radio card and LAN connection, then the active interface will be radio, and the LAN connection ignored; otherwise, the connected interface will be used.
In LAN learn mode, the unit will attempt to learn an IP address – if three successive ARP requests are passed through the unit without a reply, it will adopt the IP address in the ARP request for itself. This would normally be used by plugging the unit into a network, and accessing it (e.g. pinging the desired IP address). Once the address is learnt this way, any one of the configuration methods listed the user manual can be used to configure the unit.
In radio learn mode, the unit automatically becomes a limited DHCP server, assigning itself the first address in the pool (however, it will respond to any incoming packet with a valid IP address). This can be used to provide a permanent configuration, as above.

The A032 enterprise traps have been updated since the previous issue of the user manual. The following are now generated:
1 A032 Authenticate fail
Generated in the event that a station tries to associate but is refused due to the fact that the NID Name security feature is enabled. Note that this trap is limited to being generated no more than once every 30 seconds to prevent flooding due to denial of service attack.
2 A032 Bridge Down
If the bridge/repeater function is active, this trap is generated when a bridge link is lost.
3 A032 Management login
Generated whenever the Management password is successfully entered in one of the management utilities.
4 A032 TFTP Access Generated whenever a TFTP transfer is initiated to or from the unit.
5 WEP Authenticate fail
Generated in the same way as Trap 1, but when the authentication is rejected because of WEP rather than the NID name feature.
Trap Name Description

The A032 now has explicit support for 104 bit WEP keys. Some manufacturers have produced 802.11b clients using 104-bit WEP keys (usually marketed as being 128 bit). Creating a 104-bit key in the A032 should allow these clients to be used with their maximum key strength.

Introduction
This section describes the Nokia Radius client implementation. It provides sufficient detail to get third-party Radius servers to operate with the A032 Access Point. It describes frame formats and details of interactions between the AP and a Radius server. It does not cover how a particular Radius server implementation is configured to operate with an AP.
This section documents both new and previously existing behavior.

Radius is a simple authentication protocol for remote clients. The name Radius comes from the words Remote Authentication Dial In User Service. The Radius protocol has traditionally been used in modem pools but nowadays its use has been expanded to include firewall authentication, amongst other things. The AP implementation of Radius widens the scope of the protocol to include Wireless LAN clients and the provision the key exchange as part of authentication scheme.
The basic characteristics and assumptions are following:

The traditional Radius system is meant to operate within a secure network, such as intranet, because it does not require much skill to capture radius packets and use faked packets to provide false authentication information. That’s why the WEP keys received from Radius server are encrypted.
Radius security scheme has three to four components. The network architecture of the system can be seen in the figure below. The first component is the client trying to perform the authentication. Traditionally, this is a laptop trying to set up a connection to corporate modem pool via a dial-in connection from the PSTN. On the WLAN scenario the client is a laptop, or a wired PC using an adapter, trying to set up a WLAN connection to an Access Point.

The second component is the modem-pool server that tries to find out if the user is valid or not. The modem pool server tries to authenticate the user against the central user database by using the Radius protocol so modem pool server is a Radius client described

on the protocol specification. The protocol specification uses name Network Access Server (NAS) for the client of the Radius server. On our WLAN radius security scheme, the AP is equivalent to the NAS on the protocol specification so the AP is a client of the Radius server (in other words, the NAS functionality is build into the AP).
The third component is the Radius server, which takes care of deciding if the clients should be granted access to the network. Usually, there is a database attached to the Radius server implementation, which holds the list of the authorized clients. Radius server is a stateless system that receives packets and responds to them right away. If state information is needed, it is included in the response. When clients receive the state information, this includes the state of its response packet.
The fourth component is the proxy server. It receives requests from the NAS and either processes them by itself or sends them to another Radius server. This makes it possible to distribute the processing of Radius requests, allowing load balancing and making the security solution more fail safe.

The use of a Radius server on the current AP range can be enabled using the web pages or via the command line, either through the serial port or via Telnet.
Once enabled, whenever a wireless station attempts to authenticate with the AP, the following interaction with the Radius server occurs:
Station AP Radius Server
MAC (Auth. Req., seq=1)
(optional encrypted WEP key)
The basic message flow between different external entities is shown above.

The authentication procedure is initiated by the station, which sends Authentication Req MAC frame to the AP. The AP builds a Radius Access- Request containing a Radius user-name and user-password derived as follows:
When the Radius server receives the Access- Request, it takes the user-name and looks up the entry for the station. It then recalculates its own copy of the user-password and if the supplied user-password and its own match it builds an Access-Accept message to send back to

the AP. If a WEP key has been stored in the Radius database for this station, it uses the Blowfish algorithm to encrypt the WEP key and includes this as a Vendor-Specific Radius attribute. Otherwise, no Vendor-Specific attribute is included.
The WEP key is transmitted as a 32-character hexadecimal ASCII string derived as follows:
The 32-character string representing the encrypted key is sent to the AP as a vendor- specific attribute (see RFC2138 section 5.26) with the vendor ID set to the Nokia value (94). This is shown below.
Vendor ID (94) 4
WEP key attribute (see following tables)

The encrypted WEP key is placed in the String field. This is formatted also like an attribute (type+length+string) but the type values are defined in this document. There are two formats for the Nokia-specific attribute:
Encrypted WEP key (ASCII hex string)
The format above has no mechanism for determining the length of the WEP key. The first implementation of the AP Radius client measured the length by looking for the first non-0x00 byte in the decrypted key from the end of the 16-byte decrypted key. Unfortunately, this means that no key can end with bytes of 0x00 even though this would otherwise be a valid key. For backwards compatibility, the format above is still supported but should not be used for new systems.
To fix the WEP key length problem, the format below should be used:
Key Length (ASCII hex) 2
Encrypted WEP key (ASCII hex string)

This uses a new type code and the attribute now contains the length of the WEP key in bytes expressed as a 2-character ASCII hex string in the range 05 to 10. When configuring a Radius server, the two strings shown above can be treated as a single 34-character hex string.
When AP receives the Access-Accept message, if a vendor-specific attribute is present the WEP- key is extracted from the Radius and the AP continues its normal IEEE802.11 authentication procedure using the supplied WEP key for communication with the station. If no key is provided, the AP will continue to use the keys existing on the AP – normally the current default key. IEEE802.11 authentication is not described in this document.
If the Radius server cannot identify the station, it will send an Access-Reject message to the AP. The AP will terminate the IEEE802.11 authentication and return an error code to the wireless station.

To configure the A032 to use Radius authentication, carry out the following steps (the items within are user-specified, the other text must be typed as shown):
1 Set the Radius secret and the password common to all APs: set shared_secret
2 Set the IP addresses of the primary and secondary radius servers (if only one server is present, set the primary and secondary addresses to be the same): set radius_server 1 set radius_server 2
3 Set the WEP mode and specify that a Radius server is to be used for key lookup: set wep_mode radius
4 Set the admission policy to only permitted stations: set admission named

Because there are many different radius servers available, no specific configuration details can be given. However, the following general procedure can be used:
1 Set the Radius secret and the password common to all APs: set shared_secret
2 For each station, create an entry where the username is the station MAC address expressed as a 12-character hexadecimal string, and the password is the password used in step 1 of the AP configuration 3 If per-station WEP keys are required, define the WEP key for the station. How this is done will depend on how the server handles vendor-specific attributes. Because the use of a per-station WEP key is optional, Radius can still be used to authenticate wireless station access.

Introduction
This document describes the operation and configuration of DHCP on the AP. Server operation is essentially unchanged, other than the effects of revisions to the user interface to cater for client operation.
The AP can be configured for either server or client operation (this is an exclusive choice – choosing both simultaneously is not accepted). Server operation is described in more detail below, while client operation is described on page 33. The AP DHCP implementations do not support BOOTP interoperability.

The Server implementation is targeted at small installations (such as home use), and includes only a minimal feature set. It is anticipated that larger networks would have a pre-existing system administration policy – either precluding the use of DHCP, or having a more fully featured DHCP server under central control. The AP DHCP server provides for the following:


The DHCP client has been designed to ease integration of the AP into larger networks, and as such has a larger feature set than the server. The intention is to allow the DHCP protocol to be used to download a working configuration, enabling the management of all APs on a network to be handled centrally. In order to support this, the client implementation draws configuration information from the following:
When the AP is configured to run in DHCP client mode, the dhcp command in the CLM reports on the current lease within the AP.

When the DHCP client is enabled, the AP will first boot up into a limited operation mode, connected to LAN only, and begin the DHCP negotiation. During this phase, the AP will signal no radio operation on the LEDs. Only when a DHCP offer is received (and accepted), or the process is abandoned (no response is received from a server after three retries) will the AP complete booting and run management and radio interfaces. If a dynamic lease expires, the AP will return to this limited operational mode (by rebooting). Note that all radio clients will be forcibly disconnected.
The AP will always perform a full DHCP initialization (that is, it begins with a DISCOVER frame), even if it has a configured IP address. Neither an init-reboot or DHCPINFORM process are ever used. If the AP does have a configured management IP address, it will request assignment of it via the DHCP procedure, but make use of whatever IP address it is given. This process can be tracked using the DHCP status screen on the web interface.
Depending on the success of DHCP negotiation, one of the following will occur:


If a DHCP frame is received containing a file reference, the AP will use TFTP to download and store it. See page 42 for details of the TFTP download, but note that, in this case, there is a hierarchy of configuration data:

Using a DHCP client implementation allows the AP to be offered an IP address according to one of the following schemes:
A dynamic address which expires (i.e. if lease renewal and rebind both fail) causes the AP to reboot. This ensures that the expired IP address will not be used, and forces a fresh negotiation. In this case, the log records the reboot and the reason as DHCP lease expiry.

The following tables list AP parameters and their availability via DHCP. These are the standard DHCP options and their option codes:
Parameter DHCP option code Default value
Default gateway 3 none
Subnet mask 1 255.0.0.0
IP address n/a none
AP name 12 “LocalAP”

All other AP configuration items require private option codes for vendor-specific option processing. These are packaged into DHCP option 43, using the encapsulated option format described there. The following table lists the remaining AP configuration items and their option code and format within DHCP. Options are stored in the standard DHCP format, and packaged as shown below:
Zone Privacy 1 1 n/a Experimental option, do not use
Radio channel 2 1 10 channel #
Domain 3 1 varies coded value (see 802.11 MIB)
802.11 net name
4 max. 32 “Nokia WLAN”
Password 5 max. 16 “default” ASCII
RTS Threshold 10 2 2301 value (2 octets)
11 2 2346 value (2 octets)
Basic Rates 12 max. 8 1000 2000 array of 2 octet values
Beacon interval 13 2 100 (mS) value (2 octets)
DTIM interval 14 1 5 value
Tx power level 15 1 1 value
CCA mode 16 1 2 value
ED threshold 17 1 17 value
ED absolute 18 1 1 1 or 0
Path delay 19 2 0 value (2 octets)
Short retry 21 1 15 value

Long retry 22 1 15 value
Telnet port 30 2 23 value (2 octets)
HTTP port 31 2 80 value (2 octets)
Protocol filter 32 1 0 1 (discard all non-TCP/ IP frames) or 0 (no filtering)
40 max. 8 “any” ASCII text: “any”, “specific” or “none”
Manager IP list 41 max 16 none between 1 and 4 IP addresses
WEP mode 50 max. 8 “wep” ASCII text: “open”, “wep”, “wifi” or “personal”
Lookup mode 51 max. 8 “local” ASCII text: “local”, “radius” or “either”
Radius server IPs 52 max. 8 none 1 or 2 IP addresses
53 max. 16 none ASCII
54 max. 16 none ASCII
55 1 off 1 or 0
WEP key length policy
56 2 40,40 2 lengths in bits
WEP key active 60 1 1 1–4
WEP key 1 61 max. 16 none WEP key
WEP key 2 62 max. 16 none WEP key
WEP key 3 63 max. 16 none WEP key
WEP key 4 64 max. 16 none WEP key
DHCP server no n/a n/a Automatically disabled

70 max. 16 “public” ASCII
71 max. 16 “private” ASCII
The AP requests this parameter list by sending a Vendor class identifier (DHCP option) with the DHCPREQUEST/DISCOVER frames. This will comprise the option code (60), length (10), and the ASCII text “Nokia A03x”.
The AP does not expect to receive values for every parameter in the table above; they are subject to the same principle as standard options (included if only if needed). In fact, the total length of the option field is limited to 255 octets (and each option requires its length + 2 octets overhead), so including all of the options runs the risk of overrunning the maximum size. Some of the larger or more specialized AP parameters are not supported via DHCP options: if DHCP configuration is required for them, the TFTP configuration file method must be used.
Operational sequence on page 34 describes the implications of not including certain options.

DHCP may also be used to notify the AP of a filename to use for a download. The AP will parse this, if present, and use TFTP to request the file specified. This file is structured like a normal AP TFTP config.txt file (although it may optionally be augmented with WEP keys and passwords, and should not contain parameters which clash with the standard DHCP options: IP address, subnet mask, gateway and AP name). In this case, the AP downloads the new configuration, then moves onto normal operation.
See Operational sequence on page 34 for a description of the whole configuration process.

The configuration page simply displays (and allows changes to) the five DHCP configuration entries.





The TFTP config.txt file has been restructured in line with the changes to configuration. The following example illustrates the current format:
/Config.txt for AP(Example) on Wed, 27 Jun 2001 09:55:06

/*default setting
Owners and our team usually reply within a day — and your question helps the next person too.
Be the first to ask — other owners or our team will answer.