summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErnesto Castellotti <mail@ernestocastellotti.it>2022-08-24 22:48:09 +0200
committerSimone Bortolin <simonebortolin@users.noreply.github.com>2022-12-19 23:07:55 +0100
commita54b30d311a19e895ac6c2e2390f421e503b56b4 (patch)
treef0270ab0d0a6560b09ecd500ea41cff2c07777c8
parentUpdate ont-huawei-hg8010h.md (diff)
downloadhack-gpon.github.io-a54b30d311a19e895ac6c2e2390f421e503b56b4.tar
hack-gpon.github.io-a54b30d311a19e895ac6c2e2390f421e503b56b4.tar.gz
hack-gpon.github.io-a54b30d311a19e895ac6c2e2390f421e503b56b4.tar.bz2
hack-gpon.github.io-a54b30d311a19e895ac6c2e2390f421e503b56b4.tar.lz
hack-gpon.github.io-a54b30d311a19e895ac6c2e2390f421e503b56b4.tar.xz
hack-gpon.github.io-a54b30d311a19e895ac6c2e2390f421e503b56b4.tar.zst
hack-gpon.github.io-a54b30d311a19e895ac6c2e2390f421e503b56b4.zip
-rw-r--r--_ont/ont-fs-com-gpon-onu-stick-with-mac.md26
1 files changed, 25 insertions, 1 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 98bfe3d..a307a48 100644
--- a/_ont/ont-fs-com-gpon-onu-stick-with-mac.md
+++ b/_ont/ont-fs-com-gpon-onu-stick-with-mac.md
@@ -43,6 +43,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:
@@ -80,7 +93,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,11 +105,22 @@ fw_setenv ipaddr 192.168.20.60
fw_setenv gatewayip 192.168.20.1
```
+## Read all EEPROM
+```sh
+sfp_i2c -r
+```
+
## Setting Onu reboot
```sh
reboot
```
+## Reinitialize the EEPROM without rebooting
+Warning: this will cause you to disconnect from the current ssh session
+```sh
+reload_i2c.sh
+```
+
## List of software versions
## List of partitions