[PLUTO-help] PASSI DA GIGANTE NELLA CONFIGURAZIONE DI -ROPER WEBEASY USB 56K V92-

Fabio Testaferrata fabio_testa73 a libero.it
Dom 31 Ago 2003 18:05:59 CEST


DOPO AVER INSTALLATO LE SORGENTI DEL KERNEL 2.4.21-0.13mdk VADO NELLA
CARTELLA CHE CONTIENE I FILES E LANCIO MAKE:
make
gcc -Wall -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB
-I. -I/usr/src/linux/include  -DMODVERSIONS --include
/usr/src/linux/include/linux/modversions.h -o amrmo_init.o -c
amrmo_init.c
<command line>:1075412675:1: /usr/src/linux/include/linux/modversions.h:
No such file or directory
In file included from /usr/include/linux/prefetch.h:13,
                 from /usr/include/linux/list.h:6,
                 from /usr/include/linux/module.h:11,
                 from amrmo_init.c:47:
/usr/include/asm/processor.h:55: `CONFIG_X86_L1_CACHE_SHIFT' undeclared
here (not in a function)
/usr/include/asm/processor.h:55: requested alignment is not a constant
In file included from /usr/include/linux/module.h:297,
                 from amrmo_init.c:47:
/usr/include/linux/version.h:2:2: #error
"======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include
/usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the
compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header
files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as
recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal
and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They
should only be"
/usr/include/linux/version.h:10:2: #error "included via other system
header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly
include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules
please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources
installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the
symbolic link"
/usr/include/linux/version.h:19:2: #error "   /lib/modules/`uname
-r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error "   the matching kernel source
directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy
/boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname
-r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure
to use the following"
/usr/include/linux/version.h:26:2: #error "   compiler option to use the
correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "   -I/lib/modules/`uname
-r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "   instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile
accordingly."
/usr/include/linux/version.h:35:2: #error
"======================================================="
In file included from amrmo_init.c:47:
/usr/include/linux/module.h:299: parse error before "UTS_RELEASE"
/usr/include/linux/module.h: In function `print_symbol':
/usr/include/linux/module.h:433: `ESRCH' undeclared (first use in this
function)
/usr/include/linux/module.h:433: (Each undeclared identifier is reported
only once
/usr/include/linux/module.h:433: for each function it appears in.)
In file included from amrmo_init.c:48:
/usr/include/linux/version.h:2:2: #error
"======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include
/usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the
compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header
files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as
recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal
and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They
should only be"
/usr/include/linux/version.h:10:2: #error "included via other system
header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly
include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules
please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources
installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the
symbolic link"
/usr/include/linux/version.h:19:2: #error "   /lib/modules/`uname
-r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error "   the matching kernel source
directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy
/boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname
-r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure
to use the following"
/usr/include/linux/version.h:26:2: #error "   compiler option to use the
correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "   -I/lib/modules/`uname
-r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "   instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile
accordingly."
/usr/include/linux/version.h:35:2: #error
"======================================================="
In file included from linux_compat.h:50,
                 from amrmo_init.c:53:
/usr/include/linux/version.h:2:2: #error
"======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include
/usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the
compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header
files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as
recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal
and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They
should only be"
/usr/include/linux/version.h:10:2: #error "included via other system
header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly
include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules
please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources
installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the
symbolic link"
/usr/include/linux/version.h:19:2: #error "   /lib/modules/`uname
-r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error "   the matching kernel source
directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy
/boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname
-r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure
to use the following"
/usr/include/linux/version.h:26:2: #error "   compiler option to use the
correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "   -I/lib/modules/`uname
-r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "   instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile
accordingly."
/usr/include/linux/version.h:35:2: #error
"======================================================="
In file included from amrmo_init.c:53:
linux_compat.h:55:40: missing binary operator before '('
linux_compat.h:77:40: missing binary operator before '('
linux_compat.h:91:40: missing binary operator before '('
linux_compat.h:98:41: missing binary operator before '('
amrmo_init.c: In function `amrmo_probe':
amrmo_init.c:311: warning: implicit declaration of function
`pci_request_regions'
amrmo_init.c:317: warning: implicit declaration of function
`pci_release_regions'
amrmo_init.c: In function `amrmo_init':
amrmo_init.c:378: warning: implicit declaration of function
`pci_dev_driver'
make: *** [amrmo_init.o] Error 1
[alphamanitine a localhost slmdm-2.7.14]$

A QUESTO PUNTO HO COPIATO  /boot/vmlinuz-2.4.21-0.13mdk IN
/lib/modules/2.4.21-0.13mdk/build/include/linux/vmlinuz-2.4.21-0.13mdk

[root a localhost slmdm-2.7.14]# make install-usb
install -D -m 644 slmdm.o //lib/modules/2.4.21-0.13mdk/misc/slmdm.o
install -D -m 644 slfax.o //lib/modules/2.4.21-0.13mdk/misc/slfax.o
install -D -m 644 slamrmo.o //lib/modules/2.4.21-0.13mdk/misc/slamrmo.o
install -D -m 644 slusb.o //lib/modules/2.4.21-0.13mdk/misc/slusb.o
install -D -m 755 country.dat /etc/country.dat
install -d /dev
rm -f /dev/ttySL0
mknod -m 666  /dev/ttySL0 c 212 0
ln -sf ./ttySL0  /dev/modem
/sbin/modprobe -r slusb
/sbin/modprobe -r slamrmo
/sbin/modprobe -r slfax
/sbin/modprobe -r slmdm
cp /etc/modules.conf /etc/modules.conf.slmdm && \
  grep -v 'slmodem' /etc/modules.conf.slmdm > /etc/modules.conf
/sbin/depmod -a
cp /etc/modules.conf /etc/modules.conf.slmdm
echo 'alias char-major-212 slmodem' >> /etc/modules.conf
echo 'alias slmodem off' >> /etc/modules.conf
cp /etc/modules.conf /etc/modules.conf.slmdm && \
  sed -e 's/^alias slmodem .*$/alias slmodem slusb/'
/etc/modules.conf.slmdm > /etc/modules.conf
/sbin/depmod -a

POI :

[root a localhost slmdm-2.7.14]# ./slver -c 
Supported countries:
02      ALGERIA
07      ARGENTINA
09      AUSTRALIA
0a      AUSTRIA
0c      BAHREIN
0f      BELGIUM
16      BRAZIL
1a      BRUNEI
1b      BULGARIA
20      CANADA
25      CHILE
26      CHINA
100     CTR21EUROPE
2d      CYPRUS
2e      CZECH_REPUBLIC/SLOVAKIA
31      DENMARK
36      EGYPT
101     ESTONIA
3c      FINLAND
3d      FRANCE
42      GERMANY
46      GREECE
50      HONG_KONG
51      HUNGARY
52      ICELAND
53      INDIA
54      INDONESIA
57      IRELAND
58      ISRAEL
59      ITALY
00      JAPAN
5e      JORDAN
61      KOREA
62      KUWAIT
103     LATVIA
64      LEBANON
104     LITHUANIA
69      LUXEMBOURG
6c      MALAYSIA
70      MALTA
73      MEXICO
77      MOROCCO
7b      NETHERLANDS
7e      NEW_ZEALAND
82      NORWAY
83      OMAN
84      PAKISTAN
88      PERU
89      PHILIPPINES
8a      POLAND
8b      PORTUGAL
8e      ROMANIA
b8      RUSSIA
98      SAUDIARABIA
9c      SINGAPORE
105     SLOVAKIA
106     SLOVENIA
9f      SOUTHAFRICA
107     SOUTHKOREA
a0      SPAIN
a1      SRILANKA
a5      SWEDEN
a6      SWITZERLAND
108     TAIWAN
a9      THAILAND
ad      TUNISIA
ae      TURKEY
b3      UAE
b4      UK
b7      URUGUAY
b5      USA
bc      VIETNAM
[root a localhost slmdm-2.7.14]# 02      ALGERIA
bash: 02: command not found
[root a localhost slmdm-2.7.14]# 07      ARGENTINA
bash: 07: command not found
[root a localhost slmdm-2.7.14]# 09      AUSTRALIA
bash: 09: command not found
[root a localhost slmdm-2.7.14]# 0a      AUSTRIA
bash: 0a: command not found
[root a localhost slmdm-2.7.14]# 0c      BAHREIN
bash: 0c: command not found
[root a localhost slmdm-2.7.14]# 0f      BELGIUM
bash: 0f: command not found
[root a localhost slmdm-2.7.14]# 16      BRAZIL
bash: 16: command not found
[root a localhost slmdm-2.7.14]# 1a      BRUNEI
bash: 1a: command not found
[root a localhost slmdm-2.7.14]# 1b      BULGARIA
bash: 1b: command not found
[root a localhost slmdm-2.7.14]# 20      CANADA
bash: 20: command not found
[root a localhost slmdm-2.7.14]# 25      CHILE
bash: 25: command not found
[root a localhost slmdm-2.7.14]# 26      CHINA
bash: 26: command not found
[root a localhost slmdm-2.7.14]# 100     CTR21EUROPE
bash: 100: command not found
[root a localhost slmdm-2.7.14]# 2d      CYPRUS
bash: 2d: command not found
[root a localhost slmdm-2.7.14]# 2e      CZECH_REPUBLIC/SLOVAKIA
bash: 2e: command not found
[root a localhost slmdm-2.7.14]# 31      DENMARK
bash: 31: command not found
[root a localhost slmdm-2.7.14]# 36      EGYPT
bash: 36: command not found
[root a localhost slmdm-2.7.14]# 101     ESTONIA
bash: 101: command not found
[root a localhost slmdm-2.7.14]# 3c      FINLAND
bash: 3c: command not found
[root a localhost slmdm-2.7.14]# 3d      FRANCE
bash: 3d: command not found
[root a localhost slmdm-2.7.14]# 42      GERMANY
bash: 42: command not found
[root a localhost slmdm-2.7.14]# 46      GREECE
bash: 46: command not found
[root a localhost slmdm-2.7.14]# 50      HONG_KONG
bash: 50: command not found
[root a localhost slmdm-2.7.14]# 51      HUNGARY
bash: 51: command not found
[root a localhost slmdm-2.7.14]# 52      ICELAND
bash: 52: command not found
[root a localhost slmdm-2.7.14]# 53      INDIA
bash: 53: command not found
[root a localhost slmdm-2.7.14]# 54      INDONESIA
bash: 54: command not found
[root a localhost slmdm-2.7.14]# 57      IRELAND
bash: 57: command not found
[root a localhost slmdm-2.7.14]# 58      ISRAEL
bash: 58: command not found
[root a localhost slmdm-2.7.14]# 59      ITALY
bash: 59: command not found
[root a localhost slmdm-2.7.14]# 00      JAPAN
bash: 00: command not found
[root a localhost slmdm-2.7.14]# 5e      JORDAN
bash: 5e: command not found
[root a localhost slmdm-2.7.14]# 61      KOREA
bash: 61: command not found
[root a localhost slmdm-2.7.14]# 62      KUWAIT
bash: 62: command not found
[root a localhost slmdm-2.7.14]# 103     LATVIA
bash: 103: command not found
[root a localhost slmdm-2.7.14]# 64      LEBANON
bash: 64: command not found
[root a localhost slmdm-2.7.14]# 104     LITHUANIA
bash: 104: command not found
[root a localhost slmdm-2.7.14]# 69      LUXEMBOURG
bash: 69: command not found
[root a localhost slmdm-2.7.14]# 6c      MALAYSIA
bash: 6c: command not found
[root a localhost slmdm-2.7.14]# 70      MALTA
bash: 70: command not found
[root a localhost slmdm-2.7.14]# 73      MEXICO
bash: 73: command not found
[root a localhost slmdm-2.7.14]# 77      MOROCCO
bash: 77: command not found
[root a localhost slmdm-2.7.14]# 7b      NETHERLANDS
bash: 7b: command not found
[root a localhost slmdm-2.7.14]# 7e      NEW_ZEALAND
bash: 7e: command not found
[root a localhost slmdm-2.7.14]# 82      NORWAY
bash: 82: command not found
[root a localhost slmdm-2.7.14]# 83      OMAN
bash: 83: command not found
[root a localhost slmdm-2.7.14]# 84      PAKISTAN
bash: 84: command not found
[root a localhost slmdm-2.7.14]# 88      PERU
bash: 88: command not found
[root a localhost slmdm-2.7.14]# 89      PHILIPPINES
bash: 89: command not found
[root a localhost slmdm-2.7.14]# 8a      POLAND
bash: 8a: command not found
[root a localhost slmdm-2.7.14]# 8b      PORTUGAL
bash: 8b: command not found
[root a localhost slmdm-2.7.14]# 8e      ROMANIA
bash: 8e: command not found
[root a localhost slmdm-2.7.14]# b8      RUSSIA
bash: b8: command not found
[root a localhost slmdm-2.7.14]# 98      SAUDIARABIA
bash: 98: command not found
[root a localhost slmdm-2.7.14]# 9c      SINGAPORE
bash: 9c: command not found
[root a localhost slmdm-2.7.14]# 105     SLOVAKIA
bash: 105: command not found
[root a localhost slmdm-2.7.14]# 106     SLOVENIA
bash: 106: command not found
[root a localhost slmdm-2.7.14]# 9f      SOUTHAFRICA
bash: 9f: command not found
[root a localhost slmdm-2.7.14]# 107     SOUTHKOREA
bash: 107: command not found
[root a localhost slmdm-2.7.14]# a0      SPAIN
bash: a0: command not found
[root a localhost slmdm-2.7.14]# a1      SRILANKA
bash: a1: command not found
[root a localhost slmdm-2.7.14]# a5      SWEDEN
bash: a5: command not found
[root a localhost slmdm-2.7.14]# a6      SWITZERLAND
bash: a6: command not found
[root a localhost slmdm-2.7.14]# 108     TAIWAN
bash: 108: command not found
[root a localhost slmdm-2.7.14]# a9      THAILAND
bash: a9: command not found
[root a localhost slmdm-2.7.14]# ad      TUNISIA
bash: ad: command not found
[root a localhost slmdm-2.7.14]# ae      TURKEY
bash: ae: command not found
[root a localhost slmdm-2.7.14]# b3      UAE
bash: b3: command not found
[root a localhost slmdm-2.7.14]# b4      UK
bash: b4: command not found
[root a localhost slmdm-2.7.14]# b7      URUGUAY
bash: b7: command not found
[root a localhost slmdm-2.7.14]# b5      USA
bash: b5: command not found
[root a localhost slmdm-2.7.14]#


POI:

[root a localhost slmdm-2.7.14]# modprobe slmdm country=59
Warning: loading /lib/modules/2.4.21-0.13mdk/misc/slmdm.o will taint the
kernel: non-GPL license - Smart Link Ltd.
  See http://www.tux.org/lkml/#export-tainted for information about
tainted modules
Module slmdm loaded, with warnings

QUANDO LANCIO KPPP DOPO AVER SELEZIONATO "dev/tty/SLT0" OTTENGO IN
RISPOSTA DA KPPP:

"kppp non riesce a trovare:
/dev/ttySLT0
Assicurati di aver configurato correttamente il modem e 
di aver selezionato il dispositivo del modem in modo 
appropriato nella configurazione tramite finestre di dialogo."

IL FILE etc/modules.conf CONTIENE LA RIGA:"alias char-major-212 slmodem
alias slmodem slusb"

SE SELEZIONO DA KPPP dev/modem ;  CLIKKO SU CONNETTI IL LED SI ACCENDE
IL LED VERDE SUL MODEM PERO' OTTENGO
FINESTRA DI LOG "ATZ
OK
ATM0L0
OK
ATDT7023456789
NO DIALTONE"

E MO'!?

P.S.

L'OPZIONE INTERROGA MODEM DA KPPP SI OSTINA A DARMI IN ATI7
"COUNTRY=USA"





More information about the pluto-help mailing list