=================
    Building
=================

In root directory run
$ make all


==================
   Installation
==================

In root directory run
$ su 
# make install


==============
   Running
==============

Load module and run martian_modem first.
# modprobe martian_dev
# martian_modem [Options] [Tty]

Now Tty is the name of the device file to represent your modem. You'll supply it to the dialer. /dev/ttySM0 if argument omitted. Left martian_modem running and start the dialer.

See options available
# martian_modem --help
 

==============
     Auto
==============

In scripts/ directory run automate.sh. 
$ cd scripts/
$ ./automate.sh

You can supply the option to be passed to martian_modem on loading like
$ ./automate --mode 0660

See ./automate.sh --help for more options.


==============
    Notes
==============

'martian_modem' program is a crucial part of the driver. It should be running as long as you access the modem.

For technical reasons carrier status support is not available for the modem client. Configure dialer respectively. For wvdial add "Check Carrier = No" line to the configuration file.


x86_64 platform. 
----------------

martian_modem is a 32-bit application. It can be built on x86_64 the way prescribed, but you need 32-bit development environment for that. Second option is to use binary built on i386. 

To compile and install module only do 
$ make -C kmodule/ modules
$ su
# make -C kmodule/ install

