Salve ragazzi. Ho scaricato dal sito di http://www.atlantisland.it/ il driver per il mio modem WebRunner PCI V.90/V.92 (cod.A01-PP1).

Ho cercato di leggere il file README e di fare l'installazione da solo.

Dunque, dice che l'installazione si fa così:

3. INSTALLATION

Prerequisites:

1. root access
2. bash shell to run install scripts
3. a 536EP modem
4. KERNEL SOURCE HEADERS FOR THE KERNEL YOU ARE RUNNING

(found on your distribution's CD)

6 steps to install

1. login as ROOT
2. extract the archive into a directory with "tar -zxvf <archivename>.tgz"
3. cd into the directory it created.
4. Type: make clean
5. Type: make 536ep
6. Type: make install-536ep

The installation script has been designed for the following distributions
release versions

mandrake-release
SuSE-release
redhat-release
debian_version (including Corel)
slackware-version
conectiva-version
bluepoint-release
Unknown distributions install modules and utilities but
will not install boot scripts!.

Please examine the 536ep-inst script if you have a different distribution.

The driver is split in two. A serial driver and core driver.
The core driver must be loaded first since the serial driver depends on it.
The serial driver registers itself as character device major number 240, minor number 1.
The serial driver takes one argument right now, which is a number to override the default major number if you need to.

ATTENTION: if the driver compiles but the script just wont work for you.
Here are the bare minimum steps to get your modem to work.

0

. log in as root.

1. insmod -f 536epcore.o
2. insmod -f 536ep.o
2a. you can start "hamregistry" at this point if you wish.
3. rm /dev/536ep
4. mknod /dev/536ep c 240 1 (note "240" is the default, if it does not work see what /proc/devices says 536ep's major number is)
5. ln -s /dev/536ep /dev/modem
6. start a comm application like minicom and use the modem.
7. see section 3 (International Users) for info on setting the correct country settings.


Ecco cos'ho fatto io:
[root@Paolo modem]# make clean
cd coredrv; make clean
make[1]: Entering directory `/modem/coredrv'
rm -f *.o *~ core
make[1]: Leaving directory `/modem/coredrv'
cd serialdrv; make clean
make[1]: Entering directory `/modem/serialdrv'
rm -f *.o *~ core
make[1]: Leaving directory `/modem/serialdrv'
rm -f *.o
rm -f *.o
[root@Paolo modem]# make 536ep
if [ -a /boot/vmlinuz.version.h ]; then \
cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h; fi
cd coredrv; make \
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" \
536ep;
make[1]: Entering directory `/modem/coredrv'
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o coredrv.o coredrv.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o clmmain.o clmmain.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o rts.o rts.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o task.o task.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o uart.o uart.c
uart.c: In function `UART_dte_to_char':
uart.c:630: warning: operation on `uart_rx_put_index' may be undefined
uart.c: In function `UART_dce_to_char':
uart.c:672: warning: operation on `uart_tx_put_index' may be undefined
uart.c: In function `UART_dce_from_char':
uart.c:710: warning: operation on `uart_tx_get_index' may be undefined
uart.c: In function `UART_dte_from_char':
uart.c:755: warning: operation on `uart_rx_get_index' may be undefined
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o wwh_dflt.o wwh_dflt.c
ld -r coredrv.o clmmain.o rts.o task.o uart.o wwh_dflt.o 536epcore.lib -o 536epcore.o
make[1]: Leaving directory `/modem/coredrv'
cp coredrv/536epcore.o .
cd serialdrv; make \
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" \
536ep;
make[1]: Entering directory `/modem/serialdrv'
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -c -o clmdrvr.o clmdrvr.c
clmdrvr.c:277: warning: static declaration for `rs_init' follows non-static
clmdrvr.c:398:22: warning: multi-line string literals are deprecated
clmdrvr.c: In function `rs_open':
clmdrvr.c:363: warning: unused variable `retval'
ld -r clmdrvr.o -o 536ep.o
make[1]: Leaving directory `/modem/serialdrv'
cp serialdrv/536ep.o .
[root@Paolo modem]# make install-536ep
bash 536ep-inst
: command not found
: command not found:
running kernel 2.4.19-16mdk
: command not found:
'36ep-inst: line 38: syntax error near unexpected token `in
'36ep-inst: line 38: `case $KERNVER in
make: *** [install-536ep] Error 2
[root@Paolo modem]#


Insomma, mi sono bloccato lì, come mai? perchè mi da quest'errore?

Grazie

Grazie