RTL960x/Docs/FLASH_GETSET_INFO.md

5.4 KiB

Telnet Login:

List of default login

Explaination

ELAN_MAC_ADDR (12 Hexadecimal number maximum)

Some OLT have explicit MAC Address can register, you need clone your original ONT MAC Address

GPON_PLOAM_PASSWD (9 Alphanumeric character maximum?)

Need to set for OLT Authenticate your ONT stick, you can get from original ONT WebGUI.

GPON_SN (12 ASCII character maximum)

Need to set for OLT Authenticate your ONT stick, enter your original ONT Serial Number, must be ASCII form HWTC12345678, you may need to convert first eight HEX digit serial number to ASCII, just like PON_VENDOR_ID

GPON_ONU_MODEL (8 ASCII character maximum)

Need to set for OLT Authenticate your ONT stick, enter your original ONT Model, Example: HG8240H5

OMCI_OLT_MODE (Min 0, Max 3, Default is 0)

Configure how ONT Stick handle OMCI from OLT:

Value Note
0 Default Mode
1 Huawei OLT Mode
2 ZTE OLT Mode
3 Customized Mode

OMCI_FAKE_OK (0 = Disable, 1 = Enable, Default is 0)

Some Fiber Vendor/Wholesale/ISP have explicit LAN Port Number provisioning or proprietary OMCI that ONT Stick cant not understand, this will make ONT Stick reply OK whatever OMCI OLT throw at!

OMCI_TM_OPT (Min 0, Max 2, Default is 2)

Configure OMCI Traffic Management, not info about these value.

PON_VENDOR_ID (4 ASCII character maximum)

Need to set for OLT Authenticate your ONT stick, please read your original ONT Serial Number, either in HEX digit or ASCII, if in HEX digit, you need convert first eight HEX digit to ASCII, for example 48575443 = HWTC.

Here some popular list if want to fool the OLT:

ID Vendor Name
HWTC Huawei
ZTEG ZTE
ALCL Nokia/Alcatel-Lucent
UBNT Ubiquiti
FHTT Fiber Home
RTKG Realtek

LAN_SDS_MODE (Min 1, Max 5)

Configure how stick link negotiation with SFP, some router has specific issue, between PHY or MAC, (Layer 1 and Layer 2 perhaps?)

Value cat /proc/kmsg Mode/Behavior Note
1 <4>change mode to 1(Fiber 1G) 1Gb Fiber Transceiver V2801F Default
2 <4>change mode to 2(SGMII PHY) 1Gb Ethernet Transceiver @ Layer 1 TWCGPON657 Default
3 <4>change mode to 3(SGMII MAC) 1Gb Ethernet Transceiver @ Layer 2 DFP-34X-2C2 Default
4 <4>change mode to 4(HiSGMII PHY) 2.5Gb Ethernet Transceiver @ Layer 1
5 <4>change mode to 5(HiSGMII MAC) 2.5Gb Ethernet Transceiver @ Layer 2
  • Not all SFP/SFP+/SFP28 router support PON Fiber Transceiver
  • DFP-34X-2C2: Not tested if stock firmware support HiSGMII 2.5GbE
  • V2801F: Not support HiSGMII 2.5GbE, trying to set will cause issue or stuck
  • RB5009: sfp-sfpplus not support 2.5GbE
  • RB5009: You may need set to 1 to make it compatible (Fiber Transceiver Mode)

DIRECT_BRIDGE_MODE (Min 0, Max 1, Default is 1)

Not sure about this, it seem PON interface bridged to LAN under one br0 ?

DEVICE_TYPE (Min 0, Max 2, Default is 0)

Value Note
0 bridge
1 router
2 hybrid (both)

VLAN_CFG_TYPE (Min 0, Max 1, Default is 0)

VLAN Configuration Type:

Value Note
0 Auto Detect
1 Manual (which require VLAN_MANU_MODE to set)

VLAN_MANU_MODE (Min 0, Max 3, Default is 0)

How ONU Stick handle VLAN from PON to ETH interface

Value Note
0 Transparent Mode
1 Tagging Mode
2 Remote Access Mode
3 Special Case Mode

PON_MODE (Min 1, Max 3, Default is 1)

Configure ONT Stick in which mode:

Value Note
1 GPON
2 EPON
3 Ethernet

FIBER_MODE (Min 1, Max 3, Default is 0)

If PON_MODE=3 is set, FIBER_MODE become available and update /proc/fiber_mode.

Value Note
0 Pre-defined
1 AN 1G
2 Auto
3 Force 1G
4 Force 100M

Enter echo 3 > /proc/fiber_mode can prevent V2801F from auto reboot, giving you time to fix VS_AUTH_KEY or firmware update, this will put XPON Stick become Ethernet Mode.

OMCI_VEIP_SLOT_ID (Integer Value, Default is 255)

Virtual Ethernet Interface Point Slot Id, you may need find VEIP Id from old ONU, try save configuration and find veip, for example: Huawei HG8240H5

VS_AUTH_KEY (32 Hexadecimal number) V2801F Only!

Changing ELAN_MAC_ADDR or/and HW_HWVER value, must generate new VS_AUTH_KEY. Failed to do so, V2801F stick will in auto reboot forever.

NOTE:

every flash set need reboot to take effect!

It's better that you download and save configuration, edit config.xml accordingly, it's better to empty value "" if not required, then upload modified config.xml back.

Flash Command (default)

flash set OMCI_OLT_MODE 0
flash set OMCI_FAKE_OK 0
flash set OMCI_TM_OPT 2
flash set VLAN_CFG_TYPE 0
flash set VLAN_MANU_MODE 0
flash set DIRECT_BRIDGE_MODE 1
flash set PON_MODE 1
flash set PON_VENDOR_ID GPON
flash set GPON_ONU_MODEL IGD
flash set GPON_SN GPONC6FFFFFF
flash set GPON_PLOAM_PASSWD 1234567890
flash set ELAN_MAC_ADDR 6cefc6ffffff
flash set FIBER_MODE 0
flash set DEVICE_TYPE 0
flash set OMCI_VEIP_SLOT_ID 255
flash set VS_AUTH_KEY 1CAFC40AC99B014BB013849A92942FEB
reboot