From 85094e79182905b1de215c6cbb95fee38c122a50 Mon Sep 17 00:00:00 2001 From: Simone <26844016+simonebortolin@users.noreply.github.com> Date: Mon, 13 Nov 2023 09:16:44 +0000 Subject: fix f6005 ont password bug --- _ont/ont-nokia-g-010g-q.md | 2 +- _ont/ont-nokia-g-010g-r.md | 2 +- _ont/ont-nokia-g-010g-t.md | 2 +- _ont/ont-nokia-use.md | 7 +++++-- _ont/ont-zte-f6005.md | 12 +----------- 5 files changed, 9 insertions(+), 16 deletions(-) (limited to '_ont') diff --git a/_ont/ont-nokia-g-010g-q.md b/_ont/ont-nokia-g-010g-q.md index f3c8cc3..a393da7 100644 --- a/_ont/ont-nokia-g-010g-q.md +++ b/_ont/ont-nokia-g-010g-q.md @@ -69,7 +69,7 @@ A shell-like prompt will be visible: ONT> ``` -{% include_relative ont-nokia-use.md %} +{% include_relative ont-nokia-use.md username="ONTUSER" %} {% include_relative ont-nokia-useful-command.md %} diff --git a/_ont/ont-nokia-g-010g-r.md b/_ont/ont-nokia-g-010g-r.md index 5705855..e2d65d5 100644 --- a/_ont/ont-nokia-g-010g-r.md +++ b/_ont/ont-nokia-g-010g-r.md @@ -46,7 +46,7 @@ parent: Nokia The ONT has a TTL 3.3v UART console (configured as 115200 8-N-1) that can be accessed from the top surface. To accept TX line commands, the GND of the TTL adapter should be attached to the ONT’s shield like the below photo: {% include image.html file="g-010g-r_serial_pinouts.jpg" alt="Nokia G-010G-R Ports" caption="Nokia G-010G-R Ports" %} -{% include_relative ont-nokia-use.md %} +{% include_relative ont-nokia-use.md username="ONTUSER" %} {% include_relative ont-nokia-useful-command.md %} diff --git a/_ont/ont-nokia-g-010g-t.md b/_ont/ont-nokia-g-010g-t.md index 640aea4..d70ce30 100644 --- a/_ont/ont-nokia-g-010g-t.md +++ b/_ont/ont-nokia-g-010g-t.md @@ -55,7 +55,7 @@ The ONT has a TTL 3.3v UART console (configured as 115200 8-N-1) that can be acc {% include alert.html content="Some USB TTL adapters label TX and RX pins the other way around: try to swap them if the connection doesn't work." alert="Note" icon="svg-warning" color="yellow" %} -{% include_relative ont-nokia-use.md %} +{% include_relative ont-nokia-use.md username="ONTUSER" %} {% include_relative ont-nokia-useful-command.md %} diff --git a/_ont/ont-nokia-use.md b/_ont/ont-nokia-use.md index c4f0847..d78c00f 100644 --- a/_ont/ont-nokia-use.md +++ b/_ont/ont-nokia-use.md @@ -1,19 +1,22 @@ # Usage ## Login and enable +{% if include.alertEnablePassword %} +{% include alert.html content=include.alertEnablePassword alert="Note" icon="svg-info" color="blue" %} +{% endif %} Once you're logged in, a custom menu will be shown and you'll be able to access the linux shell by first typing `system` followed by `shell`: ```sh ONT>enable #ONT>login -User name:ONTUSER +User name:{{include.username}} Password: **** ``` The enable password can be generated using the following form: -{% include cig_password.html username="ONTUSER" %} +{% include cig_password.html username=include.username %} # Accessing Full Shell diff --git a/_ont/ont-zte-f6005.md b/_ont/ont-zte-f6005.md index 4ea3f1e..5dad78c 100644 --- a/_ont/ont-zte-f6005.md +++ b/_ont/ont-zte-f6005.md @@ -45,20 +45,10 @@ The ONT has a TTL 3.3v UART console (configured as 115200 8-N-1) that can be acc - V6.0.10P2N18 (OpenFiber) - V6.0.10P2N19 (OpenFiber) -# Usage - -{% include_relative ont-nokia-use.md %} +{% include_relative ont-nokia-use.md username="ont" alertEnablePassword="The following enable password is used to enter GponCLI over a serial connection. The models currently distributed in Italy by TIM and OpenFiber have no way to enter GponCLI via serial, only via telnet after flashing a custom firmware. The enable password is not useful for accessing the Web Gui." %} {% include_relative ont-nokia-useful-command.md %} -## Enable password - -{% include alert.html content="The following enable password is used to enter GponCLI over a serial connection. The models currently distributed in Italy by TIM and OpenFiber have no way to enter GponCLI via serial, only via telnet after flashing a custom firmware. The enable password is not useful for accessing the Web Gui." alert="Note" icon="svg-info" color="blue" %} - -You can use this tool to generate the enable password: - -{% include cig_password.html username="ont" %} - # Advanced settings ## Unlock serial and TELNET -- cgit v1.2.3