Citation
[root@localhost ~]# uname -r
2.6.12-12mdk
Citation
[root@localhost ~]# cd /home/alex/tmp/eagle-usb-2.3.2
Citation
[root@localhost eagle-usb-2.3.2]# ./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 ln -s works... 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 netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.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 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 working volatile... yes
checking whether closedir returns void... no
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for alarm... yes
checking for gettimeofday... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strspn... yes
checking for strtol... yes
checking for ifconfig... yes
checking for route... yes
checking for pidof... yes
checking for dhclient... dhclient
checking for pppd... yes
checking for pppoe... yes
checking for tclsh... yes
checking for wish... no
checking for xsltproc... no
*** libxslt-proc package is missing, keeping prebuild version ***
checking for kernel version... 2.6.12-12mdk
checking for ifup... 1
checking for adictrl... no
checking for eaglectrl... eaglectrl
configure: creating ./config.status
config.status: creating Makefile.common
config.status: executing default commands
========================================================================
distribution detected Mandrake
dhcp support dhclient
pppd support yes
pppoa support yes
pppoe support yes
install eagleconnect (tcl/tk frontend) no
generate documentation no
========================================================================
warning: a previous eagle-usb driver was found on your system.
You should run 'make uninstall' now.
Citation
[root@localhost eagle-usb-2.3.2]# make uninstall
make -C doc uninstall
make[1]: Entering directory `/home/alex/tmp/eagle-usb-2.3.2/doc'
rm -f /usr/man/man8/man/eagleconfig_front.bash.8 /usr/man/man8/man/eagleconfig.8 /usr/man/man8/man/eaglectrl.8 /usr/man/man8/man/eaglediag.8 /usr/man/man8/man/eaglestat.8 /usr/man/man8/man/eagletestconnec.8 /usr/man/man8/man/fctStartAdsl.8 /usr/man/man8/man/fctStopAdsl.8 /usr/man/man8/man/pppoa.8 /usr/man/man8/man/startadsl.8 /usr/man/man8/man/stopadsl.8
make[1]: Leaving directory `/home/alex/tmp/eagle-usb-2.3.2/doc'
make -C utils/scripts uninstall
make[1]: Entering directory `/home/alex/tmp/eagle-usb-2.3.2/utils/scripts'
./fctStopAdsl -sf
# 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)
# avoid having multiple versions of the driver (for Mdk for example)
#./uninstOld /lib/modules/2.6.12-12mdk /lib/modules/2.6.12-12mdk/build Mandrake 2006.0 1
./uninstOld
ERROR: Module eagle_usb does not exist in /proc/modules
rm -f /usr/sbin/eagleconfig
rm -f /usr/sbin/eagleconfig_front.bash
rm -f /usr/sbin/eaglediag
rm -f /usr/sbin/eagletestconnec
rm -f /usr/sbin/fctStartAdsl
rm -f /usr/sbin/fctStopAdsl
rm -f /usr/sbin/startadsl
rm -f /usr/sbin/stopadsl
rm -f /etc/eagle-usb/eagle-usb_must_be_configured
rm -f /etc/eagle-usb/ppp_options.template
rm -f /etc/eagle-usb/setvars
rm -f /etc/hotplug/usb/eagle-usb
rm -f /etc/cron.d/eagle-usb
rm -f /etc/rc.d/rc.eagle-usb
rm -Rf /usr/share/eagle-usb/lang
make[1]: Leaving directory `/home/alex/tmp/eagle-usb-2.3.2/utils/scripts'
make -C utils/eagleconnect uninstall
make[1]: Entering directory `/home/alex/tmp/eagle-usb-2.3.2/utils/eagleconnect'
rm -f /usr/sbin/eagleconnect.tcl && \
rm -Rf /etc/eagle-usb/eagleconnect
make[1]: Leaving directory `/home/alex/tmp/eagle-usb-2.3.2/utils/eagleconnect'
make -C pppoa uninstall
make[1]: Entering directory `/home/alex/tmp/eagle-usb-2.3.2/pppoa'
rm -f /usr/sbin/pppoa
make[1]: Leaving directory `/home/alex/tmp/eagle-usb-2.3.2/pppoa'
make -C driver uninstall
make[1]: Entering directory `/home/alex/tmp/eagle-usb-2.3.2/driver'
make -C ./firmware uninstall && \
make -C ./user uninstall && \
rm -f /lib/modules/2.6.12-12mdk/misc/eagle-usb.ko
make[2]: Entering directory `/home/alex/tmp/eagle-usb-2.3.2/driver/firmware'
rm -f /usr/share/eagle-usb/dsp/dsp_code_pots.bin /usr/share/eagle-usb/dsp/dsp_code_isdn.bin
# there may be better solution to do this :-/
if test -d /usr/share/eagle-usb/dsp && test -z "`ls /usr/share/eagle-usb/dsp`" ; then \
rm -Rf /usr/share/eagle-usb/dsp ; \
fi
make[2]: Leaving directory `/home/alex/tmp/eagle-usb-2.3.2/driver/firmware'
make[2]: Entering directory `/home/alex/tmp/eagle-usb-2.3.2/driver/user'
rm -f /usr/sbin/eaglectrl
rm -f /usr/sbin/eaglestat
rm -f /etc/eagle-usb/eagle-usb.conf.template
rm -f /etc/eagle-usb/CMVei.txt
rm -f /etc/eagle-usb/CMVeiWO.txt
rm -f /etc/eagle-usb/CMVepWO.txt
rm -f /etc/eagle-usb/CMVepES.txt
rm -f /etc/eagle-usb/CMVepES03.txt
rm -f /etc/eagle-usb/CMVepFR.txt
rm -f /etc/eagle-usb/CMVepFR04.txt
rm -f /etc/eagle-usb/CMVepFR10.txt
rm -f /etc/eagle-usb/CMVepIT.txt
rm -f /etc/eagle-usb/CMVep.txt
make[2]: Leaving directory `/home/alex/tmp/eagle-usb-2.3.2/driver/user'
make[1]: Leaving directory `/home/alex/tmp/eagle-usb-2.3.2/driver'
#hash -r
echo -e "==============================================================================="
===============================================================================
echo -e "\n\nUninstall has finished."
Uninstall has finished.
if test 1 == 1 ; then \
echo -e "\n\n********************************************************************\n" "* You should now unplug and replug your modem to clear its memory. *\n" "********************************************************************\n\n" ; \
else \
echo ; \
fi
********************************************************************
* You should now unplug and replug your modem to clear its memory. *
********************************************************************
Citation
[root@localhost eagle-usb-2.3.2]# make clean
make -C driver clean
make[1]: Entering directory `/home/alex/tmp/eagle-usb-2.3.2/driver'
make -C ./user clean
make[2]: Entering directory `/home/alex/tmp/eagle-usb-2.3.2/driver/user'
rm -f eaglectrl
make[2]: Leaving directory `/home/alex/tmp/eagle-usb-2.3.2/driver/user'
make -C ./firmware clean
make[2]: Entering directory `/home/alex/tmp/eagle-usb-2.3.2/driver/firmware'
rm -f buildDSP dsp_code_isdn.bin dsp_code_pots.bin
make[2]: Leaving directory `/home/alex/tmp/eagle-usb-2.3.2/driver/firmware'
make[1]: Leaving directory `/home/alex/tmp/eagle-usb-2.3.2/driver'
make -C pppoa clean
make[1]: Entering directory `/home/alex/tmp/eagle-usb-2.3.2/pppoa'
rm -f *.o pppoa
make[1]: Leaving directory `/home/alex/tmp/eagle-usb-2.3.2/pppoa'
make -C utils/eagleconnect clean
make[1]: Entering directory `/home/alex/tmp/eagle-usb-2.3.2/utils/eagleconnect'
rm -Rf tmp
make[1]: Leaving directory `/home/alex/tmp/eagle-usb-2.3.2/utils/eagleconnect'
make -C utils/scripts clean
make[1]: Entering directory `/home/alex/tmp/eagle-usb-2.3.2/utils/scripts'
rm -Rf tmp
make[1]: Leaving directory `/home/alex/tmp/eagle-usb-2.3.2/utils/scripts'
Citation
[root@localhost eagle-usb-2.3.2]# make
make -C driver
make[1]: Entering directory `/home/alex/tmp/eagle-usb-2.3.2/driver'
USE_CMVS=1 make -C /lib/modules/2.6.12-12mdk/build SUBDIRS=/home/alex/tmp/eagle-usb-2.3.2/driver modules
make[2]: Entering directory `/usr/src/linux-2.6.12-12mdk'
WARNING: Symbol version dump /usr/src/linux-2.6.12-12mdk/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /home/alex/tmp/eagle-usb-2.3.2/driver/eu_main.o
CC [M] /home/alex/tmp/eagle-usb-2.3.2/driver/eu_utils.o
make CC [M] /home/alex/tmp/eagle-usb-2.3.2/driver/Pipes.o
in CC [M] /home/alex/tmp/eagle-usb-2.3.2/driver/Me.o
sta CC [M] /home/alex/tmp/eagle-usb-2.3.2/driver/Sm.o
CC [M] /home/alex/tmp/eagle-usb-2.3.2/driver/eu_msg.o
CC [M] /home/alex/tmp/eagle-usb-2.3.2/driver/Dsp.o
CC [M] /home/alex/tmp/eagle-usb-2.3.2/driver/Mpoa.o
CC [M] /home/alex/tmp/eagle-usb-2.3.2/driver/Uni.o
CC [M] /home/alex/tmp/eagle-usb-2.3.2/driver/Sar.o
CC [M] /home/alex/tmp/eagle-usb-2.3.2/driver/Oam.o
CC [M] /home/alex/tmp/eagle-usb-2.3.2/driver/eu_eth.o
CC [M] /home/alex/tmp/eagle-usb-2.3.2/driver/eu_boot_sm.o
LD [M] /home/alex/tmp/eagle-usb-2.3.2/driver/eagle-usb.o
Building modules, stage 2.
MODPOST
CC /home/alex/tmp/eagle-usb-2.3.2/driver/eagle-usb.mod.o
LD [M] /home/alex/tmp/eagle-usb-2.3.2/driver/eagle-usb.ko
make[2]: Leaving directory `/usr/src/linux-2.6.12-12mdk'
make -C ./firmware
make[2]: Entering directory `/home/alex/tmp/eagle-usb-2.3.2/driver/firmware'
cc -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/alex/tmp/eagle-usb-2.3.2/driver/firmware'
make -C ./user
make[2]: Entering directory `/home/alex/tmp/eagle-usb-2.3.2/driver/user'
cc -O2 -pipe -Wall -pedantic -DLINUX -g -DCONF_DIR="\"/etc/eagle-usb\"" -DBIN_DIR="\"/usr/share/eagle-usb/dsp\"" '-DEAGLEUSBVERSION="2.3.2"' -DUSE_CMVS eaglectrl.c -o eaglectrl
make[2]: Leaving directory `/home/alex/tmp/eagle-usb-2.3.2/driver/user'
make[1]: Leaving directory `/home/alex/tmp/eagle-usb-2.3.2/driver'
make -C pppoa
make[1]: Entering directory `/home/alex/tmp/eagle-usb-2.3.2/pppoa'
cc -O2 -Wall -Wstrict-prototypes -ansi -pedantic '-DVERSION="2.3.2"' -c -o pppoa.o pppoa.c
cc -O2 -Wall -Wstrict-prototypes -ansi -pedantic '-DVERSION="2.3.2"' -c -o if.o if.c
cc -O2 -Wall -Wstrict-prototypes -ansi -pedantic '-DVERSION="2.3.2"' -c -o debug.o debug.c
cc -O2 -Wall -Wstrict-prototypes -ansi -pedantic '-DVERSION="2.3.2"' -c -o common.o common.c
cc -O2 -Wall -Wstrict-prototypes -ansi -pedantic '-DVERSION="2.3.2"' -c -o ppp.o ppp.c
cc -o pppoa pppoa.o if.o debug.o common.o ppp.o
make[1]: Leaving directory `/home/alex/tmp/eagle-usb-2.3.2/pppoa'
make -C utils/scripts
make[1]: Entering directory `/home/alex/tmp/eagle-usb-2.3.2/utils/scripts'
rm -Rf tmp
mkdir -p tmp
sed -e "s|@SBIN_DIR@|/usr/sbin|g" \
-e "s|@EU_DIR@|/etc/eagle-usb|g" \
-e "s|@EU_LANG_DIR@|/usr/share/eagle-usb/lang|g" \
-e "s|@USE_HOTPLUG@|1|g" \
-e "s|@USE_IFUPDOWN@|1|g" \
-e "s|@BOOT_METHOD@|chkconfig|g" \
-e "s|@DISTRIB@|Mandrake|g" \
-e "s|@DISTVER@|2006.0|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|@NET_SCRIPT_DIR@|/etc/sysconfig/network-scripts|g" \
-e "s|@EU_LANG@|auto|g" \
-e "s|@PPP_OPTIONS_DIR@|/etc/ppp/peers|g" \
-e "s|@PPP_OPTIONS_ADSL@|/etc/ppp/peers/ppp0|g" \
-e "s|@PPP_OPTIONS_MIRE@|/etc/ppp/peers/mire|g" \
-e "s|@SYSCONF_FILE@|/var/lock/subsys/eagle-usb|g" \
<setvars >tmp/setvars && \
sed -e "s|exit 123|. /etc/eagle-usb/setvars|" -e "s| 1 -eq 1 | 0 -eq 1 |" fctStopAdsl > tmp/fctStopAdsl && \
sed "s|exit 123|. /etc/eagle-usb/setvars|g" fctStartAdsl > tmp/fctStartAdsl && \
sed "s|exit 123|. /etc/eagle-usb/setvars|g" startadsl > tmp/startadsl && \
sed "s|exit 123|. /etc/eagle-usb/setvars|g" stopadsl > tmp/stopadsl && \
sed "s|exit 123|. /etc/eagle-usb/setvars|g" eagleconfig > tmp/eagleconfig && \
sed "s|exit 123|. /etc/eagle-usb/setvars|g" eaglediag > tmp/eaglediag && \
sed "s|exit 123|. /etc/eagle-usb/setvars|g" eu_config_bash > tmp/eu_config_bash && \
sed "s|exit 123|. /etc/eagle-usb/setvars|g" eu_dsp > tmp/eu_dsp && \
sed "s|exit 123|. /etc/eagle-usb/setvars|g" eu_init > tmp/eu_init && \
sed "s|exit 123|. /etc/eagle-usb/setvars|g" net_cnx_up > tmp/net_cnx_up && \
sed "s|exit 123|. /etc/eagle-usb/setvars|g" net_cnx_down > tmp/net_cnx_down && \
sed "s|exit 123|. /etc/eagle-usb/setvars|g" testconnec > tmp/testconnec
make[1]: Leaving directory `/home/alex/tmp/eagle-usb-2.3.2/utils/scripts'
make -C utils/eagleconnect
make[1]: Entering directory `/home/alex/tmp/eagle-usb-2.3.2/utils/eagleconnect'
rm -Rf tmp
if test 0 == 1 ; then \
mkdir -p tmp ; \
cat diagnostic.tcl | sed \
-e "s|@SBIN_DIR@|/usr/sbin|g" \
-e "s|@EU_EAGLECONNECT_DIR@|/etc/eagle-usb/eagleconnect|g" \
> tmp/diagnostic.tcl ; \
cat eagleconnect.tcl | sed \
-e "s|@SBIN_DIR@|/usr/sbin|g" \
-e "s|@EU_DIR@|/etc/eagle-usb|g" \
-e "s|@EU_EAGLECONNECT_DIR@|/etc/eagle-usb/eagleconnect|g" \
> tmp/eagleconnect.tcl ; \
cat reseau.tcl | sed \
-e "s|@SBIN_DIR@|/usr/sbin|g" \
-e "s|@EU_EAGLECONNECT_DIR@|/etc/eagle-usb/eagleconnect|g" \
> tmp/reseau.tcl ; \
fi
make[1]: Leaving directory `/home/alex/tmp/eagle-usb-2.3.2/utils/eagleconnect'
Citation
[root@localhost eagle-usb-2.3.2]# make install
make -C driver install
make[1]: Entering directory `/home/alex/tmp/eagle-usb-2.3.2/driver'
make -C ./firmware install
make[2]: Entering directory `/home/alex/tmp/eagle-usb-2.3.2/driver/firmware'
/usr/bin/install -c -d /usr/share/eagle-usb/dsp && \
/usr/bin/install -c -m 0664 dsp_code_pots.bin /usr/share/eagle-usb/dsp
/usr/bin/install -c -m 0664 dsp_code_isdn.bin /usr/share/eagle-usb/dsp
make[2]: Leaving directory `/home/alex/tmp/eagle-usb-2.3.2/driver/firmware'
make -C ./user install
make[2]: Entering directory `/home/alex/tmp/eagle-usb-2.3.2/driver/user'
/usr/bin/install -c -d /usr/sbin && \
/usr/bin/install -c -d /etc/eagle-usb && \
/usr/bin/install -c -m 0755 eaglectrl /usr/sbin && \
/usr/bin/install -c -m 0755 eaglestat /usr/sbin && \
/usr/bin/install -c -m 0644 eagle-usb.conf /etc/eagle-usb/eagle-usb.conf.template && \
/usr/bin/install -c -m 0644 CMVei.txt /etc/eagle-usb && \
/usr/bin/install -c -m 0644 CMVeiWO.txt /etc/eagle-usb && \
/usr/bin/install -c -m 0644 CMVepWO.txt /etc/eagle-usb && \
/usr/bin/install -c -m 0644 CMVepES.txt /etc/eagle-usb && \
/usr/bin/install -c -m 0644 CMVepES03.txt /etc/eagle-usb && \
/usr/bin/install -c -m 0644 CMVepFR.txt /etc/eagle-usb && \
/usr/bin/install -c -m 0644 CMVepFR04.txt /etc/eagle-usb && \
/usr/bin/install -c -m 0644 CMVepFR10.txt /etc/eagle-usb && \
/usr/bin/install -c -m 0644 CMVepIT.txt /etc/eagle-usb && \
/usr/bin/install -c -m 0644 CMVep.txt /etc/eagle-usb
make[2]: Leaving directory `/home/alex/tmp/eagle-usb-2.3.2/driver/user'
/usr/bin/install -c -d /lib/modules/2.6.12-12mdk/misc && \
/usr/bin/install -c -m 0644 eagle-usb.ko /lib/modules/2.6.12-12mdk/misc/eagle-usb.ko
make[1]: Leaving directory `/home/alex/tmp/eagle-usb-2.3.2/driver'
make -C pppoa install
make[1]: Entering directory `/home/alex/tmp/eagle-usb-2.3.2/pppoa'
/usr/bin/install -c -d /usr/sbin
/usr/bin/install -c -m 755 pppoa /usr/sbin
make[1]: Leaving directory `/home/alex/tmp/eagle-usb-2.3.2/pppoa'
make -C utils/scripts install
make[1]: Entering directory `/home/alex/tmp/eagle-usb-2.3.2/utils/scripts'
if test 1 -eq 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 /etc/eagle-usb
/usr/bin/install -c -d /usr/sbin
/usr/bin/install -c -d /usr/share/eagle-usb/lang
/usr/bin/install -c -m 0755 tmp/eaglediag /usr/sbin
/usr/bin/install -c -m 0755 tmp/eagleconfig /usr/sbin
/usr/bin/install -c -m 0755 tmp/eu_config_bash /usr/sbin/eagleconfig_front.bash
/usr/bin/install -c -m 0755 tmp/fctStartAdsl /usr/sbin
/usr/bin/install -c -m 0755 tmp/fctStopAdsl /usr/sbin
/usr/bin/install -c -m 0755 tmp/startadsl /usr/sbin
/usr/bin/install -c -m 0755 tmp/stopadsl /usr/sbin
/usr/bin/install -c -m 0755 tmp/testconnec /usr/sbin/eagletestconnec
/usr/bin/install -c -m 0644 tmp/setvars /etc/eagle-usb
/usr/bin/install -c -m 0644 options /etc/eagle-usb/ppp_options.template
/usr/bin/install -c -m 0644 lang/br /usr/share/eagle-usb/lang
/usr/bin/install -c -m 0644 lang/cz /usr/share/eagle-usb/lang
/usr/bin/install -c -m 0644 lang/de /usr/share/eagle-usb/lang
/usr/bin/install -c -m 0644 lang/en /usr/share/eagle-usb/lang
/usr/bin/install -c -m 0644 lang/es /usr/share/eagle-usb/lang
/usr/bin/install -c -m 0644 lang/fr /usr/share/eagle-usb/lang
/usr/bin/install -c -m 0644 lang/f2 /usr/share/eagle-usb/lang
/usr/bin/install -c -m 0644 lang/gr /usr/share/eagle-usb/lang
/usr/bin/install -c -m 0644 lang/it /usr/share/eagle-usb/lang
/usr/bin/install -c -m 0644 lang/mk /usr/share/eagle-usb/lang
/usr/bin/install -c -m 0644 lang/pl /usr/share/eagle-usb/lang
if test 1 -eq 1 ; then \
/usr/bin/install -c -d /etc/hotplug/usb && \
/usr/bin/install -c -m 0755 tmp/eu_dsp /etc/hotplug/usb/eagle-usb ; \
fi
# use eagle-usb service on Fedora, Redhat, Suse, Debian, Mandrake>=10.1
if [ "chkconfig" = "chkconfig" ] || [ "chkconfig" = "update-rc.d" ] ; then \
/usr/bin/install -c -d /etc/init.d && \
/usr/bin/install -c -m 0755 tmp/eu_init /etc/init.d/eagle-usb ; \
elif [ "chkconfig" = "internet_service" ] ; then \
/usr/bin/install -c -d /etc/init.d && \
/usr/bin/install -c -m 0755 tmp/eu_init /etc/init.d/eagle-usb ; \
elif [ "chkconfig" = "slackware" ] ; then \
/usr/bin/install -c -m 0755 tmp/eu_init /etc/eagle-usb/rc.eagle-usb ; \
fi
touch /etc/eagle-usb/eagle-usb_must_be_configured
chmod 644 /etc/eagle-usb/eagle-usb_must_be_configured
make[1]: Leaving directory `/home/alex/tmp/eagle-usb-2.3.2/utils/scripts'
make -C utils/eagleconnect install
make[1]: Entering directory `/home/alex/tmp/eagle-usb-2.3.2/utils/eagleconnect'
if test 0 == 1 ; then \
/usr/bin/install -c -d /usr/sbin && \
/usr/bin/install -c -d /etc/eagle-usb/eagleconnect/lang && \
/usr/bin/install -c -d /etc/eagle-usb/eagleconnect/images && \
/usr/bin/install -c -m 0755 parameagleconnect.tcl /etc/eagle-usb/eagleconnect && \
/usr/bin/install -c -m 0755 tmp/diagnostic.tcl /etc/eagle-usb/eagleconnect && \
/usr/bin/install -c -m 0755 tmp/eagleconnect.tcl /usr/sbin && \
/usr/bin/install -c -m 0755 tmp/reseau.tcl /etc/eagle-usb/eagleconnect && \
/usr/bin/install -c -m 0644 lang/fr.msg /etc/eagle-usb/eagleconnect/lang && \
/usr/bin/install -c -m 0644 lang/doc_fr.txt /etc/eagle-usb/eagleconnect/lang && \
/usr/bin/install -c -m 0644 images/fichierssysteme.ppm /etc/eagle-usb/eagleconnect/images && \
/usr/bin/install -c -m 0644 images/fonts.ppm /etc/eagle-usb/eagleconnect/images && \
if ! test -f /etc/eagle-usb/eagleconnect.conf ; then \
/usr/bin/install -c -m 0644 eagleconnect.conf /etc/eagle-usb/eagleconnect.conf ; \
fi ; \
fi
make[1]: Leaving directory `/home/alex/tmp/eagle-usb-2.3.2/utils/eagleconnect'
# TODO : are manpages sometimes gzipped?? => update this test
#hash -r
# check whether PATH contains {prefix}/sbin
===============================================================================
Installation has finished!
You should now run eagleconfig to setup your connexion.
Citation
[root@localhost eagle-usb-2.3.2]# eagleconfig
==============================================================================
=================== Configuration de votre connexion ADSL ====================
==============================================================================
Votre modem doit être branché avant de continuer.
Vous pouvez à tout moment interrompre ce script avec [Ctrl][c]
Choisissez votre méthode de connexion :
_______________________________________________________________________
. . . Pays . . . . Réseau . . . . . . . . . VPI VCI ENC
-----------------------------------------------------------------------
[... ... ...]
FR09 : France Wanadoo 08 23 06 ????
[... ... ...]
-----------------------------------------------------------------------
?[FR09]
Un identifiant et mot de passe ont été trouvés dans le fichier de configuration de ppp.
Voulez-vous conserver cet identifiant/mot de passe ? [o]/nn
Veuillez entrer le nom d'utilisateur pour la connexion au fournisseur d'accès :
<mon 'username' >
Veuillez entrer le mot de passe pour cet utilisateur (donné par le fournisseur):
Votre fournisseur d'accès supporte t il le cryptage du mot de passe ? [o]/nn
// J'ai mis non mais en fait je n'en sais rien.
Voulez-vous que la connexion soit lancée automatiquement au démarrage ? o/[n]o
Chargement du module... [ OK ]
Chargement du DSP & options... [ OK ]
Attente modem opérationnel... [ OK ]
Configuration réussie.
Vous pouvez maintenant lancer "startadsl" pour démarrer la connexion.
Citation
[root@localhost eagle-usb-2.3.2]# eaglectrl -w
Sending CMVs to device /proc/bus/usb/001/005
CMVs successfully sent to driver.
Sending options to device /proc/bus/usb/001/005
Unable to send options to driver: Device or resource busy
Failed to send options to device /proc/bus/usb/001/005
Citation
[root@localhost eagle-usb-2.3.2]# startadsl
qui n'est pas compatible pour eagle-usb-2.3.2(.tar.bz2)Citation
2.6.12-12mdk
Citation
Chargement du module... [ OK ]
Chargement du DSP & options... [ OK ]
Attente modem opérationnel... [ OK ]
Configuration réussie.
Citation
[root@localhost ~]# cat /etc/resolv.conf
search wanadoo.fr
[root@localhost ~]#
Citation
[root@localhost ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:18:AB8:AC
adr inet6: fe80::2e0:18ff:feab:d8ac/64 Scope:Lien
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interruption:16 Adresse de base:0x2000
eth1 Link encap:UNSPEC HWaddr 08-00-46-03-01-35-14-7A-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:6 dropped:6 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:120 errors:0 dropped:0 overruns:0 frame:0
TX packets:120 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:10040 (9.8 Ki TX bytes:10040 (9.8 Ki
[root@localhost ~]#
urpmi eagle-usb eagleconnectet le driver et l'utilitaire auraient étés installés.
Citation
[root@localhost ~]# urpmi eagle-usb eagleconnect
pas de paquetage nommé eagleconnect
[root@localhost ~]#
Citation
[root@localhost alex]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:18:AB8:AC
adr inet6: fe80::2e0:18ff:feab:d8ac/64 Scope:Lien
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interruption:16 Adresse de base:0xc000
eth1 Link encap:UNSPEC HWaddr 08-00-46-03-01-35-14-7A-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:7 dropped:7 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
eth2 Link encap:Ethernet HWaddr 00:60:4C:6F:00:74
adr inet6: fe80::260:4cff:fe6f:74/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:65535 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:184 (184.0 b) TX bytes:866 (866.0 b)
lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:132 errors:0 dropped:0 overruns:0 frame:0
TX packets:132 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:12750 (12.4 Ki TX bytes:12750 (12.4 Ki
ppp0 Link encaprotocole Point-à-Point
inet adr:86.196.238.126 P-t-P:193.253.160.3 Masque:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:3
RX bytes:102 (102.0 b) TX bytes:54 (54.0 b)
[root@localhost alex]#
urpme eagle-usb-moduleAu cas où des fichiers important auraient étés écrasés réinstalle eagle-usb :
urpme eagle-usb urpmi eagle-usbEnsuite lance en root eagleconnect :
eagleconnectSachant que je travail en aveugle n'aillant pas ce type de connection.
Citation
[root@localhost ~]# urpme eagle-usb-module
Les paquetages suivants contiennent eagle-usb-module : eagle-usb-module-2.6.3-3mdk-1.9.6-1.i586
Citation
[root@localhost ~]# urpme eagle-usb-module-2.6.3-3mdk-1.9.6-1.i586
désinstallation de eagle-usb-module-2.6.3-3mdk-1.9.6-1.i586
ERROR: Module eagle_usb does not exist in /proc/modules
error: %preun(eagle-usb-module-2.6.3-3mdk-1.9.6-1.i586) scriptlet failed, exit status 1
Citation
[root@localhost ~]# urpme eagle-usb
désinstallation de eagle-usb-2.3.2-6mdk.i586
Citation
[root@localhost ~]# urpmi eagle-usb
installation de eagle-usb-2.3.2-6mdk.i586.rpm depuis /var/cache/urpmi/rpms
Préparation ... #############################################
1/1: eagle-usb #############################################
Citation
[root@localhost ~]# eagleconnect
bash: eagleconnect: command not found