From 8cb400f5436136af4c1b92af1f31584199d45cce Mon Sep 17 00:00:00 2001 From: arianaglande Date: Sun, 7 Aug 2022 20:07:28 +0200 Subject: Add files via upload Update ont-Nokia-g-010g-q.md Update ont-Nokia-g-010g-q.md Update ont-Nokia-g-010g-q.md --- assets/img/g-010g-q-serial-pinout.png | Bin 0 -> 9744335 bytes assets/img/g-010g-q-serial-voltage-divider.png | Bin 0 -> 11573 bytes ont-Nokia-g-010g-q.md | 60 +++++++++++++++++++------ 3 files changed, 47 insertions(+), 13 deletions(-) create mode 100644 assets/img/g-010g-q-serial-pinout.png create mode 100644 assets/img/g-010g-q-serial-voltage-divider.png diff --git a/assets/img/g-010g-q-serial-pinout.png b/assets/img/g-010g-q-serial-pinout.png new file mode 100644 index 0000000..97570ad Binary files /dev/null and b/assets/img/g-010g-q-serial-pinout.png differ diff --git a/assets/img/g-010g-q-serial-voltage-divider.png b/assets/img/g-010g-q-serial-voltage-divider.png new file mode 100644 index 0000000..6c7c159 Binary files /dev/null and b/assets/img/g-010g-q-serial-voltage-divider.png differ diff --git a/ont-Nokia-g-010g-q.md b/ont-Nokia-g-010g-q.md index fc08bf3..5ad00b6 100644 --- a/ont-Nokia-g-010g-q.md +++ b/ont-Nokia-g-010g-q.md @@ -11,27 +11,61 @@ parent: ONT | Vendor | Nokia | | Model | G-010G-Q | | Alias | | -| Chipset | Realtek | -| Flash | | -| RAM | | -| System | | +| Chipset | Realtek RTL9601B | +| Flash | Winbond W25Q128JV 3V 128M-BIT SPI | +| RAM | DDR2 325MHz | +| System | Linux (Luna SDK) | | HSGMII | No | | Optics | SC/APC | -| IP address | | -| Web Gui | ✅ | +| IP address | 192.168.100.1 | +| Web Gui (HTTP) | ✅ Port 80 (⚠️ *only available when the PON connection **ISN'T** estabilished*) | +| Web Gui (HTTPS) | ✅ Port 443 **NO SSL SUPPORT** | +| Web Gui Default Login | user `admin` password `1234` | | SSH | | | Form Factor | ONT | +# Hardware revisions + {% include image.html file="g-010g-q.jpg" alt="G-010G-Q " caption="G-010G-Q: ventilation grid version" %} + {% include image.html file="g-010g-q.png" alt="G-010G-Q " caption="G-010G-Q: square version with relief circle" %} +# List of software version +# List of partition -## Hardware revision -- ventilation grid version -- square version with relief circle +| dev | size | erasesize | name | +| ----- | -------- | --------- | --------------- | +| mtd0 | 00080000 | 00010000 | "Boot" | +| mtd1 | 00180000 | 00010000 | "Config" | +| mtd2 | 00700000 | 00010000 | "ImageA" | +| mtd3 | 00700000 | 00010000 | "ImageB" | -## List of software version -## List of partition -## List of firmware and files -# Miscellaneous Links +This ont seems to be supporting dual boot (notice partitions "ImageA" and "ImageB"), however we haven't tested it out. + +# Setting up the serial interface +{% include image.html file="g-010g-q-serial-pinout.png" alt="G-010G-Q " caption="G-010G-Q: serial pinout" %} +You can easily communicate with the ONT using a TTL converter (for example i've used the CH341A programmer in TTL mode) by connecting the converters' pins to the ONT ones accordingly to the pinout shown in the image above + +*You don't actually need the two VCC pins, just use TX/RX and GND* + +⚠️ **The ONT's serial logic is 3V3**: Make sure the logic of your TTL converter is 3V3 too otherwise you might damage the ONT, in my case i wasn't sure the CH341A had a 3V3 logic for the TTL part so i've set up a voltage divider made of 2 resistors between the TX pin and ground as shown in the image below + +*Also make sure that your TTL converter RX pin voltage threshold is less than (or equal to) 3V3* +{% include image.html file="g-010g-q-serial-voltage-divider.png" alt="G-010G-Q " caption="G-010G-Q: simple serial level converter" %} + +Once you've done all that, you can use the TTY client you wish, such as PuTTY, set its baud rate to 115200 and open the connection, then you can start the ONT + +You'll see a shell like prompt: +``` +ONT> +``` +there you'll have to type `enable` and then `login`, unluckily there's no default user/password + +Once you've logged in you will be shown a custom menu, and you'll be able to access the linux shell by first typing `system` and finally `shell` + +You can then exit the shell to reach the parent menu by typing `exit` or `x`, and you can get help for each menu with the `help` command + +# List of firmware and files +# Miscellaneous Links +- MIB file parser for NOKIA's GPON ONTs (*helps you parsing the .mib file located in `/mnt/rwdir`*) -- cgit v1.2.3