From b9ca733615336137bf5e02099e988daa84425dd4 Mon Sep 17 00:00:00 2001 From: Anime4000 Date: Tue, 22 Feb 2022 00:45:25 +0800 Subject: [PATCH] Update Setup_Stick.md --- Docs/Setup_Stick.md | 164 ++++++++++++++++++++++---------------------- 1 file changed, 81 insertions(+), 83 deletions(-) diff --git a/Docs/Setup_Stick.md b/Docs/Setup_Stick.md index e0a7e0b..a3b6784 100644 --- a/Docs/Setup_Stick.md +++ b/Docs/Setup_Stick.md @@ -1,6 +1,8 @@ # Setup 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 | 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` | | V2801F | `admin` | `stdONU101` | -# Know your fiber -* Some fiber vendor provide **"Universal** 1-port or 4-port or All in One ONU -* Some fiber limit **"verified"** ONU -* Some fiber doesn't care `PLOAM Password` or `MAC Address` or both -* Your `PLOAM Password` -* Your `MAC Address` +# OLT & O5 +* OLT might have some **restriction** which device that can be used on their fiber network. +* OLT need to know which device are you using before sending proper OMCI even you have `O5` +* OLT can provision specific ONU LAN Port, hance OLT need to know which device. -# Prepair Information +Here ranking from most important to least +* Authentication + * PLOAM / LOID + * MAC Address [*V2801F](#v2801f) + * Serial Number +* OMCI Device Info + * Device Model + * Software Version + * Hardware Version [*V2801F](#v2801f) + * 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: | Information | Flash Set Value | |-------------|-----------------| -| MAC Address | `ELAN_MAC_ADDR` V2801F | -| Hardware Version | `HW_HWVER` V2801F | +| MAC Address | `ELAN_MAC_ADDR` [*V2801F](#v2801f) | +| Hardware Version | `HW_HWVER` [*V2801F](#v2801f) | | Software Version | `OMCI_SW_VER1`, `OMCI_SW_VER2`, `CUSTOM_OMCI_SW_VER1`, `CUSTOM_OMCI_SW_VER2` | | Serial Number | `GPON_SN` | | Manufacture Info | `PON_VENDOR_ID` | | 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 [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 ## G-240G-E ![SFU](Images/G-240G-E.png) @@ -65,50 +54,44 @@ flash set VS_AUTH_KEY 9E7E54597511D721D3A2932B048C0494 # Update Stick Every `flash set` require `reboot` to take effect -# Basic -Both are most important, try `set` these if works. - -## MAC Address -``` -flash set ELAN_MAC_ADDR 000000111111 -``` -> Note to V2801F users:
-> 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 +## Authentication +### PLOAM ``` flash set GPON_PLOAM_PASSWD DEFAULT012 ``` +*If you using LOID, skip this or use `DEFAULT` value* -## LOID & LOID Password -* May only need `LOID` or `LOID` & `Password` -* Skip this if you using **PLOAM** +### LOID ``` flash set LOID 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 -If **basic** setup still don't have access or pppoe not working, highly chance that your OLT need additional device information +### MAC Address [*V2801F](#v2801f) +``` +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 ``` -## ONU Vendor -OLT need to know which Manufacturer are in whitelist. Some known Vendor ID: +### Manufacture Info +OLT need to know which Manufacturer are in whitelist. + +> Vendor ID must match with Serial Number + +Some known Vendor ID: | ID | Vendor Name | |--------|-------------| | `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 ``` -> Vendor ID must match with Serial Number -## ONU Software Version -OLT need to know which software version. +### Software Version ``` flash set OMCI_SW_VER1 V5R019C00S125 flash set OMCI_SW_VER2 V5R019C00S125 flash set CUSTOM_OMCI_SW_VER1 V5R019C00S125 flash set CUSTOM_OMCI_SW_VER2 V5R019C00S125 ``` -> In normal ONU Box:
-> Firmware get's updated when version is out of date. This has no effect with **SFP XPON ONU Stick** -## Hardware Version -In some rare case, OLT need to know which hardware are you using +### Hardware Version [*V2801F](#v2801f) ``` flash set HW_HWVER 168D.A ``` -> Note to V2801F users:
-> Require generate new `VS_AUTH_KEY`, run `VsAuthKeyGen.exe` in Command Prompt like this `VsAuthKeyGen 000000111111 168D.A` -## OMCI Fake `OK` -Sometime **SFP XPON ONU Stick** doesn't understand what OLT is sending, setting this let **SFP XPON ONU Stick** reply `OK` +## OMCI Extra +### 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 ``` -## 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. 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 ``` -### Huawei -``` -flash set OMCI_OLT_MODE 1 -``` -### ZTE -``` -flash set OMCI_OLT_MODE 2 -``` # CWMP 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. +# 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 [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 You may need to write down your original value: ```