FS Modded Firmware for Huawei MA5671A and FS.com GPON-ONU-34-20BI
Flashing the firmware
Flash the firmware image to image0 or image1 via SSH or via TTL serial as usual.
After flashing, it is absolutely necessary to connect to the SFP via telnet using the IP 192.168.1.10:
telnet 192.168.1.10
Once connected via telnet to the SFP, execute the following commands. Then wait a few minutes until the end of the automatic procedure:
firstboot
reboot
Performing the procedure described above is necessary after each flash of this firmware, otherwise the SFP will not work!
Login info
Username | root |
Password | root |
IP address | 192.168.1.10 |
Telnet | Always available |
TTL Serial | Always available |
SSH | Only after the first configuration (firstboot) |
Web | NO |
GPON ONU status
Getting the operational status of the ONU
onu ploam_state_get
Getting optical laser status
otop -g s
Getting information of the OLT vendor
omci_pipe.sh meg 131 0
Querying a particular OMCI ME
omci_pipe.sh meg MIB_IDX ME_IN
Where MIB_IDX
is the MIB ID and ME_IN
is the ME instance number.
Getting VLAN table rule
gtop -g "GPE VLAN rule"
Getting GEM port status table
gtop -g e
Getting/Setting Speed LAN Mode
To get the LAN Mode:
onu lan_port_status_get 0
The link_status
variable tells the current speed:
Value (for sgmii_mode and link_status ) | Speed |
---|---|
3 | 1 Gbps / SGMII with auto-neg on |
4 | 1 Gbps / SGMII with auto-neg off |
5 | 2.5 Gbps / HSGMII with auto-neg on |
To change the default lan mode value you can use fw_setenv sgmii_mode
. The firmware is already set to 2.5G auto-negotiation, you shouldn’t touch it.
GPON/OMCI settings
Setting ONU GPON Serial Number
fw_setenv onu_serial "YOUR_SERIAL_ASCII"
Setting ONU GPON PLOAM password
fw_setenv onu_ploam "YOUR_PLOAM_ASCII"
Setting ONU GPON LOID
fw_setenv onu_loid "YOUR_LOID"
Setting ONU GPON LOID password
fw_setenv onu_loid_password "YOUR_LOID_PASSWORD"
Setting OMCI vendor ID (ME 256)
fw_setenv omci_vendor_id "YOUR_VENDOR_ID"
Setting OMCI equipment ID (ME 257)
fw_setenv omci_equip_id "YOUR_EQUIP_ID"
Setting OMCI hardware version (ME 256)
fw_setenv omci_hw_ver "YOUR_HW_VER"
Setting OMCI software version (ME 7)
fw_setenv image0_version "YOUR_SW_VERSION_0"
fw_setenv image1_version "YOUR_SW_VERSION_1"
Advanced settings
Setting custom OMCI MIB file
Copy the MIB file to /etc/mibs, then run this command:
fw_setenv mib_file_custom "YOUR_MIB_FILENAME"
Setting management IP
fw_setenv ipaddr www.xxx.yyy.zzz
Restore SFP to default config
firstboot
reboot
SFP EEPROM settings
Setting SFP vendor name
fw_setenv sfp_vendor_name "YOUR_SFP_VENDOR_NAME"
Setting SFP part name
fw_setenv sfp_part_name "YOUR_SFP_PART_NAME"
Setting SFP vendor revision
fw_setenv sfp_vendor_rev "YOUR_SFP_VENDOR_REV"
Setting SFP part serial
fw_setenv sfp_part_serial "YOUR_SFP_PART_SERIAL"
Setting SFP manufacturing date code
fw_setenv sfp_date_code "YOUR_SFP_DATE_CODE"
Setting SFP vendor data
fw_setenv sfp_vendor_data "YOUR_SFP_VENDOR_DATA"
List of firmwares and files
- 6BA1896SPLQA42_MODDED_ver5-1.img md5hash: c4f1bbe1695803d3d449f911f43d78ea
- 6BA1896SPLQA42_MODDED_ver4.img md5hash: 63b0cc790c0087a5a1197c89b502b002
- 6BA1896SPLQA42_MODDED_ver3.img md5hash: 90348ff0ccaad475cf14d9d0a056cf72