summaryrefslogtreecommitdiffstats
path: root/_ont/ont-fs-com-gpon-onu-stick-with-mac.md
diff options
context:
space:
mode:
authorSimone Bortolin <simonebortolin@users.noreply.github.com>2022-08-25 11:23:43 +0200
committerSimone Bortolin <simonebortolin@users.noreply.github.com>2022-12-19 23:08:11 +0100
commit9a74cb70d381d726bb96f4f5c6f823a4ed48e7a8 (patch)
tree67c592578680a2ffc9a7c2c795dc3572dc1d4006 /_ont/ont-fs-com-gpon-onu-stick-with-mac.md
parentsome update and fix (diff)
parentAdd cpu info for ONT FS.com GPON ONU Stick with MAC (diff)
downloadhack-gpon.github.io-9a74cb70d381d726bb96f4f5c6f823a4ed48e7a8.tar
hack-gpon.github.io-9a74cb70d381d726bb96f4f5c6f823a4ed48e7a8.tar.gz
hack-gpon.github.io-9a74cb70d381d726bb96f4f5c6f823a4ed48e7a8.tar.bz2
hack-gpon.github.io-9a74cb70d381d726bb96f4f5c6f823a4ed48e7a8.tar.lz
hack-gpon.github.io-9a74cb70d381d726bb96f4f5c6f823a4ed48e7a8.tar.xz
hack-gpon.github.io-9a74cb70d381d726bb96f4f5c6f823a4ed48e7a8.tar.zst
hack-gpon.github.io-9a74cb70d381d726bb96f4f5c6f823a4ed48e7a8.zip
Diffstat (limited to '_ont/ont-fs-com-gpon-onu-stick-with-mac.md')
-rw-r--r--_ont/ont-fs-com-gpon-onu-stick-with-mac.md91
1 files changed, 84 insertions, 7 deletions
diff --git a/_ont/ont-fs-com-gpon-onu-stick-with-mac.md b/_ont/ont-fs-com-gpon-onu-stick-with-mac.md
index 2292c59..c45c121 100644
--- a/_ont/ont-fs-com-gpon-onu-stick-with-mac.md
+++ b/_ont/ont-fs-com-gpon-onu-stick-with-mac.md
@@ -12,16 +12,22 @@ layout: default
| Vendor | SourcePhotonics |
| Model | SPS-34-24T-HP-TDFO |
| Chipset | Lantiq PEB98035 |
+| CPU | MIPS 34Kc interAptiv |
+| CPU Clock | 400MHz |
| Flash | 16 MB |
| RAM | 64 MB |
-| System | OpenWRT |
+| Bootloader | U-Boot 2011.12-lantiq-gpon-1.2.24 |
+| System | OpenWRT 14.07_ltq (Kernel 3.10.49) |
| HSGMII | Yes |
| Optics | SC/APC |
| IP address | 192.168.1.10 |
| Web Gui | |
-| SSH | ✅ user `ONTUSER`, password `7sp!lwUBz1` |
+| SSH | ✅ user `ONTUSER`, password `7sp!lwUBz1` |
| Form Factor | miniONT SFP |
+{% include image.html file="ont-fs.jpg" alt="ONT FS.com GPON ONU" caption="ONT FS.com GPON ONU" %}
+{% include image.html file="ont-fs-box.jpg" alt="ONT FS.com GPON ONU in the box" caption="ONT FS.com GPON ONU in the box" %}
+
## Possible clones
- SourcePhotonics SPS-34-24T-HP-TDFO
@@ -30,8 +36,7 @@ layout: default
- [Huawei MA5671A](/ont-huawei-ma5671a)
- [Nokia G-010S-P](/ont-nokia-g-010s-p)
-- [ONT FS.com GPON ONU Stick with MAC / SourcePhotonics SPS-34-24T-HP-TDFO](/ont-SourcePhotonics-SPS-34-24T-HP-TDFO)
-- [Hilink HL23446](/ont-Hilink-HL23446)
+- [Hilink HL23446](/ont-hilink-hl23446)
- {:.text-red-200 } Dasan H650SFP
- {:.text-red-200 } DpOptics D23446
- {:.text-red-200 } Photonics SPS-34-24T-HP-TDFO
@@ -43,6 +48,19 @@ layout: default
```sh
set_serial_number ABCD12345678
```
+Or:
+```sh
+sfp_i2c -i8 -s "ABCD12345678"
+```
+
+## Obtain S/N setted
+```sh
+fw_printenv | grep nSerial
+```
+Or:
+```sh
+sfp_i2c -g
+```
## Setting PLOAM Password
Software 6BA1896SPLQA41 and before (See [Carlito Firmware](/ont-huawei-ma5671a-carlito))
@@ -50,7 +68,7 @@ Software 6BA1896SPLQA41 and before (See [Carlito Firmware](/ont-huawei-ma5671a-c
fw_setenv nPassword "0x30 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39"
```
-Software 6BA1896SPLQA41 and after:
+Software 6BA1896SPLQA42 and after:
```sh
sfp_i2c -i11 -s "0x30 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39"
```
@@ -62,7 +80,7 @@ fw_setenv omci_loid 1234567890
fw_setenv omci_lpwd password01
```
-Software 6BA1896SPLQA41 and after:
+Software 6BA1896SPLQA42 and after:
```sh
sfp_i2c -i9 -s "1234567890"
sfp_i2c -i10 -s "password01"
@@ -80,7 +98,7 @@ sfp_i2c -i7 -s "SPGA"
## Setting Lantiq MAC address
```sh
-uci set network.Ict.macaddr=00:06:B5:07:D6:04
+uci set network.lct.macaddr=00:06:B5:07:D6:04
uci set network.host.macaddr=00:06:B5:07:D8:04
uci commit network.lct.macaddr=00:06:B5:07:D6:04
uci commit network.host.macaddr=00:06:B5:07:D8:04
@@ -92,15 +110,74 @@ fw_setenv ipaddr 192.168.20.60
fw_setenv gatewayip 192.168.20.1
```
+## Read all EEPROM
+```sh
+sfp_i2c -r
+```
+
+## Get Firmware version
+```sh
+strings /opt/lantiq/bin/omcid | grep ^software_Version | awk -F[=,] '{print $2}'
+```
+
+## Get Firmware build time
+```sh
+strings /opt/lantiq/bin/omcid | grep compiled
+```
+
## Setting Onu reboot
```sh
reboot
```
+## Reinitialize the EEPROM without rebooting
+{% include alert.html content="This will cause you to disconnect from the current ssh session." alert="Warning" icon="svg-warning" color="yellow" %}
+```sh
+reload_i2c.sh
+```
+
+## Reset EEPROM to default values and reinitialize
+{% include alert.html content="This command is not reversible, all the EEPROM data will be restored to the factory values!" alert="Warning" icon="svg-warning" color="red" %}
+{% include alert.html content="This will cause you to disconnect from the current ssh session." alert="Warning" icon="svg-warning" color="yellow" %}
+```sh
+sfp_i2c -d yes
+reload_i2c.sh
+```
## List of software versions
+- 6BA1896SPLQA13 (Dec 16 2016)
+- 6BA1896SPLQA41
+- 6BA1896SPLQA42 (Sep 18 2021)
+
## List of partitions
+When image0 is committed:
+
+| dev | size | erasesize | name |
+| ---- | -------- | --------- | ------------- |
+| mtd0 | 00040000 | 00010000 | "uboot" |
+| mtd1 | 00080000 | 00010000 | "uboot_env" |
+| mtd2 | 00740000 | 00010000 | "linux" |
+| mtd3 | 0061eedc | 00010000 | "rootfs" |
+| mtd4 | 00370000 | 00010000 | "rootfs_data" |
+| mtd5 | 00800000 | 00010000 | "image1" |
+
+When image1 is committed:
+
+| dev | size | erasesize | name |
+| ---- | -------- | --------- | ------------- |
+| mtd0 | 00040000 | 00010000 | "uboot" |
+| mtd1 | 00080000 | 00010000 | "uboot_env" |
+| mtd2 | 00740000 | 00010000 | "image0" |
+| mtd3 | 00800000 | 00010000 | "linux" |
+| mtd4 | 006d8077 | 00010000 | "rootfs" |
+| mtd5 | 00410000 | 00010000 | "rootfs_data" |
+
## List of firmwares and files
+- [6BA1896SPLQA13 MTD0/U-Boot](https://mega.nz/file/wptjyYiS#Xj3cijX2bN0FexsZr1Wn7iRG0Wy4Z8vX0NyNBd1kBWo){: .btn } md5hash: 992b31a67c644aa68cf7f9caf956b1f9
+- [6BA1896SPLQA13 MTD2/Image0](https://mega.nz/file/1kUlUbgQ#ANS9qH6wCggYshsQ3STD6gxmR_3TL-5MXfdCl5s50Nk){: .btn } md5hash: 5d46a9acc3c5ba8710887aa32b82aeb4
+- [6BA1896SPLQA42 MTD0/U-Boot](https://mega.nz/file/FkswHbgL#s7-vaH65EPQ2O5vKeD3bU1_RPwzaKPOJdrCWvPQqDvc){: .btn } md5hash: 992b31a67c644aa68cf7f9caf956b1f9
+- [6BA1896SPLQA42 MTD2/Image0](https://mega.nz/file/NoUnHJaC#u7P4sousHoMjZn7ruK6BSaIcV5T0yBj8xTGa0rDmm_E){: .btn } md5hash: 914b789fbf7bd4e157c7737d9be4cb5f
+
# Known Bugs
# Miscellaneous Links