summaryrefslogtreecommitdiffstats
path: root/_ont
diff options
context:
space:
mode:
authorErnesto Castellotti <mail@ernestocastellotti.it>2022-11-25 19:52:38 +0100
committerSimone Bortolin <simonebortolin@users.noreply.github.com>2022-12-19 23:09:24 +0100
commit27326a282517f2fe586e99fd6044dfcab0c0a80c (patch)
tree938ff40e678c61e1dafd78fa505bbdbad710876d /_ont
parentAdd guide to change onu version and image software version for FS stick (#40) (diff)
downloadhack-gpon.github.io-27326a282517f2fe586e99fd6044dfcab0c0a80c.tar
hack-gpon.github.io-27326a282517f2fe586e99fd6044dfcab0c0a80c.tar.gz
hack-gpon.github.io-27326a282517f2fe586e99fd6044dfcab0c0a80c.tar.bz2
hack-gpon.github.io-27326a282517f2fe586e99fd6044dfcab0c0a80c.tar.lz
hack-gpon.github.io-27326a282517f2fe586e99fd6044dfcab0c0a80c.tar.xz
hack-gpon.github.io-27326a282517f2fe586e99fd6044dfcab0c0a80c.tar.zst
hack-gpon.github.io-27326a282517f2fe586e99fd6044dfcab0c0a80c.zip
Diffstat (limited to '_ont')
-rw-r--r--_ont/ont-fs-com-gpon-onu-stick-with-mac.md10
1 files changed, 5 insertions, 5 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 7a60f1f..e18ff01 100644
--- a/_ont/ont-fs-com-gpon-onu-stick-with-mac.md
+++ b/_ont/ont-fs-com-gpon-onu-stick-with-mac.md
@@ -98,18 +98,18 @@ sfp_i2c -i10 -s "password01"
## Setting eqipment id (ME 257)
```sh
-sfp_i2c -i6 -s "22133912P"
+sfp_i2c -i6 -s "YOUR_EQUIPMENT_ID"
```
## Setting vendor id (ME 256)
```sh
-sfp_i2c -i7 -s "SPGA"
+sfp_i2c -i7 -s "YOUR_VENDOR_ID"
```
## Change ONU hardware version (ME 256)
```sh
cp /etc/mibs/data_1g_8q.ini /etc/mibs/data_1g_8q.ini.bak
-sed 's/256 0 HWTC 0000000000000/256 0 <your_vendor_id> <your_onu_version>/' /etc/mibs/data_1g_8q.ini
+sed 's/256 0 HWTC 0000000000000/256 0 YOUR_VENDOR_ID YOUR_ONU_VERSION/' -i /etc/mibs/data_1g_8q.ini
```
## Change image software version (ME 7)
@@ -142,8 +142,8 @@ bspatch <your_original_omcid> omcid omcid.bspath
Now you have to copy via SCP the modified `omcid` binary in the `/opt/lantiq/bin/omcid` path, restart the stick and after that you can change the image version with the command:
```
-fw_setenv image0_version <your_image0_version>
-fw_setenv image1_version <your_image1_version>
+fw_setenv image0_version YOUR_IMAGE0_VERSION
+fw_setenv image1_version YOUR_IMAGE1_VERSION
```