From 27326a282517f2fe586e99fd6044dfcab0c0a80c Mon Sep 17 00:00:00 2001 From: Ernesto Castellotti Date: Fri, 25 Nov 2022 19:52:38 +0100 Subject: Fix FS stick examples (#41) * Fix FS stick examples * Fix sed command * Fix image1 name --- _ont/ont-fs-com-gpon-onu-stick-with-mac.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '_ont') 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 /' /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 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 -fw_setenv image1_version +fw_setenv image0_version YOUR_IMAGE0_VERSION +fw_setenv image1_version YOUR_IMAGE1_VERSION ``` -- cgit v1.2.3