diff options
author | Simone <26844016+simonebortolin@users.noreply.github.com> | 2023-01-16 21:43:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-16 21:43:22 +0100 |
commit | 18912759d29b22219a654a84012030e3e9df5699 (patch) | |
tree | b76b6d06dedba547031de25e707127a77b51f15e /_ont/ont-technicolor-afm0003.md | |
parent | Update ont-leox-lxt-010h-d.md (#109) (diff) | |
download | hack-gpon.github.io-18912759d29b22219a654a84012030e3e9df5699.tar hack-gpon.github.io-18912759d29b22219a654a84012030e3e9df5699.tar.gz hack-gpon.github.io-18912759d29b22219a654a84012030e3e9df5699.tar.bz2 hack-gpon.github.io-18912759d29b22219a654a84012030e3e9df5699.tar.lz hack-gpon.github.io-18912759d29b22219a654a84012030e3e9df5699.tar.xz hack-gpon.github.io-18912759d29b22219a654a84012030e3e9df5699.tar.zst hack-gpon.github.io-18912759d29b22219a654a84012030e3e9df5699.zip |
Diffstat (limited to '_ont/ont-technicolor-afm0003.md')
-rw-r--r-- | _ont/ont-technicolor-afm0003.md | 44 |
1 files changed, 3 insertions, 41 deletions
diff --git a/_ont/ont-technicolor-afm0003.md b/_ont/ont-technicolor-afm0003.md index 64823a7..0e71eec 100644 --- a/_ont/ont-technicolor-afm0003.md +++ b/_ont/ont-technicolor-afm0003.md @@ -28,7 +28,7 @@ alias: Hisense LTE3415-SH+ ## Serial -Configuration: asc0=0 115200 8-N-1 +Configuration: 115200 8-N-1 # Hardware Revisions @@ -67,58 +67,20 @@ This stick supports dual boot. - `/tmp/omcilog` - OMCI messages logs (must be enabeled, see below) ## Useful binaries -- `/etc/scripts/flash` - Used to manipulate the config files in a somewhat safe manner +- `/etc/scripts/flash` - Used to manipulate the config files in a somewhat safe manner - `xmlconfig` - Used for low-level manipulation of the XML config files. Called by `flash` - `nv` - Used to manipulate nvram storage, including persistent config entries via `nv setenv`/`nv getenv` - `omcicli` - Used to interact with the running OMCI daemon - `omci_app` - The OMCI daemon - `diag` - Used to run low-level diagnostics commands on the stick -# Useful Commands - -## Getting/Setting the ONT's S/N -```sh -# /etc/scripts/flash get GPON_SN -GPON_SN=TMBB00000000 -# /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 -``` +{% include_relative luna-sdk-userful-commands.md flash='/etc/scripts/flash' ploam='ascii' %} ## Enabling the Web UI ```sh # /bin/iptables -D INPUT -p tcp --dport 80 -j DROP ``` -## Checking the currently active image -```sh -# nv getenv sw_active -sw_active=1 -# nv getenv sw_version0 -sw_version0=V1_7_8_210412 -# nv getenv sw_version1 -sw_version1=V1_7_8_210412 -``` - -## Booting to a different image -```sh -# nv setenv sw_commit 0|1 -# reboot -``` - -## Querying a particular OMCI ME -```sh -# omcicli mib get MIB_IDX -``` - # Low Level Modding # Known Bugs |