summaryrefslogtreecommitdiffstats
path: root/_ont/ont-leox-userful-command.md
diff options
context:
space:
mode:
authorSimone <26844016+simonebortolin@users.noreply.github.com>2023-01-17 12:49:45 +0100
committerGitHub <noreply@github.com>2023-01-17 12:49:45 +0100
commit0042ba50d3161dd81fca2a6d39cc19b29a691cc7 (patch)
tree2887c41ea096a0bb50615ee92d2751af68786ae4 /_ont/ont-leox-userful-command.md
parentGeneral refactor of Hardware Specifications, Serial and heading - ZTE, ZIZA, Zyxel (#116) (diff)
downloadhack-gpon.github.io-0042ba50d3161dd81fca2a6d39cc19b29a691cc7.tar
hack-gpon.github.io-0042ba50d3161dd81fca2a6d39cc19b29a691cc7.tar.gz
hack-gpon.github.io-0042ba50d3161dd81fca2a6d39cc19b29a691cc7.tar.bz2
hack-gpon.github.io-0042ba50d3161dd81fca2a6d39cc19b29a691cc7.tar.lz
hack-gpon.github.io-0042ba50d3161dd81fca2a6d39cc19b29a691cc7.tar.xz
hack-gpon.github.io-0042ba50d3161dd81fca2a6d39cc19b29a691cc7.tar.zst
hack-gpon.github.io-0042ba50d3161dd81fca2a6d39cc19b29a691cc7.zip
Diffstat (limited to '')
-rw-r--r--_ont/ont-leox-userful-command.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/_ont/ont-leox-userful-command.md b/_ont/ont-leox-userful-command.md
new file mode 100644
index 0000000..1900b23
--- /dev/null
+++ b/_ont/ont-leox-userful-command.md
@@ -0,0 +1,25 @@
+# General Settings and Useful Commands
+
+## Change IP address
+```sh
+# /etc/scripts/flash get LAN_IP_ADDR
+LAN_IP_ADDR=192.168.2.1
+# /etc/scripts/flash set LAN_IP_ADDR 192.168.1.1
+ ```
+
+## Getting/Setting the ONT's S/N
+```sh
+# /etc/scripts/flash get GPON_SN
+GPON_SN=LEOX00000000
+# /etc/scripts/flash set GPON_SN TMBB0A1B2C3D
+```
+
+## Getting/Setting the ONT's PLOAM password
+
+{% include alert.html content="The PLOAM password is stored in ASCII format" alert="Info" icon="svg-info" color="blue" %}
+
+```sh
+# /etc/scripts/flash get GPON_PLOAM_PASSWD
+GPON_PLOAM_PASSWD=AAAAAAAAAA
+# /etc/scripts/flash set GPON_PLOAM_PASSWD AAAAAAAAAA
+``` \ No newline at end of file