[PLUTO-help] Installazione modem

Bassignana Claudio bax a wipikakite.com
Gio 10 Mar 2005 12:39:46 CET


Premetto che sono un novello di linux per cui a parte le operazioni più 
semplici, trovo molte difficoltà in molti casi tra cui questo:
dopo varie ricerche ho trovato il driver er far funzionare il win modem del 
mio portatile ma non so come fare per installarlo.
Di seguito vi sono le informazioni del file readme ma non sono come fare e 
soprattutto non vorrei fare dei disastri.
Qualcuno potrebbe spiegarmi gentilmente in modo terra terra come fare (per 
esempio:"apri una shell e poi digita il comando......, successivamente dai il 
percorso per la compilazione del kernel che è ...... ecc ecc").
Grazie e scusate la richiesta d'aiuto idiota ma le prime volte non è facile..

1. Unpack tar.gz package file:

	$ gzip -dc slmodem-2.9.X.tar.gz | tar xf -

2. 'cd' to package directory:

	$ cd slmodem-2.9.X

3. Review and edit 'Makefile' (if need):

   In many cases you will need to correct path to your local kernel
   source tree:

        KERNEL_DIR=/path/to/linux

   Default KERNEL_DIR is '/lib/modules/<kerne-version>/build'. Many Linux
   Distributions use directory '/usr/src/linux-<version>' also.

   Note: If you are using Linux kernel 2.4, only header files should be
         available for build in $(KERNEL_DIR)/include

   Another way to pass right value KERNEL_DIR is to use command line
   parameter while running 'make':

        $ make KERNEL_DIR=/path/to/linux ...

4. Run 'make' command to compile package:

	$ make

5. Install. As 'root' user run:

	# make install

   It will install:

   - application 'slmodemd' under '/usr/sbin' directory

   - hardware specific drivers (kernel modules) 'slamr' and 'slusb'
     under conventional kernel modules directory

   - character device nodes '/dev/slamr0-3' with major number 212
     (for pci modems) and '/dev/slusb0-3' with major number 213
     (for usb modems).

   - config modules for autoloading (by editing file '/etc/modules.conf')
     (only with 2.4 kernels)

6. Config modem country.

   Use AT+GCI=<T.35 country code> command to setup country.

   Also you can setup default modem country by passing command line
   parameter '--country=MY_COUNTRY' to program 'slmodemd'.

   See output of 'slmodemd --countrylist' for a list of supported
   country names and T.35 country codes (see also 'slmodemd --help').

   Note: Command ATI7 shows currently installed country setting.



Grazie.



More information about the pluto-help mailing list