This is the short INSTALL help file for the Linux driver of Nokia D211 
multimode radio card.

Read the LICENSES before installing.

For troubleshooting, see docs/d211_linux_guide.pdf.

Required items:
-The binary part of the driver untarred on top of the source part
-Kernel sources
-System V IPC support in the kernel
-PCMCIA must be compiled and installed properly, check the documentation that
came with the PCMCIA sources
-PPP support, check the documentation in your Linux distribution

To compile and create the module:

- Rename the config.mk.orig file to config.mk

- Edit the config.mk file to match your system configuration

- type: make all; make install

- To copy the default nokia_cs script and settings, 
  type: make config_install. This will overwrite your previous settings, 
  and therefore it is recommended to be run only when installing for 
  the first time.

The module is now loadable. Next, the configuration
files must be edited.

/etc/pcmcia/nokia_cs.opts: This file determines the behaviour of the card 
as it is initialized.

For GSM/GPRS data connection you need to setup the PPP parameters.

- Edit /etc/pcmcia/nokia_cs not to start WLAN i.e. MODE=GSM
- Enable GSM by giving your PIN code ('nokia_ctl enable_gsm') after
  you have inserted the card. You have to do this every time you insert 
  the card or reset the phone. Enable GSM radio by giving command 
  'nokia_ctl gsm enableGSMradio'.
- Edit the PPP parameters according to your needs. We have included 
  a sample options file in the scripts directory. Change the username to
  your real username in the network.
  Also a sample wvdial.conf is included if you plan to use the wvdial program.
  These files are not installed by default. 
- Start the connection. If you use wvdial you may need to reset the phone if
  some error occurs because it does not always properly stop the PPP 
  connection.
- Always check the corrert parameters from your network provider

For simple adhoc WLAN network, edit the nokia_cs.opts as following:

MODE=WLAN

# WLAN settings

PROFILE=WLAN_profile
NETWORK_START=yes

# WLAN profiles

[WLAN_profile]
mode=adhoc
restrictchannel=
ssid=Nokia WLAN
shared_key1=
active_key=

Then restart the pcmcia

/etc/rc.d/init.d/pcmcia restart

and it should work.

After the card has been inserted you can check the status of the card from
/proc/net/nokia_cs and from kernel log messages.

Note: If you are updating from an older version, the
make config_install command will overwrite the scripts in the
/etc/pcmcia directory and name the old ones as XXXX.old.
If you wish to to return to these, simply replace them accordingly.
