If ueagle-atm is included in the Linux Kernel, so it is useless to make a debian
package of ueagle-atm ?

Other subject, I received this message from a Debian user. I am going to fix the
eu_config_bash script.

Cyril Martin (mcoolive).

----- Message transféré de "Vicente J. Ruiz Jurado" -----
   Date : Wed, 02 Nov 2005 02:00:50 +0100
  Sujet : Bug#336998: Bug in eagleconfig encapsulation (ENC)

Package: eagle-usb-utils
Version: 2.1.1-2

I find a small bug in eagleconfig, exactly in eagleconfig_front.bash.

Despite of the provider you select with eagleconfig, eagle-usb always
use PPPoA instead of PPPoE or None.

This is because in /etc/eagle-usb/setvars:
(...)
encapsToPppox() {
        if [ "$1" = "00000001" ] || [ "$1" = "00000002" ] ; then
                pppoe -h 1>/dev/null 2>/dev/null
(...)
is expecting seven zeros and eagleconfig_front.bash only put six zeros
in ENC.

This patch fix it:

--- /usr/sbin/eagleconfig_front.bash    2005-11-02 01:42:17.000000000
+0100
+++ /usr/sbin/eagleconfig_front.bash.orig       2005-11-02
01:41:55.000000000 +0100
@@ -198,7 +198,7 @@
 # translate params to 8 chars hex values
 VPI="000000$VPI"
 VCI="000000$VCI"
-ENC="0000000$ENC"
+ENC="000000$ENC"
 # $ENC => $PPPOX
 encapsToPppox "$ENC"

----- Fin du message transféré -----

Reply via email to