Newsgroup: it.comp.os.linux.iniziare
Titolo: Fastrate 10 tentativo ecoo casa ho fatto!!!

10 tentativo (mi sto scoraggiando)
installato
mandrake 10
kernel-source 2.6.3-4mdk
gcc 3.3.2-6mdk (+ le dipendenze)
liblinux-atm1 2.4.1-3mdk
ppp 2.4.1-13mdk  (+ ledipendenze)
ppp-pppoatm 2.4.1-13mdk
libgtk+1.2-devel (+ le dipendenze)
libgtk+2.0_0-devel
driver modem
http://www.bewan.com/bewan/drivers/bast-0.8.7.tgz
===Riavvio il pc
seguo al guida
http://midgard.pollycoke.org/linux-help/articoli/FastrateUSB100/fastrate0.html
partendo da
http://midgard.pollycoke.org/linux-help/articoli/FastrateUSB100/fastrate2.html
perchè ho letto che con la 10 non c'è bisogno di ricompilare il kernel
applicata la patch
faccio make ed ecco cosa viene fuoi ci sono degli errori
Datemi qualche consiglio!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
root@localhost unicorn]# cat ../bewan2fastrate_0.8.7-2.patch | patch -p1
patching file include/hard.h
patching file Makefile
patching file scripts/unicorn-pppoatm
patching file unicorn_usb/unicorn_usbdrv.c
[root@localhost unicorn]# make
for i in adsl_status unicorntest tools ; do make -C $i all ; done
make[1]: Entering directory `/usr/src/modules/unicorn/adsl_status'
make    all-recursive
make[2]: Entering directory `/usr/src/modules/unicorn/adsl_status'
Making all in intl
make[3]: Entering directory `/usr/src/modules/unicorn/adsl_status/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/modules/unicorn/adsl_status/intl'
Making all in m4
make[3]: Entering directory `/usr/src/modules/unicorn/adsl_status/m4'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/modules/unicorn/adsl_status/m4'
Making all in intl
make[3]: Entering directory `/usr/src/modules/unicorn/adsl_status/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/modules/unicorn/adsl_status/intl'
Making all in po
make[3]: Entering directory `/usr/src/modules/unicorn/adsl_status/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/modules/unicorn/adsl_status/po'
Making all in src
make[3]: Entering directory `/usr/src/modules/unicorn/adsl_status/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../../amu -I../../include/   -I../intl   
   -
I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr
/X11
R6/include    -g -O2 -Wall -c main.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../../amu -I../../include/   -I../intl   
   -
I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr
/X11
R6/include    -g -O2 -Wall -c support.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../../amu -I../../include/   -I../intl   
   -
I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr
/X11
R6/include    -g -O2 -Wall -c interface.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../../amu -I../../include/   -I../intl   
   -
I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr
/X11
R6/include    -g -O2 -Wall -c callbacks.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../../amu -I../../include/   -I../intl   
   -
I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr
/X11
R6/include    -g -O2 -Wall -c status.c
gcc  -g -O2 -Wall  -o bewan_adsl_status  main.o support.o interface.o
callbacks.
o
status.o -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -
lX
ext -lX11 -lm
make[3]: Leaving directory `/usr/src/modules/unicorn/adsl_status/src'
make[3]: Entering directory `/usr/src/modules/unicorn/adsl_status'
make[3]: Leaving directory `/usr/src/modules/unicorn/adsl_status'
make[2]: Leaving directory `/usr/src/modules/unicorn/adsl_status'
make[1]: Leaving directory `/usr/src/modules/unicorn/adsl_status'
make[1]: Entering directory `/usr/src/modules/unicorn/unicorntest'
gcc -DVERS=0x086 -Wall -Wstrict-prototypes -O2 -DLINUX -I../amu/ -I../includ
e/ u
nicorntest.c -o unicorntest
make[1]: Leaving directory `/usr/src/modules/unicorn/unicorntest'
make[1]: Entering directory `/usr/src/modules/unicorn/tools'
gcc -DVERS=0x086 -Wall -Wstrict-prototypes -O2 -DLINUX -I../amu/ -I../includ
e/ m
ain.c unicorn_status.c unicorn_device.c  -o unicorn_status
gcc -DVERS=0x086 -Wall -Wstrict-prototypes -O2 -DLINUX -I../amu/ -I../includ
e/ c
gi.c unicorn_status.c unicorn_device.c -o unicorn_status.cgi
gcc -DVERS=0x086 -Wall -Wstrict-prototypes -O2 -DLINUX -I../amu/ -I../includ
e/ o
am_ping.c unicorn_device.c -o oam_ping
make[1]: Leaving directory `/usr/src/modules/unicorn/tools'
for i in libm unicorn_usb ; do make -C $i modules
MODDIR=/usr/src/modules/unicor
n/$i ; done
make[1]: Entering directory `/usr/src/modules/unicorn/libm'
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-ali
asing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o e_pow.o e_pow.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-ali
asing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o e_log10.o
e_log10.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-ali
asing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o e_log.o e_log.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-ali
asing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o e_sqrt.o e_sqrt.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-ali
asing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_ceil.o s_ceil.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-ali
asing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_floor.o
s_floor.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-ali
asing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_fabs.o s_fabs.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-ali
asing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_scalbn.o
s_scalbn.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-ali
asing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_copysign.o
s_copysig
n.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-ali
asing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_trunc.o
s_trunc.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-ali
asing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_sin.o s_sin.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-ali
asing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o k_sin.o k_sin.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-ali
asing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o k_cos.o k_cos.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-ali
asing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o e_rem_pio2.o
e_rem_pio
2.c
e_rem_pio2.c: In function `__ieee754_rem_pio2':
e_rem_pio2.c:93: warning: `z' might be used uninitialized in this function
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-ali
asing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o k_rem_pio2.o
k_rem_pio
2.c
ld  -r -o libm.a  e_pow.o e_log10.o e_log.o e_sqrt.o s_ceil.o s_floor.o
s_fabs.
o s_scalbn.o s_copysign.o s_trunc.o s_sin.o k_sin.o k_cos.o e_rem_pio2.o
k_rem_p
io2.o
make[1]: Leaving directory `/usr/src/modules/unicorn/libm'
make[1]: Entering directory `/usr/src/modules/unicorn/unicorn_usb'
make CC=gcc -C /usr/src/linux SUBDIRS=/usr/src/modules/unicorn/unicorn_usb
modul
es
make[2]: Entering directory `/usr/src/linux-2.6.3-4mdk'
  CC      scripts/empty.o
  MKELF   scripts/elfconfig.h
  HOSTCC  scripts/file2alias.o
  HOSTCC  scripts/modpost.o
  HOSTLD  scripts/modpost
  SPLIT   include/linux/autoconf.h -> include/config/*
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
  CC      arch/i386/kernel/asm-offsets.s
  CHK     include/asm-i386/asm_offsets.h
  CC [M]  /usr/src/modules/unicorn/unicorn_usb/unicorn_usbdrv.o
/usr/src/modules/unicorn/unicorn_usb/unicorn_usbdrv.c:117: warning:
`dump_urb' d                                           efined but not used
  CC [M]  /usr/src/modules/unicorn/unicorn_usb/../msw/linrapi.o
g++ -fno-rtti -fno-exceptions -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototy
pes                                            -Wno-trigraphs -fno-strict-al
iasing -fno-common -pipe -mpreferred-stack-boundary
=2 -march=i586 -Iinclude/asm-i386/mach-default -O2  -DVERS=0x086 -D_USB_DRIV
ER -
DDEBUG=1 -I/usr/src/modules/unicorn/unicorn_usb/../include -I/usr/src/module
s/un
                       icorn/unicorn_usb/../  -D__KERNEL__ -Iinclude   -c -o
/usr/src/modules/unicorn/u
nicorn_usb/../msw/msw.o /usr/src/modules/unicorn/unicorn_usb/../msw/msw.cpp
make[3]: g++: Command not found
make[3]: *** [/usr/src/modules/unicorn/unicorn_usb/../msw/msw.o] Error 127
make[2]: *** [/usr/src/modules/unicorn/unicorn_usb] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.3-4mdk'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/modules/unicorn/unicorn_usb'
make: *** [modules] Error 2

 make[3]: g++: Command not found
Questo e' un buon indizio.
Ragazzo mio, tu cmq i buoni consigli non li ascolti mai.
Fai come ti ho gia' detto: butta nel cesso il fastrate e tieniti
l'ericsson ethernet. A quest'ora stavi gia' navigando felice con Linux.
Io lo dico per te, poi magari a tempo perso ti ricompili il mondo intero
per far funzionare anche lo stupido scatolotto bianco. Ma per intanto,
lascia stare, pensa a campare.
-- 
Best Regards, Jack
Linux User #264449
Powered by Fedora Core 1

Infatti se non arrivano suggerimenti lo faccio
ho letto sul file read me
 **** KERNELS 2.6.x: ****
     Only versions >= 0.9 are compatible with 2.6 kernels.
     WARNING: your 2.6.x kernel should be patched with this patch:
                2.6.x-usb.patch
              To apply the patch, go to /usr/src/linux-2.6.x directory
              and issue this command:
                patch -p1 </path/to/2.6.x-usb.patch
              If all is ok you should see:
                patching file drivers/usb/core/devio.c
              Then you have to RECOMPILE and REINSTALL the kernel.
     You need to create again your driver config with eciconf.sh
     or eciconftxt.sh


      or eciconftxt.sh
Andiamo bene... il fastrate non e' compatibile con eciadsl.
[paternale ON]
Evidentemente non hai la *minima* idea di quello che stai combinando, e
ovviamente fare avanti e indietro da win a linux per leggere un po' di
doc, provare, rileggere ecc... non ti aiuta.
Allora, metti in funzione l'ericsson (io ti consiglio di farlo via
ethernet, in 5 minuti sei online) e collegati con linux.
Una volta che sei online cerca di fare mente locale su quello che
*dovresti* fare e soprattutto del *perche'* lo devi fare: le guide
composte da 10 comandi e nessuna spiegazione fanno quest'effetto.
Poi quando hai le idee piu' chiare riprova, ma cosi' (te ne sarai reso
conto anche tu) e' sbattere contro un muro sperando di passarci attraverso.
[paternale OFF]


No non ci siamo capiti ho scaricato anche i drive eciadls el l'ericsson per
fare una prova anche con quello al max lo tengo fino ad agosto, ma nel
readme c'è scritto di patchare il kernel e non so se devo farlo con la
mandrake 10.


 mandrake 10.
Ah ecco.
Credo proprio che tu debba patcharlo.
Cmq, l'ericsson ha la doppia interfaccia USB-ethernet, no?
Ecco, per usarlo via ethernet NON ti servono i driver eciadsl: collega il
modem alla scheda di rete, imposta la connessione via centro di controllo,
imposta i DNS e sei in rete!
Cerca tra i vecchi messaggi, troverai molto molto materiale: le
impostazioni di rete (IP, subnet, Gateway) le puoi copiare da Windows.
