From cce255e380a67df471084c38187e64d26bac9410 Mon Sep 17 00:00:00 2001 From: Edoardo Fullin Date: Tue, 10 Jan 2023 12:31:58 +0100 Subject: MA5671A: Fixed RX Loss / TX Fault confusion --- _ont/ont-huawei-ma5671a-root-web.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/_ont/ont-huawei-ma5671a-root-web.md b/_ont/ont-huawei-ma5671a-root-web.md index d06e9d1..39e4537 100644 --- a/_ont/ont-huawei-ma5671a-root-web.md +++ b/_ont/ont-huawei-ma5671a-root-web.md @@ -41,9 +41,7 @@ After this is done, reboot the stick, after connecting it to the router via an e {% include alert.html content="If your subnet is `192.168.1.0/24` make sure you have no ip conflicts." alert="Note" icon="svg-warning" color="yellow" %} -{% include alert.html content="Make sure to disable SFP TX fault detection, otherwise the RX loss will prevent you from connecting to the mini SFP ONT at this point. Don't simply attach the fiber cable to work around this issue as the OLT may ban you." alert="Note" icon="svg-warning" color="yellow" %} - -{% include alert.html content="In media converters and on MikroTik it is not necessary to disable TX fault." alert="Info" icon="svg-info" color="blue" %} +{% include alert.html content="On some SFP host devices you might not be able to connect to the stick if there's no optical signal, in that case you need to connect the fiber to make changes on the stick" alert="Note" icon="svg-warning" color="yellow" %} Run the terminal and login to the stick with ssh @@ -55,15 +53,22 @@ The password is `admin123`. {% include alert.html content="If you use a modern OpenSSH version (e.g. >= 8.8) you will have to enable some deprecated algorithms: `ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-dss root@192.168.1.10`" alert="Info" icon="svg-info" color="blue" %} -# Disable serial output +# TX Fault / Serial -If there is a need to not have the problem of SFP TX fault detection, it is possible to lock the serial (as the TX fault pin is used for serial and would be in a perpetual high state): +The stick stays in a perpetual "TX Fault" state since the same SFP pin is used for both serial and TX Fault signaling, if that causes you issues (normally it shouldn't) you can issue the commands below to disable it. Note that it will disable both the TX Fault signal and Serial on the stick after boot. ```sh fw_setenv asc0 1 fw_setenv preboot "gpio set 3;gpio input 100;gpio input 105;gpio input 106;gpio input 107;gpio input 108" ``` +In case you need to re-enable it issue the following commands from the bootloader (FALCON) + +```sh +setenv asc0 0 +saveenv +``` +