Auteur Sujet: Remplacer ONT SFR  (Lu 225682 fois)

0 Membres et 1 Invité sur ce sujet

G8U5

  • Abonné SFR fibre FttH
  • *
  • Messages: 158
  • La Rochelle 17
Remplacer ONT SFR
« Réponse #1092 le: 02 janvier 2025 à 18:27:05 »
@artemus24

Si tu regardes dans ./etc/rc.d/, tu as l'ordre d'exécution des scripts de /etc/init.d.
Tu pourras voir par exemple que le PLOAM est setté à partir du script onu.sh qui lit la valeur onu_ploam et la transforme en HEX. Ce script configure le Serial également qu'il lit dans onu_serial.
Rentrer ces valeurs sous une autre forme dans les ENVs ou dans l'Eeprom me semble inutile. Tu as testé de ne pas les saisir ?

G8U5

  • Abonné SFR fibre FttH
  • *
  • Messages: 158
  • La Rochelle 17
Remplacer ONT SFR
« Réponse #1093 le: 02 janvier 2025 à 18:31:27 »
voici le mien, MA5671A avec FS Modded. je n'y ai pas touché.

#!/bin/sh /etc/rc.common
# Copyright (C) 2011 OpenWrt.org
# Copyright (C) 2011 lantiq.com

. $IPKG_INSTROOT/lib/falcon.sh

START=85

OMCID_BIN=/opt/lantiq/bin/omcid

status_entry_create() {
        local path=$1
        local base=`basename $path`
        local dir=`dirname $path`

        touch $path

        uci -c $dir set $base.ip_conflicts=status
        uci -c $dir set $base.dhcp_timeouts=status
        uci -c $dir set $base.dns_errors=status
}

wait_for_jffs()
{
        while ! grep overlayfs:/overlay /proc/self/mounts >/dev/null
        do
                sleep 1
        done
}

is_flash_boot()
{
        grep overlayfs /proc/self/mounts >/dev/null
}

start() {
  #(
        local mib_file
        local omcc_version
        local tmp
        local omci_iop_mask
        local lct=""

        config_load omci

        tmp=`fw_printenv omci_hw_ver 2>&- | cut -f2 -d=`
        if [ -n "$tmp" ]; then
                sed "s/256 0 HWTC 0000000000000/256 0 HWTC ${tmp}/" /rom/etc/mibs/data_1g_8q_us1280_ds512.ini > /tmp/auto_generated_mib.ini
                mib_file="/tmp/auto_generated_mib.ini"
        else
                mib_file="/rom/etc/mibs/data_1g_8q_us1280_ds512.ini"
        fi

        tmp=`fw_printenv mib_file_custom 2>&- | cut -f2 -d=`
        if [ -f "/etc/mibs/$tmp" ]; then
                mib_file="/etc/mibs/$tmp"
        fi

        tmp=`fw_printenv omci_omcc_ver 2>&- | cut -f2 -d=`
        if [ -n "$tmp" ]; then
                omcc_version=$tmp
        else
                omcc_version=160
        fi

        config_get tmp "default" "status_file" "/tmp/omci_status"
        status_entry_create "$tmp"

        case $(uci -q get network.lct.ifname) in
        lct0)
                lct=-g1
                ;;
        lct1)
                lct=-g2
                ;;
        lct2)
                lct=-g3
                ;;
        lct3)
                lct=-g4
                ;;
        lct8)
                lct=-g9
                ;;
        esac

        tmp=`fw_printenv omci_iop_mask 2>&- | cut -f2 -d=`
        if [ -n "$tmp" ]; then
                omci_iop_mask=$tmp
        else
                config_get omci_iop_mask "default" "omci_iop_mask" 0
        fi

        logger -t omcid "Use OMCI mib file: $mib_file"
        ${OMCID_BIN} -d3 -p$mib_file  -o$omcc_version -i$omci_iop_mask ${lct} -l/tmp/log/debug > /dev/console 2> /dev/console &
  #)&
}

stop() {
        killall -q omcid
}

@artemus, peux-tu STP comparer avec le tien, pour confirmer que j'ai bien un fichier d'origine ?

Oui il est d'origine !

ma ligne sed: sed "s/256 0 HWTC 0000000000000 00000000 2/256 0 PTIN ${tmp} 00000000 0/" /rom/etc/mibs/data_1g_8q_us1280_ds512.ini > /tmp/auto_generated_mib.ini
Donc si je comprend bien, tu n'as rien dans "omci_hw_ver" (fw_printenv omci_hw_ver) donc omcid.sh te charge le MIBS de la ROM sans changer HWTC par PTIN et non plus la version hardware ?
Que te donne le "Vendor_Id" et "Version" quand tu fais "omci_pipe.sh meg 256 0" ?

rooot

  • Abonné RED by SFR fibre FttH
  • *
  • Messages: 2 692
  • 🔵🔵🔵🔵⚪⚪⚪⚪🔴🔴🔴🔴
Remplacer ONT SFR
« Réponse #1094 le: 02 janvier 2025 à 18:38:46 »
Donc si je comprend bien, tu n'as rien dans "omci_hw_ver" (fw_printenv omci_hw_ver) donc omcid.sh te charge le MIBS de la ROM sans changer HWTC par PTIN et non plus la version hardware ?
tout a fait
root@SFP:~# fw_printenv omci_hw_ver
## Error: "omci_hw_ver" not defined

Que te donne le "Vendor_Id" et "Version" quand tu fais "omci_pipe.sh meg 256 0" ?
ceci :
root@SFP:~# omci_pipe.sh meg 256 0
Class ID    = 256 (ONU-G)
Instance ID = 0
Upload      = yes
Alarms      = 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
              0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
-------------------------------------------------------------------------------
 0 Vendor id                     4b STR  R--A---P---
   0x53 0x50 0x54 0x43
   SPTC
-------------------------------------------------------------------------------
 1 Version                      14b STR  R--A---P---
   0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x00
   0000000000000\x00
-------------------------------------------------------------------------------
 2 Serial number                 8b STR  R--A---P---
   0x50 0x54 0x49 0x4e xxxxxxxxxxxxxxxx
   PTIN xxxxxxxxxxxxxx
-------------------------------------------------------------------------------
 3 Traffic management opt        1b ENUM R----------
   0x02 (2)
-------------------------------------------------------------------------------
 4 VP/VC cc function option      1b UINT R---O------
   0x00 (0)
-------------------------------------------------------------------------------
 5 Battery backup                1b UINT RW-------E-
   0x00 (0)
-------------------------------------------------------------------------------
 6 Administrative state          1b UINT RW-------E-
   0x00 (0)
-------------------------------------------------------------------------------
 7 Operational state             1b UINT R--A-----E-
   0x00 (0)
-------------------------------------------------------------------------------
 8 ONU survival time             1b UINT R--------E-
   0x00 (0)
-------------------------------------------------------------------------------
R - Readable          O - Not supported (optional)
W - Writable          E - Excluded from MIB upload (template)
S - set-by-create     T - Table
A - Send AVC          V - Volatile
U - No upload         P - No swap
N - Not suported      Y - Partly supported
N - No swap

errorcode=0

Tien d'ailleurs @artemus tu devrais tester de changer le traffic management pour voir si ca regle ton probleme de débit. Je ne sais plus ou j'ai lu que quelqu'un avait réglé son probleme de cette façon...Chez moi ca marche avec 2, mais j'ai vu que certains devaient passer la valeur a Zéro. Ce n'est pas ton cas @G8U5 ??
3 Traffic management opt        1b ENUM R----------
   0x02 (2)
« Modifié: 02 janvier 2025 à 19:21:05 par rooot »

G8U5

  • Abonné SFR fibre FttH
  • *
  • Messages: 158
  • La Rochelle 17
Remplacer ONT SFR
« Réponse #1095 le: 02 janvier 2025 à 18:55:01 »
@rooot
Je vois que tu as l'oeil !
Si sans ça, ça ne fonctionnait pas. Je n'ai pas réessayé depuis.

tu feras gaffe à la fin de ton adresse MAC !

rooot

  • Abonné RED by SFR fibre FttH
  • *
  • Messages: 2 692
  • 🔵🔵🔵🔵⚪⚪⚪⚪🔴🔴🔴🔴
Remplacer ONT SFR
« Réponse #1096 le: 02 janvier 2025 à 19:22:28 »
@rooot
Je vois que tu as l'oeil !
Si sans ça, ça ne fonctionnait pas. Je n'ai pas réessayé depuis.

tu feras gaffe à la fin de ton adresse MAC !
Ah c'etait toi donc ?  ;D
Donc toi tu es avec 0 pour le traffic management ?

Merci pour l'@ MAC, c'est masqué ;)

G8U5

  • Abonné SFR fibre FttH
  • *
  • Messages: 158
  • La Rochelle 17
Remplacer ONT SFR
« Réponse #1097 le: 02 janvier 2025 à 19:27:42 »
Ah c'etait toi donc ?  ;D
Donc toi tu es avec 0 pour le traffic management ?

Merci pour l'@ MAC, c'est masqué ;)

Tout a fait!
Setté par la ligne sed dans omcid.sh

root@SFP:/etc# omci_pipe.sh meg 256 0
Class ID    = 256 (ONU-G)
Instance ID = 0
Upload      = yes
Alarms      = 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
              0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
-------------------------------------------------------------------------------
 0 Vendor id                     4b STR  R--A---P---
   0x50 0x54 0x49 0x4e
   PTIN
-------------------------------------------------------------------------------
 1 Version                      14b STR  R--A---P---
   0x33 0x4e 0x54 0x37 0x53 0x46 0x55 0x31 0x33 0x38 0x39 0x42 0x32 0x34
   3NT7SFU1389B24
-------------------------------------------------------------------------------
 2 Serial number                 8b STR  R--A---P---
   0x50 0x54 0x49 0x4e 0x00 0x00 0x00 0x00
   PTIN
-------------------------------------------------------------------------------
 3 Traffic management opt        1b ENUM R----------
   0x00 (0)
-------------------------------------------------------------------------------
 4 VP/VC cc function option      1b UINT R---O------
   0x00 (0)
-------------------------------------------------------------------------------
 5 Battery backup                1b UINT RW-------E-
   0x00 (0)
-------------------------------------------------------------------------------
 6 Administrative state          1b UINT RW-------E-
   0x00 (0)
-------------------------------------------------------------------------------
 7 Operational state             1b UINT R--A-----E-
   0x00 (0)
-------------------------------------------------------------------------------
 8 ONU survival time             1b UINT R--------E-
   0x00 (0)
-------------------------------------------------------------------------------
R - Readable          O - Not supported (optional)
W - Writable          E - Excluded from MIB upload (template)
S - set-by-create     T - Table
A - Send AVC          V - Volatile
U - No upload         P - No swap
N - Not suported      Y - Partly supported
N - No swap

errorcode=0

l'OLT:
root@SFP:/etc# omci_pipe.sh meg 131 0
Class ID    = 131 (OLT-G)
Instance ID = 0
Upload      = yes
Alarms      = -
-------------------------------------------------------------------------------
 0 OLT vendor id                 4b STR  RW-----P---
   0x41 0x4c 0x43 0x4c
   ALCL
-------------------------------------------------------------------------------
 1 Equipment id                 20b STR  RW-----P---
   0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20

-------------------------------------------------------------------------------
 2 Version                      14b STR  RW-----P---
   0x06 0x02 0x04 0x00 0x00 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
   \x06\x02\x04\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00
-------------------------------------------------------------------------------
 3 Time of day information      14b STR  RW--O--P---
   0x30 0x78 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30
   0x000000000000
-------------------------------------------------------------------------------
R - Readable          O - Not supported (optional)
W - Writable          E - Excluded from MIB upload (template)
S - set-by-create     T - Table
A - Send AVC          V - Volatile
U - No upload         P - No swap
N - Not suported      Y - Partly supported
N - No swap

errorcode=0

rooot

  • Abonné RED by SFR fibre FttH
  • *
  • Messages: 2 692
  • 🔵🔵🔵🔵⚪⚪⚪⚪🔴🔴🔴🔴
Remplacer ONT SFR
« Réponse #1098 le: 02 janvier 2025 à 19:36:46 »
ok !
donc dans notre cas (artemus et moi) vu que omci_hw_ver n'est pas défini, pour passer le traffic management a Zéro on doit aller changer la valeur directement dans :
/etc/mibs/data_1g_8q_us1280_ds512.ini

a la ligne suivante, on remplace le 2 par un 0
Citer
# ONT-G
256 0 HWTC 0000000000000 00000000 2 0 0 0 0 #0

Citer
# ONT-G
256 0 HWTC 0000000000000 00000000 0 0 0 0 0 #0

En fait moi je n'ai pas de problème avec 2, c'est surtout Artemus qui a un problème. J'avais déjà testé dans le passé et chez moi 0 ou 2 ne changeait rien.

G8U5

  • Abonné SFR fibre FttH
  • *
  • Messages: 158
  • La Rochelle 17
Remplacer ONT SFR
« Réponse #1099 le: 02 janvier 2025 à 19:43:54 »
ok !
donc dans notre cas (artemus et moi) vu que omci_hw_ver n'est pas défini, pour passer le traffic management a Zéro on doit aller changer la valeur directement dans :
/etc/mibs/data_1g_8q_us1280_ds512.ini

a la ligne suivante, on remplace le 2 par un 0
En fait moi je n'ai pas de problème avec 2, c'est surtout Artemus qui a un problème. J'avais déjà testé dans le passé et chez moi 0 ou 2 ne changeait rien.

C'est presque ça...

omcid.sh charge le MIB de la ROM si tu ne set pas toi même le MIB à lire dans les Envs.

fw_setenv mib_file_custom "/etc/mibs/data_1g_8q_us1280_ds512.ini"
Vu ici:
Citer
        tmp=`fw_printenv omci_hw_ver 2>&- | cut -f2 -d=`
        if [ -n "$tmp" ]; then
                sed "s/256 0 HWTC 0000000000000/256 0 HWTC ${tmp}/" /rom/etc/mibs/data_1g_8q_us1280_ds512.ini > /tmp/auto_generated_mib.ini
                mib_file="/tmp/auto_generated_mib.ini"
        else
                mib_file="/rom/etc/mibs/data_1g_8q_us1280_ds512.ini"
        fi

        tmp=`fw_printenv mib_file_custom 2>&- | cut -f2 -d=`
        if [ -f "/etc/mibs/$tmp" ]; then
                mib_file="/etc/mibs/$tmp"
        fi

Quand au Trafic Management, vous m'en direz tant:
Citer
Traffic management option: This attribute identifies the upstream traffic management function
implemented in the ONU. There are three options:
   0 Priority controlled and flexibly scheduled upstream traffic. The traffic
scheduler and priority queue mechanism are used for upstream traffic.
   1 Rate controlled upstream traffic. The maximum upstream traffic of each
individual connection is guaranteed by shaping.
   2 Priority and rate controlled. The traffic scheduler and priority queue
mechanism are used for upstream traffic. The maximum upstream traffic
of each individual connection is guaranteed by shaping.

For a further explanation, see Appendix II.
Downstream priority queues are managed via the GEM port network CTP ME.
Upon ME instantiation, the ONU sets this attribute to the value that describes its
implementation. The OLT must adapt its model to conform to the ONU's selection.
(R) (mandatory) (1 byte)

artemus24

  • Abonné SFR fibre FttH
  • *
  • Messages: 1 969
  • Montignac Lascaux (24)
Remplacer ONT SFR
« Réponse #1100 le: 03 janvier 2025 à 12:52:32 »
Citation de: G8U5
Justement, je n'ai pas de sauvegarde de ce fichier (omcid.sh),
Tu n'as pas besoin d'avoir une sauvegarde. Si tu veux le remettre à sa valeur d'origine, tu fais "firstboot + reboot".
Ou bien, tu récupères ton fichier dans "/rom".

Citation de: G8U5
je te demande son contenu pour remettre le miens d'origine si jamais je l'ai modifié.
Voici mon fichier "/etc/init.d/omcid.sh" :
Code: (sh) [Sélectionner]
#!/bin/sh /etc/rc.common
# Copyright (C) 2011 OpenWrt.org
# Copyright (C) 2011 lantiq.com

. $IPKG_INSTROOT/lib/falcon.sh

START=85

OMCID_BIN=/opt/lantiq/bin/omcid

status_entry_create() {
        local path=$1
        local base=`basename $path`
        local dir=`dirname $path`

        touch $path

        uci -c $dir set $base.ip_conflicts=status
        uci -c $dir set $base.dhcp_timeouts=status
        uci -c $dir set $base.dns_errors=status
}

wait_for_jffs()
{
        while ! grep overlayfs:/overlay /proc/self/mounts >/dev/null
        do
                sleep 1
        done
}

is_flash_boot()
{
        grep overlayfs /proc/self/mounts >/dev/null
}

start() {
  #(
        local mib_file
        local omcc_version
        local tmp
        local omci_iop_mask
        local lct=""

        config_load omci

        tmp=`fw_printenv omci_hw_ver 2>&- | cut -f2 -d=`
        if [ -n "$tmp" ]; then
                sed "s/256 0 HWTC 0000000000000/256 0 HWTC ${tmp}/" /rom/etc/mibs/data_1g_8q_us1280_ds512.ini > /tmp/auto_generated_
                mib_file="/tmp/auto_generated_mib.ini"
        else
                mib_file="/rom/etc/mibs/data_1g_8q_us1280_ds512.ini"
        fi

        tmp=`fw_printenv mib_file_custom 2>&- | cut -f2 -d=`
        if [ -f "/etc/mibs/$tmp" ]; then
                mib_file="/etc/mibs/$tmp"
        fi

        tmp=`fw_printenv omci_omcc_ver 2>&- | cut -f2 -d=`
        if [ -n "$tmp" ]; then
                omcc_version=$tmp
        else
                omcc_version=160
        fi

        config_get tmp "default" "status_file" "/tmp/omci_status"
        status_entry_create "$tmp"

        case $(uci -q get network.lct.ifname) in
        lct0)
                lct=-g1
                ;;
        lct1)
                lct=-g2
                ;;
        lct2)
                lct=-g3
                ;;
        lct3)
                lct=-g4
                ;;
        lct8)
                lct=-g9
                ;;
        esac

        tmp=`fw_printenv omci_iop_mask 2>&- | cut -f2 -d=`
        if [ -n "$tmp" ]; then
                omci_iop_mask=$tmp
        else
                config_get omci_iop_mask "default" "omci_iop_mask" 0
        fi

        logger -t omcid "Use OMCI mib file: $mib_file"
        ${OMCID_BIN} -d3 -p$mib_file  -o$omcc_version -i$omci_iop_mask ${lct} -l/tmp/log/debug > /dev/console 2> /dev/console &
  #)&
}

stop() {
        killall -q omcid
}
Je précise que j'ai bien l'Huawei SmartAX MA5671a et que je l'ai configuré par moi-même.
Citation de: G8U5
Rentrer ces valeurs sous une autre forme dans les ENVs ou dans l'Eeprom me semble inutile. Tu as testé de ne pas les saisir ?
Je n'ai pas que "FS Modded" pour l'Image 0. J'ai la version d'origine Huawei dans l'Image 1, et ça fonctionne aussi et je n'aimerai pas la casser. Donc oui, il est possible que je mettes trop de paramètres, mais en l'état, ça fonctionne et je n'y touche plus.
Je me suis attaché à faire une synthèse de ce que j'ai pu trouver dans le forum "LaFibre.info" pour construire mon script.

Si tu prends la liste de tous les paramètres dans le site "hack gpon FS Modded", je n'ai fait que :
--> Flashing the firmware
--> GPON/OMCI settings
et en particulier :
--> Setting ONU GPON Serial Number
--> Setting ONU GPON PLOAM password
tout ce qui est après, je ne l'ai pas fait.

Citation de: G8U5
Que te donne le "Vendor_Id" et "Version" quand tu fais "omci_pipe.sh meg 256 0" ?
Voici le mien :
Code: (sh) [Sélectionner]
root@SFP:~# omci_pipe.sh meg 256 0
Class ID    = 256 (ONU-G)
Instance ID = 0
Upload      = yes
Alarms      = 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
              0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
-------------------------------------------------------------------------------
 0 Vendor id                     4b STR  R--A---P---
   0x53 0x50 0x54 0x43
   SPTC
-------------------------------------------------------------------------------
 1 Version                      14b STR  R--A---P---
   0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x00
   0000000000000\x00
-------------------------------------------------------------------------------
 2 Serial number                 8b STR  R--A---P---
   0x50 0x54 0x49 0x4e 0x11 0x22 0x33 0x44
   PTIN\x11\x22\x33\x44
-------------------------------------------------------------------------------
 3 Traffic management opt        1b ENUM R----------
   0x02 (2)
-------------------------------------------------------------------------------
 4 VP/VC cc function option      1b UINT R---O------
   0x00 (0)
-------------------------------------------------------------------------------
 5 Battery backup                1b UINT RW-------E-
   0x00 (0)
-------------------------------------------------------------------------------
 6 Administrative state          1b UINT RW-------E-
   0x00 (0)
-------------------------------------------------------------------------------
 7 Operational state             1b UINT R--A-----E-
   0x00 (0)
-------------------------------------------------------------------------------
 8 ONU survival time             1b UINT R--------E-
   0x00 (0)
-------------------------------------------------------------------------------
R - Readable          O - Not supported (optional)
W - Writable          E - Excluded from MIB upload (template)
S - set-by-create     T - Table
A - Send AVC          V - Volatile
U - No upload         P - No swap
N - Not suported      Y - Partly supported
N - No swap

errorcode=0
root@SFP:~#
J'ai modifié mon Serial Number.
Voici les vérifications supplémentaires :
Code: (sh) [Sélectionner]
root@SFP:~# fw_printenv omci_hw_ver
## Error: "omci_hw_ver" not defined
root@SFP:~#
root@SFP:~# fw_printenv mib_file_custom
## Error: "mib_file_custom" not defined
root@SFP:~#
root@SFP:~# fw_printenv mib_file
## Error: "mib_file" not defined
root@SFP:~#
Citation de: Rooot
Tiens d'ailleurs @artemus tu devrais tester de changer le "traffic management" pour voir si ca règle ton probleme de débit.
Il est à "2" comme chez toi.

Code: (sh) [Sélectionner]
root@SFP:~# omci_pipe.sh meg 131 0
Class ID    = 131 (OLT-G)
Instance ID = 0
Upload      = yes
Alarms      = -
-------------------------------------------------------------------------------
 0 OLT vendor id                 4b STR  RW-----P---
   0x20 0x20 0x20 0x20

-------------------------------------------------------------------------------
 1 Equipment id                 20b STR  RW-----P---
   0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20

-------------------------------------------------------------------------------
 2 Version                      14b STR  RW-----P---
   0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20

-------------------------------------------------------------------------------
 3 Time of day information      14b STR  RW--O--P---
   0x30 0x78 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30
   0x000000000000
-------------------------------------------------------------------------------
R - Readable          O - Not supported (optional)
W - Writable          E - Excluded from MIB upload (template)
S - set-by-create     T - Table
A - Send AVC          V - Volatile
U - No upload         P - No swap
N - Not suported      Y - Partly supported
N - No swap

errorcode=0
root@SFP:~#
« Modifié: 03 janvier 2025 à 13:38:53 par artemus24 »

rooot

  • Abonné RED by SFR fibre FttH
  • *
  • Messages: 2 692
  • 🔵🔵🔵🔵⚪⚪⚪⚪🔴🔴🔴🔴
Remplacer ONT SFR
« Réponse #1101 le: 03 janvier 2025 à 12:57:17 »
je sais qu'il est a 2. mais je pense qu'en le passant à Zéro comme a du le faire @G8U5 il y a de grandes chances que tu règles ton problème d'upload, vous semblez être tous les 2 dans la même situation.

kiv

  • Abonné SFR fibre FttH
  • *
  • Messages: 1
  • Nice
Remplacer ONT SFR
« Réponse #1102 le: 03 janvier 2025 à 18:37:47 »
Bonjour,

Quelqu'un pourrait-il m'aider à faire fonctionner ODI DFP-34X-2IY3 avec SFR.
J'essaie de remplacer le boîtier Altice GR140IG.
J'ai trouvé ce manuel : https://lafibre.info/remplacer-sfr/remplacer-ont-sfr/msg1088912/#msg1088912
Il semble que ma clé ait une autre version de firmware (V1.2.0-240918). Mais les étapes principales devraient être les mêmes.

Le problème est le suivant : j'obtiens le statut O5 sur la clé mais je n'arrive pas à obtenir d'adresse IP.
J'ai saisi ce qui suit : PLOAM password, Serial Number, OMCI Vendor ID, OMCI software version 1 and 2.
Le statut est O5.
omcicli mib get 84 a montré les VID 100 et 101.
J'ai essayé d'attribuer le vlan 101 sur mon routeur et je n'ai pas pu obtenir le DHCP. J'ai ensuite essayé d'activer et d'attribuer le VLAN 101 sur la clé. Pas de DHCP non plus. J'ai essayé les mêmes choses avec le VLAN 100.
Qu'est-ce qui me manque ?

Merci !

Citation de: Même message en anglais/Same message in English

Hi,

Could anyone help me please to make ODI DFP-34X-2IY3 work with SFR.
I’m trying to replace Altice GR140IG box.
I have found this manual: https://lafibre.info/remplacer-sfr/remplacer-ont-sfr/msg1088912/#msg1088912
It seems my stick has another firmware version (V1.2.0-240918). But main steps should be the same.

The problem is: I’m getting O5 status on the stick but can’t get an IP address.
I have entered the PLOAM password, Serial Number, OMCI Vendor ID, OMCI software version 1 and 2.
Status is O5.
omcicli mib get 84 showed VID 100 and 101.
I tried to assign 101 vlan on my router and could not get DHCP. Then I tried to enable and assign vlan 101 on the stick. No DHCP either. Tried the same things with 100 VLAN.
What am I missing?

Thank you!






artemus24

  • Abonné SFR fibre FttH
  • *
  • Messages: 1 969
  • Montignac Lascaux (24)
Remplacer ONT SFR
« Réponse #1103 le: 03 janvier 2025 à 19:04:24 »
Salut Kiv et bienvenue dans le forum LaFibre.info. :)

Citation de: kiv
omcicli mib get 84 a montré les VID 100 et 101.
Depuis mon ONU Huawei, si je fais "gtop c v", je vois ceci :
Code: (sh) [Sélectionner]
GPE VLAN

Name:        ONU_GPE_VLAN_TABLE
ID:          18
no;pcp;dei;vid;vlan_meter_enable;vlan_meter_id;end
32; ; ;102; ; ;1
36; ; ;102; ; ;1
40; ; ;101; ; ;1
44; ; ;101; ; ;1
48; ; ;101; ; ;1
Cela m'indique que j'obtiens bien les VLAN en provenance de SFR.

Il faut démarquer (untagged) tes VLAN. Je vois rien dans ce que tu nous montres qui permet de faire cela.

As tu aussi l'option 60 ?

@ Rooot : je passe comment ce 2 à 0 ? Dois-je modifier le fichier "/etc/mibs/data_1g_8q_us1280_ds512.ini" ?
Et qu'est-ce que cela va changer ?

@ G8U5 : as tu le niveau 5 (O5) en faisant "onu ploamsg" ou "gtop a" ? As tu les VLAN en faisant "gtop c v" ?
« Modifié: 03 janvier 2025 à 20:13:01 par artemus24 »