Bonjour
j'essaie d'installer la version 1.9.8 du driver
ci joint l'install
eagleconfig ne demarre pas bien qu'il se trouve dans /usr/local/sbin comme startadsl
merci de me dire ce que vous pensez de l'install
suis novice
kernel 2.6.5-1.358
[root@localhost eagle-usb-1.9.8]# ./autogen.sh
/usr/share/aclocal/vorbis.m4:9: warning: underquoted definition of XIPH_PATH_VOR BIS
run info '(automake)Extending aclocal'
or see
http://sources.redhat.com/automake/automake.html#Extending%20aclocal
/usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULE S
/usr/share/aclocal/ogg.m4:8: warning: underquoted definition of XIPH_PATH_OGG
/usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_L IBMIKMOD
[root@localhost eagle-usb-1.9.8]#
[root@localhost eagle-usb-1.9.8]# ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking for main in -lc... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking whether gcc needs -traditional... no
checking return type of signal handlers... void
checking for strftime... yes
checking for gettimeofday... yes
checking for select... yes
checking for socket... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strspn... yes
checking for strtol... yes
checking for dhclient... dhclient
checking for pppd... yes
checking for pppoe... yes
checking for gdialog... gdialog
checking for kernel version...
checking for hotplug... 1
checking for ifup... 1
checking for adictrl... no
checking for eaglectrl... no
checking for showstat... no
checking for eaglestat... no
checking for startadsl... no
checking for stopadsl... no
configure: creating ./config.status
config.status: creating Makefile.common
warning: your $PATH does not contain /usr/local/sbin. You won't be able to launch scripts.
If you are using bash, you should update /root/.bashrc
[root@localhost eagle-usb-1.9.8]#
[root@localhost eagle-usb-1.9.8]# make uninstall
make -C utils/scripts uninstall &&
make -C pppoa uninstall &&
make -C driver uninstall &&
hash -r &&
echo -e "===============================================================================" &&
echo -e "nnUninstall has finished." &&
if test 1 == 1 ; then
echo -e "nn ********************************************************************n" "* You should now unplug and replug your modem to clear its memory. *n" "********************************************************************nn" ;
else
echo ;
fi
make[1]: Entering directory `/home/geo/driver/eagle-usb-1.9.8/utils/scripts'
./fctStopAdsl -sf
./fctStopAdsl: line 1: pidof: command not found
# disable [and remove] autostart service
if test -e /etc/init.d/eagle-usb ; then
chkconfig --del eagle-usb &>/dev/null ;
update-rc.d -f eagle-usb remove &>/dev/null ;
rm -f /etc/init.d/eagle-usb ;
fi
if test -e /etc/init.d/internet ; then
chkconfig --del internet &>/dev/null ;
fi
# remove old eagle-usb files (previous versions)
./uninstOld /lib/modules/2.6.5-1.358 /lib/modules/2.6.5-1.358/build Fedora 2 1 &&
rm -f /usr/local/sbin/fctStartAdsl &&
rm -f /usr/local/sbin/fctStopAdsl &&
rm -f /usr/local/sbin/startmire &&
rm -f /usr/local/sbin/startadsl &&
rm -f /usr/local/sbin/stopadsl &&
rm -f /usr/local/sbin/eagleconfig &&
rm -f /usr/local/sbin/eaglediag &&
rm -f /etc/eagle-usb/scripts/eu_config_bash &&
rm -f /etc/hotplug/usb/eu_dsp &&
rm -f /etc/rc.d/rc.eagle-usb &&
rm -Rf /usr/lib/hotplug/eagle-usb &&
rm -Rf /etc/eagle-usb/lang
./uninstOld: line 130: lsmod: command not found
./uninstOld: line 139: lsmod: command not found
rm -Rf /etc/eagle-usb/scripts
# uninstOld could have suppressed a module too => always run "depmod"
depmod -a
make[1]: depmod : commande introuvable
make[1]: *** [uninstall] Erreur 127
make[1]: Leaving directory `/home/geo/driver/eagle-usb-1.9.8/utils/scripts'
make: *** [uninstall] Erreur 2
[root@localhost eagle-usb-1.9.8]#
[root@localhost eagle-usb-1.9.8]# make clean
make -C driver clean &&
make -C pppoa clean &&
make -C utils/scripts clean
make[1]: Entering directory `/home/geo/driver/eagle-usb-1.9.8/driver'
make -C ./user clean
make[2]: Entering directory `/home/geo/driver/eagle-usb-1.9.8/driver/user'
rm -f eaglectrl
make[2]: Leaving directory `/home/geo/driver/eagle-usb-1.9.8/driver/user'
make -C ./firmware clean
make[2]: Entering directory `/home/geo/driver/eagle-usb-1.9.8/driver/firmware'
rm -f buildDSP dsp_code_isdn.bin dsp_code_pots.bin
make[2]: Leaving directory `/home/geo/driver/eagle-usb-1.9.8/driver/firmware'
make[1]: Leaving directory `/home/geo/driver/eagle-usb-1.9.8/driver'
make[1]: Entering directory `/home/geo/driver/eagle-usb-1.9.8/pppoa'
rm -f *.o pppoa
make[1]: Leaving directory `/home/geo/driver/eagle-usb-1.9.8/pppoa'
make[1]: Entering directory `/home/geo/driver/eagle-usb-1.9.8/utils/scripts'
rm -Rf tmp
make[1]: Leaving directory `/home/geo/driver/eagle-usb-1.9.8/utils/scripts'
[root@localhost eagle-usb-1.9.8]#
[root@localhost eagle-usb-1.9.8]# make
make -C driver &&
make -C pppoa &&
make -C utils/scripts
make[1]: Entering directory `/home/geo/driver/eagle-usb-1.9.8/driver'
make -C /lib/modules/2.6.5-1.358/build SUBDIRS=/home/geo/driver/eagle-usb-1.9.8/driver modules
make[2]: Entering directory `/lib/modules/2.6.5-1.358/build'
CC [M] /home/geo/driver/eagle-usb-1.9.8/driver/eu_main.o
CC [M] /home/geo/driver/eagle-usb-1.9.8/driver/Boot.o
CC [M] /home/geo/driver/eagle-usb-1.9.8/driver/eu_utils.o
CC [M] /home/geo/driver/eagle-usb-1.9.8/driver/Pipes.o
CC [M] /home/geo/driver/eagle-usb-1.9.8/driver/Me.o
CC [M] /home/geo/driver/eagle-usb-1.9.8/driver/Sm.o
CC [M] /home/geo/driver/eagle-usb-1.9.8/driver/eu_msg.o
CC [M] /home/geo/driver/eagle-usb-1.9.8/driver/Dsp.o
CC [M] /home/geo/driver/eagle-usb-1.9.8/driver/Mpoa.o
CC [M] /home/geo/driver/eagle-usb-1.9.8/driver/Uni.o
CC [M] /home/geo/driver/eagle-usb-1.9.8/driver/Sar.o
CC [M] /home/geo/driver/eagle-usb-1.9.8/driver/Oam.o
CC [M] /home/geo/driver/eagle-usb-1.9.8/driver/eu_eth.o
LD [M] /home/geo/driver/eagle-usb-1.9.8/driver/eagle-usb.o
Building modules, stage 2.
MODPOST
CC /home/geo/driver/eagle-usb-1.9.8/driver/eagle-usb.mod.o
LD [M] /home/geo/driver/eagle-usb-1.9.8/driver/eagle-usb.ko
make[2]: Leaving directory `/lib/modules/2.6.5-1.358/build'
make -C ./firmware
make[2]: Entering directory `/home/geo/driver/eagle-usb-1.9.8/driver/firmware'
gcc -O2 -pipe -Wall -pedantic builddsp.c -o buildDSP
./buildDSP -d sagem/pots dsp_code_pots.bin
Reading file sagem/pots/rtbldep0.bnm
Reading file sagem/pots/rtbldep1.bnm
Reading file sagem/pots/rtbldep2.bnm
Reading file sagem/pots/rtbldep3.bnm
Reading file sagem/pots/rtbldep4.bnm
Writing file dsp_code_pots.bin
./buildDSP -d sagem/isdn dsp_code_isdn.bin
Reading file sagem/isdn/rtbldei0.bnm
Reading file sagem/isdn/rtbldei1.bnm
Reading file sagem/isdn/rtbldei2.bnm
Reading file sagem/isdn/rtbldei3.bnm
Reading file sagem/isdn/rtbldei4.bnm
Writing file dsp_code_isdn.bin
make[2]: Leaving directory `/home/geo/driver/eagle-usb-1.9.8/driver/firmware'
make -C ./user
make[2]: Entering directory `/home/geo/driver/eagle-usb-1.9.8/driver/user'
gcc -O2 -pipe -Wall -pedantic -DLINUX -g -DCONF_DIR=""/etc/eagle-usb"" -DBIN_DIR=""/etc/eagle-usb/dsp"" '-DEAGLEUSBVERSION="1.9.8"' eaglectrl.c -o eaglectrl
Dans le fichier inclus à partir de ../eu_types.h:29,
à partir de ../eagle-usb.h:30,
à partir de eaglectrl.c:40:
/usr/include/asm/bitops.h:327:2: attention : #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:328:2: attention : #warning Using kernel headers in userspace: atomicity not guaranteed
make[2]: Leaving directory `/home/geo/driver/eagle-usb-1.9.8/driver/user'
make[1]: Leaving directory `/home/geo/driver/eagle-usb-1.9.8/driver'
make[1]: Entering directory `/home/geo/driver/eagle-usb-1.9.8/pppoa'
gcc -O2 -Wall -Wstrict-prototypes -ansi -pedantic '-DVERSION="1.9.8"' -c -o pppoa.o pppoa.c
gcc -O2 -Wall -Wstrict-prototypes -ansi -pedantic '-DVERSION="1.9.8"' -c -o if.o if.c
gcc -O2 -Wall -Wstrict-prototypes -ansi -pedantic '-DVERSION="1.9.8"' -c -o debug.o debug.c
gcc -O2 -Wall -Wstrict-prototypes -ansi -pedantic '-DVERSION="1.9.8"' -c -o common.o common.c
gcc -O2 -Wall -Wstrict-prototypes -ansi -pedantic '-DVERSION="1.9.8"' -c -o ppp.o ppp.c
gcc -o pppoa pppoa.o if.o debug.o common.o ppp.o
make[1]: Leaving directory `/home/geo/driver/eagle-usb-1.9.8/pppoa'
make[1]: Entering directory `/home/geo/driver/eagle-usb-1.9.8/utils/scripts'
rm -Rf tmp
umask 0
mkdir -p tmp
cat setvars | sed
-e "s|@SBIN_DIR@|/usr/local/sbin|g"
-e "s|@EU_DIR@|/etc/eagle-usb|g"
-e "s|@EU_LANG_DIR@|/etc/eagle-usb/lang|g"
-e "s|@EU_SCRIPT_DIR@|/etc/eagle-usb/scripts|g"
-e "s|@USE_HOTPLUG@|1|g"
-e "s|@USE_IFUPDOWN@|1|g"
-e "s|@DISTRIB@|Fedora|g"
-e "s|@DISTVER@|2|g"
-e "s|@SIMPLE@|0|g"
-e "s|@INIT_DIR@|/etc/init.d|g"
-e "s|@PPP_DIR@|/etc/ppp|g"
-e "s|@HOTPLUG_SCRIPT_DIR@|/etc/hotplug/usb|g"
-e "s|@HOTPLUG_USERMAP_DIR@|/usr/lib/hotplug|g"
-e "s|@HOTPLUG_USERMAP_FILE@|/etc/hotplug/usb.usermap|g"
-e "s|@NET_SCRIPT_DIR@|/etc/sysconfig/network-scripts|g"
-e "s|@EU_LANG@|auto|g"
-e "s|@PPP_OPTIONS_DIR@|/etc/ppp/peers|g"
> tmp/setvars &&
sed -e "s|exit 123|. /etc/eagle-usb/scripts/setvars|" -e "s| 1 == 1 | 0 == 1 |" fctStopAdsl > tmp/fctStopAdsl &&
sed "s|exit 123|. /etc/eagle-usb/scripts/setvars|g" fctStartAdsl > tmp/fctStartAdsl &&
sed "s|exit 123|. /etc/eagle-usb/scripts/setvars|g" startmire > tmp/startmire &&
sed "s|exit 123|. /etc/eagle-usb/scripts/setvars|g" startadsl > tmp/startadsl &&
sed "s|exit 123|. /etc/eagle-usb/scripts/setvars|g" stopadsl > tmp/stopadsl &&
sed "s|exit 123|. /etc/eagle-usb/scripts/setvars|g" eagleconfig > tmp/eagleconfig &&
sed "s|exit 123|. /etc/eagle-usb/scripts/setvars|g" eaglediag > tmp/eaglediag &&
sed "s|exit 123|. /etc/eagle-usb/scripts/setvars|g" eu_config_bash > tmp/eu_config_bash &&
sed "s|exit 123|. /etc/eagle-usb/scripts/setvars|g" eu_dsp > tmp/eu_dsp &&
sed "s|exit 123|. /etc/eagle-usb/scripts/setvars|g" eu_init > tmp/eu_init &&
sed "s|exit 123|. /etc/eagle-usb/scripts/setvars|g" rc.eagle-usb > tmp/rc.eagle-usb &&
sed "s|exit 123|. /etc/eagle-usb/scripts/setvars|g" net_cnx_up > tmp/net_cnx_up &&
sed "s|exit 123|. /etc/eagle-usb/scripts/setvars|g" net_cnx_down > tmp/net_cnx_down &&
sed "s|exit 123|. /etc/eagle-usb/scripts/setvars|g" testconnec > tmp/testconnec
umask 0022
make[1]: Leaving directory `/home/geo/driver/eagle-usb-1.9.8/utils/scripts'
[root@localhost eagle-usb-1.9.8]#
[root@localhost eagle-usb-1.9.8]# make install
make -C driver install &&
make -C pppoa install &&
make -C utils/scripts install &&
hash -r &&
echo -e "===============================================================================" &&
echo -e "nnInstallation has finished!nYou should now run eagleconfig to setup your connexion.nn"
make[1]: Entering directory `/home/geo/driver/eagle-usb-1.9.8/driver'
make -C ./firmware install
make[2]: Entering directory `/home/geo/driver/eagle-usb-1.9.8/driver/firmware'
/usr/bin/install -c -d /etc/eagle-usb/dsp &&
/usr/bin/install -c -m 0664 dsp_code_pots.bin /etc/eagle-usb/dsp
/usr/bin/install -c -m 0664 dsp_code_isdn.bin /etc/eagle-usb/dsp
make[2]: Leaving directory `/home/geo/driver/eagle-usb-1.9.8/driver/firmware'
make -C ./user install
make[2]: Entering directory `/home/geo/driver/eagle-usb-1.9.8/driver/user'
/usr/bin/install -c -d /usr/local/sbin &&
/usr/bin/install -c -d /etc/eagle-usb/scripts &&
/usr/bin/install -c -m 0755 eaglectrl /usr/local/sbin &&
/usr/bin/install -c -m 0755 eaglestat /usr/local/sbin &&
/usr/bin/install -c -m 0644 eagle-usb.conf /etc/eagle-usb/scripts/eagle-usb.conf.template
make[2]: Leaving directory `/home/geo/driver/eagle-usb-1.9.8/driver/user'
/usr/bin/install -c -d /lib/modules/2.6.5-1.358/misc &&
/usr/bin/install -c -m 0644 eagle-usb.ko /lib/modules/2.6.5-1.358/misc/eagle-usb.ko
make[1]: Leaving directory `/home/geo/driver/eagle-usb-1.9.8/driver'
make[1]: Entering directory `/home/geo/driver/eagle-usb-1.9.8/pppoa'
gcc -o pppoa pppoa.o if.o debug.o common.o ppp.o
/usr/bin/install -c -m 775 pppoa /usr/local/sbin
make[1]: Leaving directory `/home/geo/driver/eagle-usb-1.9.8/pppoa'
make[1]: Entering directory `/home/geo/driver/eagle-usb-1.9.8/utils/scripts'
if test 1 == 1 ; then
/usr/bin/install -c -d /etc/sysconfig/network-scripts &&
/usr/bin/install -c -m 0755 tmp/net_cnx_up /etc/sysconfig/network-scripts &&
/usr/bin/install -c -m 0755 tmp/net_cnx_down /etc/sysconfig/network-scripts &&
/usr/bin/install -c -m 0755 net_cnx_pg /etc/sysconfig/network-scripts ;
fi
/usr/bin/install -c -d /usr/local/sbin &&
/usr/bin/install -c -d /etc/eagle-usb/lang &&
/usr/bin/install -c -d /etc/eagle-usb/scripts &&
/usr/bin/install -c -m 0755 tmp/setvars /etc/eagle-usb/scripts &&
/usr/bin/install -c -m 0755 tmp/fctStartAdsl /usr/local/sbin &&
/usr/bin/install -c -m 0755 tmp/fctStopAdsl /usr/local/sbin &&
/usr/bin/install -c -m 0755 tmp/startmire /usr/local/sbin &&
/usr/bin/install -c -m 0755 tmp/startadsl /usr/local/sbin &&
/usr/bin/install -c -m 0755 tmp/stopadsl /usr/local/sbin &&
/usr/bin/install -c -m 0755 tmp/eaglediag /usr/local/sbin &&
/usr/bin/install -c -m 0755 tmp/eagleconfig /usr/local/sbin &&
/usr/bin/install -c -m 0755 tmp/eu_config_bash /etc/eagle-usb/scripts &&
/usr/bin/install -c -m 0755 tmp/eu_dsp /etc/eagle-usb/scripts &&
/usr/bin/install -c -m 0755 tmp/testconnec /etc/eagle-usb/scripts &&
/usr/bin/install -c -m 0644 usb.usermap /etc/eagle-usb/scripts &&
/usr/bin/install -c -m 0644 options /etc/eagle-usb/scripts &&
/usr/bin/install -c -m 0644 lang/de /etc/eagle-usb/lang &&
/usr/bin/install -c -m 0644 lang/en /etc/eagle-usb/lang &&
/usr/bin/install -c -m 0644 lang/es /etc/eagle-usb/lang &&
/usr/bin/install -c -m 0644 lang/fr /etc/eagle-usb/lang &&
/usr/bin/install -c -m 0644 lang/f2 /etc/eagle-usb/lang &&
/usr/bin/install -c -m 0644 lang/it /etc/eagle-usb/lang &&
/usr/bin/install -c -m 0644 lang/pl /etc/eagle-usb/lang &&
/usr/bin/install -c -m 0644 lang/p2 /etc/eagle-usb/lang &&
if test "Fedora" = "Slackware" ; then
/usr/bin/install -c -m 0755 tmp/rc.eagle-usb /etc/eagle-usb/scripts ;
else
/usr/bin/install -c -m 0755 tmp/eu_init /etc/eagle-usb/scripts ;
fi
touch /etc/eagle-usb/scripts/lock
make[1]: Leaving directory `/home/geo/driver/eagle-usb-1.9.8/utils/scripts'
===============================================================================
Installation has finished!
You should now run eagleconfig to setup your connexion.
[root@localhost eagle-usb-1.9.8]#
[root@localhost eagle-usb-1.9.8]# eagleconfig
bash: eagleconfig: command not found
[root@localhost eagle-usb-1.9.8]#
[root@localhost eagle-usb-1.9.8]# startadsl
merci pour votre aide