summaryrefslogtreecommitdiffstats
path: root/_ont/ont-leox-lxt-010s-h.md
blob: 5b4467b73d546e52132fcd6b8d8c3a5fc32171ac (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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
---
title: Leox LXT-010S-H
has_children: false
layout: default
parent: Leox
---

# Hardware Specifications

|             |                                      |
| ----------- | ------------------------------------ |
| Vendor      | Leox                                 |
| Model       | LXT-010S-H                           |
| Chipset     | RTL9601CI                            |
| Flash       | 128MB                                |
| RAM         | 32MB                                 |
| System      | Linux 3.18 (Luna SDK 3.3)             |
| HSGMII      | ✅                                   |
| Optics      | SC/UPC                               |
| IP address  | 192.168.100.1/24                     |
| Web Gui     | ✅                                   |
| Telnet      | ✅ user `leox`, password `leolabs_7` |
| Form Factor | miniONT SFP                          |


## List of software versions
## List of partitions

| dev   | size     | erasesize | name            |
| ----- | -------- | --------- | --------------- |
| mtd0  | 00040000 | 00001000  | "boot"          |
| mtd1  | 00002000 | 00001000  | "env"           |
| mtd2  | 00002000 | 00001000  | "env2"          |
| mtd3  | 0003c000 | 00001000  | "config"        |
| mtd4  | 00300000 | 00001000  | "k0"            |
| mtd5  | 004c0000 | 00001000  | "r0"            |
| mtd6  | 00300000 | 00001000  | "k1"            |
| mtd7  | 004c0000 | 00001000  | "r1"            |
| mtd8  | 00001000 | 00001000  | "Partition_008" |
| mtd9  | 00001000 | 00001000  | "Partition_009" |
| mtd10 | 00001000 | 00001000  | "Partition_010" |
| mtd11 | 00001000 | 00001000  | "Partition_011" |
| mtd12 | 00300000 | 00001000  | "linux"         |
| mtd13 | 004c0000 | 00001000  | "rootfs"        |

This stick supports dual boot. 

`k0` and `r0` respectively contain the kernel and firmware of the first image, while `k1` and `r1` respectively contain the kernel and the firmware of the second one.

## Serial Console


The stick 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 stick's shield:

{% include image.html file="ont-leox-lxt-010s-h_ttl.jpg" alt="Leox LXT-010S-H TTL Pinout" caption="Leox LXT-010S-H TTL Pinout" %}

## List firmware version

{% include alert.html content="There is a new firmware avaliable from LeoLabs that fixes the 2.5GbE" alert="Note" icon="svg-info" color="blue" %}

- V3.3.4L3
- V3.3.4L4rc1 (Fix 2.5GbE HiSGMII)

# Useful Commands

## Change IP address
```sh
# /etc/scripts/flash get LAN_IP_ADDR
LAN_IP_ADDR=192.168.2.1
# /etc/scripts/flash set LAN_IP_ADDR 192.168.1.1
 ```

## Getting/Setting the ONT's S/N
```sh
# /etc/scripts/flash get GPON_SN
GPON_SN=LEOX00000000
# /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
```

## LAN SDS Mode (with firmware V3.3.4L4rc1):

|       mode           |             description              |
| -------------------- | ------------------------------------ |
| LAN_SDS_MODE = 1     | 1GbE with auto-neg on                |
| LAN_SDS_MODE = 7     | 1GbE with auto-neg off               |
| LAN_SDS_MODE = 8     | 2.5GbE with auto-neg off             |

If you try to use any mode not listed here, stick will default to mode 1.

To change the link mode use this command:

```sh
# /etc/scripts/flash get LAN_SDS_MODE
LAN_SDS_MODE=1
# /etc/scripts/flash set LAN_SDS_MODE 1
```

# Known Bugs

The stock firmware doesn't work @ 2.5GbE. There is a new firmware avaliable from LeoLabs that fixes this issue.


# Miscellaneous Links