PDA

Visualizza la versione completa : [ MDK 10 ] Problema con ADSL SpeedTouch Manta USB


DarCas
29-07-2004, 18:11
Salve a tutti,
prima cosa voglio chiedere scusa all'amministratore e/o moderatore, so che c' n' uno gi di questi topic, ma forse uno pulito meglio.

Allora il mio problema questo:
quell'accidenti di modem adsl (come in oggetto) sotto la distro 10 di MDK non vuole proprio partire... ma come accidenti possibile se sulla 9.2 andava che una meraviglia?

Ho seguito tutte le guide possibili ed immaginabili, ma niente...

Il problema che mi d stranissimo.

Da riga di comando do:
modem_run -m -f /usr/share/speedtouch/mgmt.o

il modem fa un lampeggio e poi la lucetta uno rimane verde e la dua diventa arancione fissa, e come se andasse in tilt.

Ho provato pure a prendere il firmware da windows xp, il file alcausb.sys (o come caspita si chiama, ma quello giusto, ora non ricordo) per utilizzare quello come firmware quindi dando come comando:

modem_run -m -f /usr/share/speedtouch/mgmt.o

ma ancora niente, dandomi lo stesso errore.

Qualcuno mi aiuta a risolvere questo odiosissimo problema, se non posso utilizzare il mio portatile a casa, visto che in ufficio utilizzo la LAN?

Grazie mucho!

Meskalamdug
29-07-2004, 18:26
Disintalla ppp e speedtouch
e segui questa (http://xoomer.virgilio.it/meskalamdug/speedtouch.html) guida
:ciauz:

Meskalamdug
29-07-2004, 18:26
Ovviamente visto che sei su mdk
salta la parte dei moduli e del kernel

DarCas
29-07-2004, 18:33
L'ho vista dopo che ho postato..
Infatti mi sono appena stampato tutte le pagine e scaricato tutti i file che poi ho appena masterizzato.

Appena torno a casa vediamo se tu fai il miracolo.

Solo una cosa..

Su MDK 10 debbo avere i sorgenti del kernel sul disco?
Perch non ce li ho e non risco nemmeno a scaricarli!

DarCas
29-07-2004, 21:14
Ho fatto esattamente come dicono le tue istruzioni ma continua a non funzionare...

Addirittura adesso il modem lampeggia in modo strano, cio, lampeggia il led di sinistra per un p, poi si spegne e si riaccende con tutt'e due le lucette fisse.

d pppd call adsl, ma non si connette...

:dh: :cry: :incupito:

Meskalamdug
29-07-2004, 22:58
Non hai seguito le istruzioni :dh:
con la nuova procedura come ho detto...
1)modifichi i file /etc/ppp come ho indicato
2)da shell dai pppd,non pppd call adsl...
:cry:

DarCas
29-07-2004, 23:04
Il problema che al passo 3, dopo aver patchato i driver pppd, al comando ./configure va tutto bene, ma al make va in errore e non riesco a finire..

Ecco perch...

Gli manca qualcosa nelle variabili, ma non sono riuscito ad individuare...

Meskalamdug
29-07-2004, 23:21
Originariamente inviato da DarCas
Il problema che al passo 3, dopo aver patchato i driver pppd, al comando ./configure va tutto bene, ma al make va in errore e non riesco a finire..

Ecco perch...

Gli manca qualcosa nelle variabili, ma non sono riuscito ad individuare...
Pasta il messaggio di errore
logicamente prima di aver installato pppd hai installato
atm-linux vero?

DarCas
30-07-2004, 09:15
Certo...

Cmq il messaggio te lo posto oggi pomeriggio, perch ora sono in ufficio e non ho il portatile con me...

DarCas
30-07-2004, 14:50
Allora, questo quello che succede quando passo all'installazione di pppd 2.4.2 (scusate per la quantit di dati)

[root@localhost ppp-2.4.2]# patch -p1 < pppoatm.diff
patching file pppd/options.c
patching file pppd/plugins/Makefile.linux
Hunk #1 succeeded at 7 (offset 1 line).
Hunk #2 succeeded at 17 (offset 1 line).
patching file pppd/plugins/pppoatm.c
patching file pppd/pppd.h

[root@localhost ppp-2.4.2]# ./configure --prefix=/usr
Configuring for Linux
Creating links to Makefiles.
Makefile -> linux/Makefile.top
linux/Makedefs -> Makedefs.com
pppd/Makefile -> Makefile.linux
pppstats/Makefile -> Makefile.linux
chat/Makefile -> Makefile.linux
pppdump/Makefile -> Makefile.linux
pppd/plugins/Makefile -> Makefile.linux
pppd/plugins/rp-pppoe/Makefile -> Makefile.linux
pppd/plugins/radius/Makefile -> Makefile.linux

[root@localhost ppp-2.4.2]# make
cd chat; make all
make[1]: Entering directory `/root/Speedtouch/ppp-2.4.2/chat'
cc -c -O2 -g -pipe -DTERMIOS -DSIGTYPE=void
-UNO_SLEEP -DFNDELAY=O_NDELAY -DTERMIOS
-DSIGTYPE=void -UNO_SLEEP -DFNDELAY=O_NDE
LAY -o chat.o chat.c
chat.c:216: warning: conflicting types for built-in function `logf'
cc -o chat chat.o
make[1]: Leaving directory `/root/Speedtouch/ppp-2.4.2/chat'
cd pppd/plugins; make all
make[1]: Entering directory `/root/Speedtouch/ppp-2.4.2/pppd/plugins'
gcc -o minconn.so -shared -O2 -g -I.. -I../../include -fPIC minconn.c
gcc -o passprompt.so -shared -O2 -g -I.. -I../../include -fPIC passprompt.c
gcc -o passwordfd.so -shared -O2 -g -I.. -I../../include -fPIC passwordfd.c
gcc -o pppoatm.so -shared -O2 -g -I.. -I../../include -fPIC pppoatm.c -latm
for d in rp-pppoe; do make -w -C $d all; done
make[2]: Entering directory `/root/Speedtouch/ppp-2.4.2/pppd/plugins/rp-pppoe'
gcc -O2 -g -I../../../include/linux '-DVERSION="3.3"' -c -o discovery.o -fPIC discovery.c
gcc -O2 -g -I../../../include/linux '-DVERSION="3.3"' -c -o if.o -fPIC if.c
gcc -O2 -g -I../../../include/linux '-DVERSION="3.3"' -c -o common.o -fPIC common.c
gcc -O2 -g -I../../../include/linux '-DVERSION="3.3"' -c -o debug.o -fPIC debug.c
ar -rc libplugin.a discovery.o if.o common.o debug.o
gcc '-DRP_VERSION="3.3"' -O2 -g -I../../../include/linux -I../../.. -c -o plugin.o -fPIC plugin.c
gcc -o rp-pppoe.so -shared plugin.o libplugin.a
make[2]: Leaving directory `/root/Speedtouch/ppp-2.4.2/pppd/plugins/rp-pppoe'
make[1]: Leaving directory `/root/Speedtouch/ppp-2.4.2/pppd/plugins'
cd pppd; make all
make[1]: Entering directory `/root/Speedtouch/ppp-2.4.2/pppd'
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o main.o mai
n.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o magic.o ma
gic.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o fsm.o fsm.
c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o lcp.o lcp.
c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o ipcp.o ipc
p.c
ipcp.c:262: warning: initialization from incompatible pointer type
ipcp.c:264: warning: initialization from incompatible pointer type
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o upap.o upa
p.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o chap-new.o
chap-new.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o md5.o md5.
c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o ccp.o ccp.
c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o ecp.o ecp.
c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o auth.o aut
h.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o options.o
options.c
options.c:58:18: pcap.h: No such file or directory
In file included from options.c:59:
../include/pcap-int.h:39:18: pcap.h: No such file or directory
In file included from options.c:59:
../include/pcap-int.h:53: error: field `stat' has incomplete type
../include/pcap-int.h:95: error: field `fcode' has incomplete type
../include/pcap-int.h:97: error: `PCAP_ERRBUF_SIZE' undeclared here (not in a function)
../include/pcap-int.h:107: error: parse error before '*' token
../include/pcap-int.h:108: error: parse error before '*' token
options.c:125: error: parse error before "pc"
options.c:125: warning: type defaults to `int' in declaration of `pc'
options.c:125: warning: data definition has no type or storage class
options.c: In function `setpassfilter':
options.c:1458: error: request for member `linktype' in something not a structure or union
options.c:1458: error: `DLT_PPP' undeclared (first use in this function)
options.c:1458: error: (Each undeclared identifier is reported only once
options.c:1458: error: for each function it appears in.)
options.c:1459: error: request for member `snapshot' in something not a structure or union
options.c:1461: warning: implicit declaration of function `pcap_compile'
options.c:1463: warning: implicit declaration of function `pcap_geterr'
options.c: In function `setactivefilter':
options.c:1474: error: request for member `linktype' in something not a structure or union
options.c:1474: error: `DLT_PPP' undeclared (first use in this function)
options.c:1475: error: request for member `snapshot' in something not a structure or union
/usr/include/bits/string2.h: At top level:
options.c:123: error: storage size of `pass_filter' isn't known
options.c:124: error: storage size of `active_filter' isn't known
make[1]: *** [options.o] Error 1
make[1]: Leaving directory `/root/Speedtouch/ppp-2.4.2/pppd'
make: *** [all] Error 2

[root@localhost ppp-2.4.2]# make install
cd chat; make BINDIR=/usr/sbin MANDIR=/usr/man install
make[1]: Entering directory `/root/Speedtouch/ppp-2.4.2/chat'
mkdir -p /usr/sbin
install -s -c chat /usr/sbin
install -c -m 644 chat.8 /usr/man/man8
make[1]: Leaving directory `/root/Speedtouch/ppp-2.4.2/chat'
cd pppd/plugins; make BINDIR=/usr/sbin MANDIR=/usr/man install
make[1]: Entering directory `/root/Speedtouch/ppp-2.4.2/pppd/plugins'
install -o root -d /usr/lib/pppd/2.4.2
install -o root minconn.so passprompt.so passwordfd.so pppoatm.so /usr/lib/pppd/
2.4.2
for d in rp-pppoe; do make -w -C $d INSTALL=install -o root \
LIBDIR=/usr/lib/pppd/2.4.2 install; done
make[2]: Entering directory `/root/Speedtouch/ppp-2.4.2/pppd/plugins/rp-pppoe'
install -d -m 755 /usr/lib/pppd/2.4.2
install -s -c -m 4550 rp-pppoe.so /usr/lib/pppd/2.4.2
make[2]: Leaving directory `/root/Speedtouch/ppp-2.4.2/pppd/plugins/rp-pppoe'
make[1]: Leaving directory `/root/Speedtouch/ppp-2.4.2/pppd/plugins'
cd pppd; make BINDIR=/usr/sbin MANDIR=/usr/man install
make[1]: Entering directory `/root/Speedtouch/ppp-2.4.2/pppd'
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHA
PMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUS
E_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DMAXOCTETS -c -o options.o
options.c
options.c:58:18: pcap.h: No such file or directory
In file included from options.c:59:
../include/pcap-int.h:39:18: pcap.h: No such file or directory
In file included from options.c:59:
../include/pcap-int.h:53: error: field `stat' has incomplete type
../include/pcap-int.h:95: error: field `fcode' has incomplete type
../include/pcap-int.h:97: error: `PCAP_ERRBUF_SIZE' undeclared here (not in a function)
../include/pcap-int.h:107: error: parse error before '*' token
../include/pcap-int.h:108: error: parse error before '*' token
options.c:125: error: parse error before "pc"
options.c:125: warning: type defaults to `int' in declaration of `pc'
options.c:125: warning: data definition has no type or storage class
options.c: In function `setpassfilter':
options.c:1458: error: request for member `linktype' in something not a structure or union
options.c:1458: error: `DLT_PPP' undeclared (first use in this function)
options.c:1458: error: (Each undeclared identifier is reported only once
options.c:1458: error: for each function it appears in.)
options.c:1459: error: request for member `snapshot' in something not a structure or union
options.c:1461: warning: implicit declaration of function `pcap_compile'
options.c:1463: warning: implicit declaration of function `pcap_geterr'
options.c: In function `setactivefilter':
options.c:1474: error: request for member `linktype' in something not a structure or union
options.c:1474: error: `DLT_PPP' undeclared (first use in this function)
options.c:1475: error: request for member `snapshot' in something not a structure or union
/usr/include/bits/string2.h: At top level:
options.c:123: error: storage size of `pass_filter' isn't known
options.c:124: error: storage size of `active_filter' isn't known
make[1]: *** [options.o] Error 1
make[1]: Leaving directory `/root/Speedtouch/ppp-2.4.2/pppd'
make: *** [install-progs] Error 2

Cmq ho appena provato a continuare con le tue istruzioni (mentre ieri ho sostituito la pppd, ovviamente senza esiti positivi) e quando lancio #pppd mi dice che non riconosce il comando, quindi il problema risiede in lui.

:incupito:

Loading