La Fibre

Datacenter et équipements réseaux => Routeurs => Bouygues Telecom Remplacer la Bbox par un routeur => Discussion démarrée par: domotiqa le 23 mars 2025 à 21:44:00

Titre: probleme command ssh huawei-ma5671a: do not supported the command
Posté par: domotiqa le 23 mars 2025 à 21:44:00
salut a tous,

je veux remplacer ma bbox par un convertisseur fibre / ethernet.
J'ai acheté un ONU huawei-ma5671a et un convertisseur de média Fiber optique 2.5G Gigabit SFP, émetteur-récepteur 1000Mbps Compatible avec E/GPON commun

J ai configuré ma connection pour avoir acces a celui ci en 192.168.1.x et tente un ssh via putty et meme via le tereminal windows.
Je tente en root avec admin123

cela y accede, mais apres ce message d accueil, cela est tres lent/long et ne va pas au shell
Quelqu un a deja eu cela ? une idee ?

C:\Windows\System32>ssh root@192.168.1.10
Unable to negotiate with 192.168.1.10 port 22: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group1-sha1,kexguess2@matt.ucc.asn.au

C:\Windows\System32>ssh root@192.168.1.10 -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-dss
root@192.168.1.10's password:
 Welcome Visiting Huawei Home Gateway
Copyright by Huawei Technologies Co., Ltd.
client_loop: send disconnect: Connection reset

merci
Titre: probleme acces ssh huawei-ma5671a
Posté par: domotiqa le 23 mars 2025 à 21:52:53
PRECISION: le convertisseur est un XBH-SFP2.5G1F1E

parametré en 1G

une fois que cela a bugué.
L'ONU devient injoignable pendant un bon petit moment, 10, 20 30min je sais pas trop


EDIT: j ai mis le convertisseur en 2.5g, et j ai reussit a me connecter.
Bizarre car le switch est en 1g...


par contre soucis de commande.
bon je creuse...

C:\Windows\System32>ssh root@192.168.1.10 -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-dss
root@192.168.1.10's password:
 Welcome Visiting Huawei Home Gateway
Copyright by Huawei Technologies Co., Ltd.
#
# cat /etc/init.d/onu.sh
Do not support the command.
# ls
Do not support the command.
# vi /etc/init.d/onu.sh
Do not support the command.
# quit
exit
Connection to 192.168.1.10 closed.

Je me demande si j ai le bon firmware. j ai vu passer des infos sur carlito...
JE vais regarder de ce coté pour voire pour le changer, procedure....
Titre: probleme command ssh huawei-ma5671a: do not supported the command
Posté par: domotiqa le 24 mars 2025 à 13:53:09
bon j imagine qu il faut d abord le rooter
https://hack-gpon.org/ont-huawei-ma5671a-root/

et pour ca obligé de passer par une interface serie et se mettre sur les bons pin.

je pensais qu on pouvais faire tout en ssh directement.

JE vais essayer de suivre la procedure ici:
https://lafibre.info/remplacer-sfr/remplacer-ont-sfr/msg998831/#msg998831
et la
https://hack-gpon.org/ont-huawei-ma5671a-root-web/