The question is simple for those with knowledge: which module is compatible with the BPI-R4 that can replace the ONU provided by the ISP?
From what I understand, the XPON module would be ideal, with an embedded web interface, similar to the provider’s ONU. For my provider, the ideal would be with an SC APC port.
What else do I need to consider to make it work?
Below is the ONU equipment I want to replace with an XPON stick module:
Modelo: Onu Cianet Gb01
@Thanks
Thank you for sharing the link … I read it and again I confused … Because there many of msg mixing… my mind memory is 2 RAM so Simple thing direct to point will be easy for me and for other users …
Note: I saw your post about Huawei and Nokia parts for pon … Like other device place of ISP router
@mcd007
Thank you man for creating this subject… This subject will increase our knowledge and support us to know the right items to be selected
Buy any SFP device either RJ45, Optical or GPON ONU Stick listed here, because it means that it is supported in the linux kernel (and OpenWrt) and works without problems on Banana Pi BPI-R3 / BPI-R4, do not buy clones, only genuine / original devices:
Device Information
******************
Vendor ID: HWTC
GPON Serial Number: HWTCFC7DF38D
Hardware Version: 18AD.A
Software Version: V7R0405103112
MAC Address: 00:01:02:03:04:05
SLID Password: 12345 or leave blank if the ISP does not use SLID password
VLAN Internet
*************
VLAN ID: 7
Priority: 1
Username (PPPoE): Used in ISP optical modem
Password (PPPoE): Used in ISP optical modem
VLAN VoIP
*********
VLAN ID: 3
Priority: 4
VLAN IPTV
*********
VLAN ID: 2
Priority: 3
VoIP (SIP) Information
**********************
Active Outbound Proxy: Used in ISP optical modem
Outbound Proxy Address: Used in ISP optical modem
Outbound Proxy Port: 5070
Registrar Server Address: Used in ISP optical modem
Registrar Server Port: 5060
SIP Client Auth Username: Used in ISP optical modem
SIP Client Auth Password: Used in ISP optical modem
2. Configure Alcatel-Lucent G-010S-P and Huawei MA5671A (already rooted and flashed with OpenWrt firmware):
GPON -> General Settings
========================
Basic Settings
**************
GPON SN (GPON Serial Number): HWTCFC7DF38D
PLOAM Password (SLID Password):
VLAN
****
Interoperability mode: Enabled
Default PVID (VLAN Internet): 7
Advanced Settings
*****************
Custom MIB configuration files: Enabled
Vendor ID (First four digits of GPON SN): HWTC
Equipment ID (GPON SN): HWTCFC7DF38D
ONT version (Hardware Version): 18AD.A
Custom OMCID version: Enabled
OMCID version (Software Version): V7R0405103112
Disable RX Loss Status: Enabled
Ignore RX loss: Enabled
GPON -> IP/MAC Settings
=======================
HOST interface (WAN) MAC address (ISP Modem MAC Address): 00:01:02:03:04:05
LTC interface (LAN) IP address: 192.168.1.10 (Do not change this)
Commands via SSH Terminal
=========================
fw_setenv image0_version V7R0405103112
fw_setenv image1_version V7R0405103112
fw_setenv omci_version V7R0405103112
fw_printenv
3. Change the IP address “192.168.1.1” of the LAN interface on the Banana Pi BPI-R3 / BPI-R4 router to any other (example: 192.168.5.1) and follow this guide to access the ONU SFP module:
I have all the information, and I have access to the ISP’s UNO. But I can’t access the Huawei module. I noticed that it doesn’t have a serial number. And I need to set a VLAN that I’ve already tried to set on the BPI-R4 but it didn’t work. It’s there just for this information.
do you have a “link detected: yes” on your SFP (cable connected)? have you a local IP-Adress from same subnet as your sfp webinterface? can you make a local ping and http request (telnet/curl) from r4 to the webinterface of the module?
Everything worked!! With internet access on the module already connected to the BPI-R4.
After I got access to the SFP module, I configured the MAC, Password, LOID, GPON SN, VLAN. As in the tutorials. And it worked immediately.
I’m doing PPoE access on the Openwrt image on the BPI-R4, out of personal preference, but I know I could do it on the SFP module.
My problem is that when I was accessing the SFP module, I was setting up the interface, but when I set up the WAN bridge, it worked. I think it was a firewall.
Are you able to explain how the OP was able to get the MA5671A module to work in the BPI-R4’s SFP+ port given that the BPI-R4 documentation states “ The SFP serdes speed of BPI-R4 is fixed at 10Gbps, so only SFP that support this can be used”?
It is my understanding that the MA5671A only negotiates at 1G or 2.5G.
By the way, my ISP provides a G-010S-P that I would like to use in a BPI-R4 that I have ordered by not yet received. My provided network speed, from ISP, is 1.5G. So ideally, I would like to establish a 2.5G negotiated link between the BPI-R4 and the SFP module. Will I run into issues?
ethtool -s eth2 speed 1000 duplex full autoneg off
which forces the speed to 1000MBit, full-duplex mode and disables auto negotiation.
I just tried with 2500 instead of 1000 but it didn’t work for my device, even though it is a 2.5G SFP module.
To see the supported modes use
ethtool eth2
and look for
Supported link modes: 1000baseX/Full
in the output.
To automate the process on boot I initially added the command to /etc/rc.local, but after seeing the SoC switch being reset by the kernel at runtime, I needed a different solution.
Instead, I now use a script in /etc/hotplug.d/iface/10-sfp, which automatically executes when the eth2 device comes up (again) at any time while the system is running.
#!/bin/sh
[ "$ACTION" = ifup -a "$DEVICE" = eth2 ] || exit 0
logger -t sfp "Force 1Gbps full-duplex on SFP module (eth2)"
ethtool -s eth2 speed 1000 duplex full autoneg off
@frank-w any idea why I don’t see the 2.5G option on eth2 for my module?
Because for eth1 it looks like this, without a plugged SFP module though.
Settings for eth1:
Supported ports: [ MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
10000baseT/Full
2500baseX/Full
1000baseKX/Full
10000baseKX4/Full
10000baseKR/Full
1000baseX/Full
10000baseCR/Full
10000baseSR/Full
10000baseLR/Full
10000baseLRM/Full
10000baseER/Full
2500baseT/Full
5000baseT/Full