Update Setup_Stick.md

This commit is contained in:
Anime4000 2022-02-22 00:45:25 +08:00 committed by GitHub
parent f5650902f4
commit b9ca733615
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 81 additions and 83 deletions

View File

@ -1,6 +1,8 @@
# Setup # Setup
In this guide, how to setup your **SFP XPON ONU Stick** based on your existing ONU and get Authenticated! In this guide, how to setup your **SFP XPON ONU Stick** based on your existing ONU and get Authenticated!
Using Huawei ONU `HG8240H` device information for this setup example
# Default Password # Default Password
| Model | Username | Password | | Model | Username | Password |
|-------|----------|----------| |-------|----------|----------|
@ -9,48 +11,35 @@ In this guide, how to setup your **SFP XPON ONU Stick** based on your existing O
| UF-Instant | `ubnt` | `ubnt` | | UF-Instant | `ubnt` | `ubnt` |
| V2801F | `admin` | `stdONU101` | | V2801F | `admin` | `stdONU101` |
# Know your fiber # OLT & O5
* Some fiber vendor provide **"Universal** 1-port or 4-port or All in One ONU * OLT might have some **restriction** which device that can be used on their fiber network.
* Some fiber limit **"verified"** ONU * OLT need to know which device are you using before sending proper OMCI even you have `O5`
* Some fiber doesn't care `PLOAM Password` or `MAC Address` or both * OLT can provision specific ONU LAN Port, hance OLT need to know which device.
* Your `PLOAM Password`
* Your `MAC Address`
# Prepair Information Here ranking from most important to least
* Authentication
* PLOAM / LOID
* MAC Address <sub><sup>[*V2801F](#v2801f)</sup></sub>
* Serial Number
* OMCI Device Info
* Device Model
* Software Version
* Hardware Version <sub><sup>[*V2801F](#v2801f)</sup></sub>
* Manufacture Info
It's best to clone ONU information via telnet or webgui config (backup, edit, restore)
# Get Information
You need to login into your old ONU, most ONU will have information page where you can get: You need to login into your old ONU, most ONU will have information page where you can get:
| Information | Flash Set Value | | Information | Flash Set Value |
|-------------|-----------------| |-------------|-----------------|
| MAC Address | `ELAN_MAC_ADDR` <sub><sup>V2801F</sup></sub> | | MAC Address | `ELAN_MAC_ADDR` <sub><sup>[*V2801F](#v2801f)</sup></sub> |
| Hardware Version | `HW_HWVER` <sub><sup>V2801F</sup></sub> | | Hardware Version | `HW_HWVER` <sub><sup>[*V2801F](#v2801f)</sup></sub> |
| Software Version | `OMCI_SW_VER1`, `OMCI_SW_VER2`, `CUSTOM_OMCI_SW_VER1`, `CUSTOM_OMCI_SW_VER2` | | Software Version | `OMCI_SW_VER1`, `OMCI_SW_VER2`, `CUSTOM_OMCI_SW_VER1`, `CUSTOM_OMCI_SW_VER2` |
| Serial Number | `GPON_SN` | | Serial Number | `GPON_SN` |
| Manufacture Info | `PON_VENDOR_ID` | | Manufacture Info | `PON_VENDOR_ID` |
| Device Model | `GPON_ONU_MODEL` | | Device Model | `GPON_ONU_MODEL` |
# V2801F
When changing `ELAN_MAC_ADDR` and/or `HW_HWVER`, you are required to update `VS_AUTH_KEY` by using `VsAuthKeyGen.exe` in command prompt.
## Syntax:
```
VsAuthKeyGen.exe <mac_address> [HW_HWVER]
```
### Example
Open a Command Prompt where `VsAuthKeyGen.exe` is reside, example:
```
VsAuthKeyGen.exe 000000111111 168D.A
```
Return value look like this:
```
9E7E54597511D721D3A2932B048C0494
```
Copy and update `VS_AUTH_KEY` in telnet:
```
flash set VS_AUTH_KEY 9E7E54597511D721D3A2932B048C0494
```
# ONU Information Page Example # ONU Information Page Example
## G-240G-E ## G-240G-E
![SFU](Images/G-240G-E.png) ![SFU](Images/G-240G-E.png)
@ -65,50 +54,44 @@ flash set VS_AUTH_KEY 9E7E54597511D721D3A2932B048C0494
# Update Stick # Update Stick
Every `flash set` require `reboot` to take effect Every `flash set` require `reboot` to take effect
# Basic ## Authentication
Both are most important, try `set` these if works. ### PLOAM
## MAC Address
```
flash set ELAN_MAC_ADDR 000000111111
```
> Note to V2801F users:<br/>
> Require generate new `VS_AUTH_KEY`, run `VsAuthKeyGen.exe` in Command Prompt like this `VsAuthKeyGen 000000111111`
## ONU Serial Number
Required to get authenticated, OLT may block rouge ONU in the network. Setting this require to update Vendor ID `PON_VENDOR_ID`
```
flash set GPON_SN HWTC00000000
```
## PLOAM Password
* Only accept **ASCII** Character.
* If your password is `DEFAULT` or **bunch of zero** or **blank**, that mean you are using LOID Authentication
``` ```
flash set GPON_PLOAM_PASSWD DEFAULT012 flash set GPON_PLOAM_PASSWD DEFAULT012
``` ```
*If you using LOID, skip this or use `DEFAULT` value*
## LOID & LOID Password ### LOID
* May only need `LOID` or `LOID` & `Password`
* Skip this if you using **PLOAM**
``` ```
flash set LOID 0123456789 flash set LOID 0123456789
flash set LOID_PASSWD 0123456789 flash set LOID_PASSWD 0123456789
``` ```
*If you using PLOAM, skip this or use `0` value for both*
> Depen on fiber vendor either using **PLOAM** or **LOID** but not both ### ONU Serial Number
```
flash set GPON_SN HWTC00000000
```
*Setting this require to update Vendor ID `PON_VENDOR_ID`*
# OMCI Authentication ### MAC Address <sup>[*V2801F](#v2801f)</sup>
If **basic** setup still don't have access or pppoe not working, highly chance that your OLT need additional device information ```
flash set ELAN_MAC_ADDR 000000111111
```
## ONU Model
OLT might require which model are in whitelist (verified) ## OMCI Device Information
### Device Model
``` ```
flash set GPON_ONU_MODEL HG8240H5 flash set GPON_ONU_MODEL HG8240H5
``` ```
## ONU Vendor ### Manufacture Info
OLT need to know which Manufacturer are in whitelist. Some known Vendor ID: OLT need to know which Manufacturer are in whitelist.
> Vendor ID must match with Serial Number
Some known Vendor ID:
| ID | Vendor Name | | ID | Vendor Name |
|--------|-------------| |--------|-------------|
| `HWTC` | Huawei | | `HWTC` | Huawei |
@ -120,50 +103,41 @@ OLT need to know which Manufacturer are in whitelist. Some known Vendor ID:
``` ```
flash set PON_VENDOR_ID HWTC flash set PON_VENDOR_ID HWTC
``` ```
> Vendor ID must match with Serial Number
## ONU Software Version ### Software Version
OLT need to know which software version.
``` ```
flash set OMCI_SW_VER1 V5R019C00S125 flash set OMCI_SW_VER1 V5R019C00S125
flash set OMCI_SW_VER2 V5R019C00S125 flash set OMCI_SW_VER2 V5R019C00S125
flash set CUSTOM_OMCI_SW_VER1 V5R019C00S125 flash set CUSTOM_OMCI_SW_VER1 V5R019C00S125
flash set CUSTOM_OMCI_SW_VER2 V5R019C00S125 flash set CUSTOM_OMCI_SW_VER2 V5R019C00S125
``` ```
> In normal ONU Box:<br/>
> Firmware get's updated when version is out of date. This has no effect with **SFP XPON ONU Stick**
## Hardware Version ### Hardware Version <sup>[*V2801F](#v2801f)</sup>
In some rare case, OLT need to know which hardware are you using
``` ```
flash set HW_HWVER 168D.A flash set HW_HWVER 168D.A
``` ```
> Note to V2801F users:<br/>
> Require generate new `VS_AUTH_KEY`, run `VsAuthKeyGen.exe` in Command Prompt like this `VsAuthKeyGen 000000111111 168D.A`
## OMCI Fake `OK` ## OMCI Extra
Sometime **SFP XPON ONU Stick** doesn't understand what OLT is sending, setting this let **SFP XPON ONU Stick** reply `OK` ### OMCI Fake `OK`
Because your stick is not same as your ONU box, this command is a must to tell `OK` to OLT
``` ```
flash set OMCI_FAKE_OK 1 flash set OMCI_FAKE_OK 1
``` ```
## OMCI OLT Mode ### OMCI OLT Mode
Make **SFP XPON ONU Stick** universal, some OLT have special OMCI, most common OMCI is Huawei, for example, making **SFP XPON ONU Stick** act like Huawei ONU and understand Huawei OMCI and compatible with Huawei OLT. Make **SFP XPON ONU Stick** universal, some OLT have special OMCI, most common OMCI is Huawei, for example, making **SFP XPON ONU Stick** act like Huawei ONU and understand Huawei OMCI and compatible with Huawei OLT.
Even Nokia OLT, Huawei is most common due to "Universal ONU" deployment. Even Nokia OLT, Huawei is most common due to "Universal ONU" deployment.
### Default | OLT | `OMCI_OLT_MODE` Value |
|--------|-----|
| Defaut | `0` |
| Huawei | `1` |
| ZTE | `2` |
``` ```
flash set OMCI_OLT_MODE 0 flash set OMCI_OLT_MODE 0
``` ```
### Huawei
```
flash set OMCI_OLT_MODE 1
```
### ZTE
```
flash set OMCI_OLT_MODE 2
```
# CWMP # CWMP
TR069. You can skip this if you have internet access, this may not required in most cases, some very strict OLT need TR069. You can skip this if you have internet access, this may not required in most cases, some very strict OLT need
@ -200,6 +174,30 @@ If your original ONU doesnt give any **"Device Information"** page, try buy diff
My fiber vendor ([TM](https://unifi.com.my/)) and my ISP ([Maxis](https://www.maxis.com.my/)) doesn't care MAC Address, only PLOAM Password and Full OMCI Information, it may different, for the best option update everything. My fiber vendor ([TM](https://unifi.com.my/)) and my ISP ([Maxis](https://www.maxis.com.my/)) doesn't care MAC Address, only PLOAM Password and Full OMCI Information, it may different, for the best option update everything.
# V2801F
When changing `ELAN_MAC_ADDR` and/or `HW_HWVER`, you are required to update `VS_AUTH_KEY` by using `VsAuthKeyGen.exe` in command prompt.
## Syntax:
```
VsAuthKeyGen.exe <mac_address> [HW_HWVER]
```
### Example
Open a Command Prompt where `VsAuthKeyGen.exe` is reside, example:
```
VsAuthKeyGen.exe 000000111111 168D.A
```
Return value look like this:
```
9E7E54597511D721D3A2932B048C0494
```
Copy and update `VS_AUTH_KEY` in telnet:
```
flash set VS_AUTH_KEY 9E7E54597511D721D3A2932B048C0494
```
# Original # Original
You may need to write down your original value: You may need to write down your original value:
``` ```