summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiammarco <stich86@gmail.com>2023-04-24 21:15:40 +0200
committerGitHub <noreply@github.com>2023-04-24 21:15:40 +0200
commite0fd98e41f64af5b8e2f4980bdd1fa3543151e68 (patch)
tree710331aa493c3dc30617cb8fdbf2d9d489667121
parentRefactor ONT page (#171) (diff)
downloadhack-gpon.github.io-e0fd98e41f64af5b8e2f4980bdd1fa3543151e68.tar
hack-gpon.github.io-e0fd98e41f64af5b8e2f4980bdd1fa3543151e68.tar.gz
hack-gpon.github.io-e0fd98e41f64af5b8e2f4980bdd1fa3543151e68.tar.bz2
hack-gpon.github.io-e0fd98e41f64af5b8e2f4980bdd1fa3543151e68.tar.lz
hack-gpon.github.io-e0fd98e41f64af5b8e2f4980bdd1fa3543151e68.tar.xz
hack-gpon.github.io-e0fd98e41f64af5b8e2f4980bdd1fa3543151e68.tar.zst
hack-gpon.github.io-e0fd98e41f64af5b8e2f4980bdd1fa3543151e68.zip
Diffstat (limited to '')
-rw-r--r--_ont/ont-zte-f601.md105
1 files changed, 95 insertions, 10 deletions
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 <a href='https://forum.fibra.click/u/mirko991'>@mirko991</a>" %}
## 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 <a href='https://forum.fibra.click/u/mirko991'>@mirko991</a>" %}
{% include image.html file="f601v9/teardown-1.jpg" alt="Teardown of the F601 v9" caption="Teardown of the F601 v9 <a href='https://forum.fibra.click/u/mirko991'>@mirko991</a>" %}
{% include image.html file="f601v9/teardown-2.jpg" alt="Teardown of the F601 v9" caption="Teardown of the F601 v9 <a href='https://forum.fibra.click/u/mirko991'>@mirko991</a>" %}
-{% include image.html file="f601v9/teardown-3.jpg" alt="Teardown of the F601 v9" caption="Teardown of the F601 v9 <a href='https://forum.fibra.click/u/mirko991'>@mirko991</a>" %} \ 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 <a href='https://forum.fibra.click/u/mirko991'>@mirko991</a>" %}