From e0fd98e41f64af5b8e2f4980bdd1fa3543151e68 Mon Sep 17 00:00:00 2001 From: Giammarco Date: Mon, 24 Apr 2023 21:15:40 +0200 Subject: Update ont-zte-f601.md (#172) * Update ont-zte-f601.md Start adding some useful command to F601v6/v7 ONT Add bootbank switch Found solution to check OMCI MIB without using logfile --- _ont/ont-zte-f601.md | 105 ++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 95 insertions(+), 10 deletions(-) (limited to '_ont') diff --git a/_ont/ont-zte-f601.md b/_ont/ont-zte-f601.md index 2b05fec..35c9e7d 100644 --- a/_ont/ont-zte-f601.md +++ b/_ont/ont-zte-f601.md @@ -24,7 +24,7 @@ parent: ZTE | Web Gui | ✅ user `admin`, password `admin` or user `user`, password `user` | ✅ user `admin`, password `admin` or user `user`, password `user` | | | | SSH | | | | | | Telnet | | | | | -| Serial | | | | | +| Serial | ✅ | ✅ | | | | Form Factor | ONT | ONT | ONT | ONT | {% include image.html file="f601_v6_1.jpg" alt="F601 v6" caption="F601 v6" %} @@ -32,21 +32,106 @@ parent: ZTE {% include image.html file="f601v9/front.jpg" alt="F601 v9" caption="F601 v9 @mirko991" %} ## List of software versions -### HW V6.0 -- V6.0.10P6T1 -- V6.0.10P6T4 -- V6.0.10P6N7 +### HW V6.0 +- V6.0.10P6T1 (OpenFiber) +- V6.0.10P6T4 (OpenFiber) +- V6.0.10P6N7 (OpenFiber) +- V6.0.10N40 (TIM Italy) +- V6.0.10P3T1 (Generic) +- V6.0.10P1T26 (Generic) ### HW V7.0 -- V7.0.10P6N7 +- V7.0.10P6N7 (OpenFiber) +- V7.0.10P6T4 (Generic) ### HW V9.0 -- V9.0.10P2N1 +- V9.0.10P2N1 (OpenFiber) + +## List of partitions (V6.0/V7.0) + +| dev | size | erasesize | name | +| ---- | -------- | --------- | ---------------- | +| mtd0 | 01000000 | 00010000 | "whole flash" | +| mtd1 | 00080000 | 00010000 | "uboot" | +| mtd2 | 00700000 | 00010000 | "kernel0" | +| mtd3 | 00700000 | 00010000 | "kernel1" | +| mtd4 | 00010000 | 00010000 | "others" | +| mtd5 | 00010000 | 00010000 | "parameter tags" | +| mtd6 | 00160000 | 00010000 | "usercfg" | + + +This ONT supports dual boot, as visible from the presence of `kernel0` and `kernel1`, which contain the rootfs. +The boot image can be swapped with the following command: + +```sh +upgradetest switchver X +``` + +Where `X` can be `0/1` based on the image you want to boot. + +# General Settings and Useful Commands +{% include alert.html content="Commands have been tested on V6/V7 HW rev on TIM and OF firmware" alert="Note" icon="svg-info" color="blue" %} + +## Changing the ONT's S/N +{% include alert.html content="You have to change S/N and the VID. 2176 is for the VID (first 4 letters of the S/N) and 2177 is for the last 8 digits" alert="Note" icon="svg-info" color="blue" %} +```sh +setmac 1 2176 ZTEG +setmac 1 2177 AABBCCDD +``` + +## Changing the ONT's PLOAM password +{% include alert.html content="The PLOAM password is stored in the ASCII format." alert="Note" icon="svg-info" color="blue" %} +This can be done easily via web ui. If you prefer to do it via the shell use: +```sh +setmac 1 2181 1234567890 +setmac 1 2178 1234567890 +``` + +## Checking connection state +To see the connection state use the following command: +``` +gpontest -gstate +``` +`[gpontest] gpon state is [O5]` for O5 state + +## Querying a particular OMCI ME + +First enable printf on console usin the following command: + +```sh +redir printf +``` + +Then query the OMCI ME Class needed with this command: + +```sh +sendcmd 132 omcidebug showmedata ID_MIB (eg. 131 for OLT type) +``` + +This command will print out the result like this one: + +```sh +################################## +MIB INFO: + ME CLASS: 131 + DB NAME: olt_g, DBHandle: 32 +################################## + +<-----MeID[ 0x0000,0 ], Addr[ 0x19a2b1]-----> + Vendorid:48 57 54 43 + EquipmentID:00 00 00 00 00 00 00 00 00 00 + 00 00 00 00 00 00 00 00 00 00 + Version:31 30 00 00 00 00 00 00 00 00 + 00 00 00 00 + TimeofDay:00 00 00 00 00 00 00 00 00 00 + 00 00 00 00 +--------------------------------------------------------------------- +``` # Random notes - The F601v7 is mounted 'upside down' to save on waveguides, the LEDs would be on the bottom of the PCB, so it would have to be turned upside down to make it cooler... -- The F601v6 turns on and runs even with 9 V input -- F601v7 turns on and runs even with 5 V input +- The F601v6 turns on and runs even with 9V input +- The F601v7 turns on and runs even with 5V input # Miscellaneous Links @@ -78,4 +163,4 @@ parent: ZTE {% include image.html file="f601v9/back.jpg" alt="Bottom of the F601 v9" caption="Bottom of the F601 v9 @mirko991" %} {% include image.html file="f601v9/teardown-1.jpg" alt="Teardown of the F601 v9" caption="Teardown of the F601 v9 @mirko991" %} {% include image.html file="f601v9/teardown-2.jpg" alt="Teardown of the F601 v9" caption="Teardown of the F601 v9 @mirko991" %} -{% include image.html file="f601v9/teardown-3.jpg" alt="Teardown of the F601 v9" caption="Teardown of the F601 v9 @mirko991" %} \ No newline at end of file +{% include image.html file="f601v9/teardown-3.jpg" alt="Teardown of the F601 v9" caption="Teardown of the F601 v9 @mirko991" %} -- cgit v1.2.3