summaryrefslogtreecommitdiffstats
path: root/ont-Nokia-g-010g-q.md
blob: 8140095e0e322c7fb127a62061e7629edb57bf98 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
title: Nokia G-010G-Q
has_children: false
parent: ONT
---

# Hardware Specifications

|                       |                                                                                                                               |
| --------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| Vendor                | Nokia                                                                                                                         |
| Model                 | G-010G-Q                                                                                                                      |
| Alias                 |                                                                                                                               |
| Chipset               | Realtek RTL9601B                                                                                                              |
| Flash                 | Winbond <a href="https://www.winbond.com/resource-files/w25q128jv%20revf%2003272018%20plus.pdf">W25Q128JV</a> 3V 128M-BIT SPI |
| RAM                   | DDR2 325MHz                                                                                                                   |
| System                | Linux (Luna SDK)                                                                                                              |
| HSGMII                | No                                                                                                                            |
| Optics                | SC/APC                                                                                                                        |
| IP address            | 192.168.100.1                                                                                                                 |
| Web Gui (HTTP)        | ✅ Port 80 (⚠️ *only available when the PON connection **IS NOT** 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 versions
# List of partitions

| dev  | size     | erasesize | name     |
| ---- | -------- | --------- | -------- |
| mtd0 | 00080000 | 00010000  | "Boot"   |
| mtd1 | 00180000 | 00010000  | "Config" |
| mtd2 | 00700000 | 00010000  | "ImageA" |
| mtd3 | 00700000 | 00010000  | "ImageB" |

This ont seems to support dual boot (notice partitions "ImageA" and "ImageB"), however this has not been tested. 

# 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 the CH341A programmer in TTL mode) by connecting the converters' pins to the ONT following the pinout shown in the image above

*You don't actually need the two VCC pins, just use TX/RX and GND*

{% include warning.html content="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 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>
```
Here you'll have to type `enable` and then `login`, unfortunately there is no default username and password

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` and finally `shell`

To exit the shell and reach the parent menu type `exit` or `x`, in each menu the `help` command will show how to use the shell

# List of firmwares and files

# Known Bugs

# Miscellaneous Links
- <a href="https://github.com/nanomad/nokia-ont-mib-parser">MIB file parser</a> for NOKIA's GPON ONTs (*helps you parsing the .mib file located in `/mnt/rwdir`*)