From 18912759d29b22219a654a84012030e3e9df5699 Mon Sep 17 00:00:00 2001 From: Simone <26844016+simonebortolin@users.noreply.github.com> Date: Mon, 16 Jan 2023 21:43:22 +0100 Subject: Create a unique page for Luna SDK 1.9 based ONT and add odi rtk DFP 34G (#107) Co-authored-by: Simone Bortolin --- _ont/ont-technicolor-afm0003.md | 44 +++-------------------------------------- 1 file changed, 3 insertions(+), 41 deletions(-) (limited to '_ont/ont-technicolor-afm0003.md') 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 -- cgit v1.2.3