summaryrefslogtreecommitdiffstats
path: root/_ont/ont-fs-com-gpon-onu-stick-with-mac.md
diff options
context:
space:
mode:
authorErnesto Castellotti <mail@ernestocastellotti.it>2023-02-10 16:36:08 +0100
committerGitHub <noreply@github.com>2023-02-10 16:36:08 +0100
commitf68fb6b8c362e513f78c7cc2fe058441f23a542c (patch)
treee0e3e243a463997cfff49a677adfffd0fe909173 /_ont/ont-fs-com-gpon-onu-stick-with-mac.md
parentFix DIGITUS media converter aliases (#144) (diff)
downloadhack-gpon.github.io-f68fb6b8c362e513f78c7cc2fe058441f23a542c.tar
hack-gpon.github.io-f68fb6b8c362e513f78c7cc2fe058441f23a542c.tar.gz
hack-gpon.github.io-f68fb6b8c362e513f78c7cc2fe058441f23a542c.tar.bz2
hack-gpon.github.io-f68fb6b8c362e513f78c7cc2fe058441f23a542c.tar.lz
hack-gpon.github.io-f68fb6b8c362e513f78c7cc2fe058441f23a542c.tar.xz
hack-gpon.github.io-f68fb6b8c362e513f78c7cc2fe058441f23a542c.tar.zst
hack-gpon.github.io-f68fb6b8c362e513f78c7cc2fe058441f23a542c.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.md8
1 files changed, 6 insertions, 2 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 2c7a116..254ecd5 100644
--- a/_ont/ont-fs-com-gpon-onu-stick-with-mac.md
+++ b/_ont/ont-fs-com-gpon-onu-stick-with-mac.md
@@ -150,8 +150,12 @@ sfp_i2c -i7 -s "YOUR_VENDOR_ID"
## Changing 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/' -i /etc/mibs/data_1g_8q.ini
+sed 's/256 0 HWTC 0000000000000/256 0 YOUR_VENDOR_ID YOUR_ONU_VERSION/' /rom/etc/mibs/data_1g_8q.ini > /etc/mibs/data_1g_8q.ini
+```
+
+## Restore the default ONU hardware version (ME 256)
+```sh
+cat /rom/etc/mibs/data_1g_8q.ini > /etc/mibs/data_1g_8q.ini
```
## Enabling `data_1g_8q_us1280_ds512.ini` OMCI MIB file for 2500 Mbps profiles