
4.1 GENERAL CONFIGURATION VARIABLES
The configuration file contains three general configuration variables. They configure the actions that are performed after the card is inserted.
MODE=WLAN
PROFILE=My_profile
NETWORK_START=yes
MODE selects the operating mode. It can be set to WLAN or GSM to enable WLAN or GSM functionality after startup. PROFILE is used to specify the used profile for the selected operating mode. If NETWORK_START is set to “yes”, the network is started after the profile startup. If it is set to “no”, no network is started. [m2]
After these general configuration variables[m3], multiple profiles can be described consecutively. Each profile starts with a profile name, which is placed in brackets, and is followed by profile parameters.
The profile can also be set manually by using the nokia_ctl utility. See chapter 5.1.
4.2 WLAN AD HOC NETWORK
For a simple ad hoc network, MODE is set to WLAN and the other configuration variables are located in the selected profile (PROFILE). For example, edit the nokia_cs.opts as follows:
MODE=WLAN PROFILE=My_profile NETWORK_START=yes [My_profile] mode=adhoc
ssid=<put here the desired ssid>
This configuration joins an existing ad hoc network with the desired ssid. If there is no adhoc network with the desired ssid available, the configuration creates one. The profile must contain: country (0), mode (adhoc), and the desired ssid (network name, e.g. “Nokia ADHOC”).
4.3 WLAN INFRASTRUCTURE NETWORK
For a simple infrastructure network, MODE is set to WLAN and the other configuration variables are located in the selected profile (PROFILE). For example, edit the nokia_cs.opts as follows:
MODE=WLAN PROFILE=Infra_profile NETWORK_START=yes [Infra_profile] mode=infra
3/10