ssid=Nokia WLAN
shared_key1=0x123456789a
In this case the network name is Nokia WLAN and the network has one shared WEP key. The card will automatically find the best matching WLAN access point with the desired SSID and matching WEP key. The profile must contain: mode (infra) and the desired ssid (network name).
4.4 GSM CONFIGURATION
Note: When referring to GSM data or GSM connection, the information also applies to GPRS connections.
To enable a GSM connection, set MODE to GSM:
MODE=GSM
This setting alone will ensure that the WLAN connection is not established at device driver startup. GSM connection requires that you have a working PPP setup in your device. Check from your Linux distribution documentation how to install PPP support on you device.
When the radio card is inside the PCMCIA slot and WLAN connection is not established, in order to use the GSM functionality, it is necessary to first give the PIN code for the SIM card. PIN code can be given with the nokia_ctl program. The GSM radio also needs to be enabled, and this can be done with nokia_ctl, too.
The device driver creates a serial port /dev/ttyNC0. This serial port can be used for GSM connections. The serial port supports AT commands that are listed in the Developer Manual for the Nokia D211 found at www.forum.nokia.com. In scripts directory there is a sample wvdial script for different connection types. A sample PPP options file is also in the same directory. You can copy this into your PPP configuration directory (usually /etc/ppp).
5.USING THE DEVICE DRIVER
If the device driver has been installed correctly, it should load automatically when the Nokia D211 is inserted into the PC card slot of the device. You can check the status from your system log messages which typically are located in /var/log/messages. Other means of checking the status is to give the command 'dmesg' and reading /proc/net/nokia_cs.
Syntax of the information in /proc/net/nokia_cs:
WLAN NetDev | name of the card ethernet device |
WLAN MAC | MAC address of the Nokia D211 |
WLAN ChrDev | name of the controlling character device |
WLAN ChMajor | major number of the character device |
4/10