Banana BPI-R4 + Compatible Fiber Optic Module with ISP Provider

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

Captura de tela 2024-10-06 140422

Possible replacement model: fe958451d37b6cbf4194f47403b8d109ef32c3be_2_500x500 (1)

https://pt.aliexpress.com/item/1005003515662920.html

1 Like

Read this thread and all your questions will be answered:

1 Like

@Thanks Thank you for sharing the link … I read it and again I confused :confused: … Because there many of msg mixing… my mind memory is 2 RAM :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

Router From Fiber provider (ISP)

My plan to use GPON or XPON directly to BPI-R4 https://pt.aliexpress.com/item/1005003515662920.html

image

Read this:

Only a few 2.5G GPON ONU SFP Sticks are recommended:

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:

Like these 2.5G GPON ONU SFP Sticks:

Use Google or YouTube to find out what data you need to get from the ISP optical modem and how to configure the 2.5G GPON ONU SFP Sticks:

Example:

1. ISP Optical Modem Information:

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:

4. Follow these steps:

Watch the tutorials:

2 Likes

@Thanks Really. You are matching your name :clap:

So should I buy this SFP only and plug it on BPI-R4 … It will work when I plug fiber optic line on this adapter? Or not .

I mean no need a full package with black box ? …

No, plugging is not nearly enough.

1 Like

So if the plugging it is not enough… Anyone can help us with Guidelines…

Because our Dear/Friend @Thanks :pray: mentioned to use that GPON will work on our providers

Was my question is that GPON will be enough to let it work without full package :package: or I need purchase full package

https://a.aliexpress.com/_okRtAON

If it will work without full package : what is required for configurations

Thank you, I will buy the recommended device. As soon as it arrives and I carry out the tests, I will get back to you saying if everything went well.

1 Like

My Huawei MA5671A arrived, I have already installed it and I believe it was recognized perfectly.

But I cannot authenticate with the ISP provider.

I normally use the ONU provided by the provider, and EPPE authentication is done on the BPI-R4.

My goal is to connect the fiber directly to the BPI-R4 without the need for an ONU.

How do I proceed?

I have all the settings of the ONU provided by the provider. Including the VLAN configured on the LAN interface.

You need the information I mentioned above from the ISP modem to configure the ONU SFP module.

Do this because you do not have a fiber media converter to be able to login and configure 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.

Guide:

Web interface instructions

Make sure the ONU SFP module subnet doesn’t overlap with your LAN, so change the LAN subnet.

  1. Navigate to LuCINetworkInterfaces.
  2. Click Edit on the lan interface and change the IP address:
    • IPv4 address: 192.168.5.1
  3. Click Save, then Save & Apply and then Apply unchecked.

Assuming your ONU SFP module IP address is “192.168.1.10” and it is connected to the router’s WAN interface.

  1. Navigate to LuCINetworkInterfaces.
  2. Click Add new interface… and specify:
    • Name: modem
    • Protocol: Static address
    • Interface: @wan
  3. Click Create interface.
  4. On the General Settings tab specify:
    • IPv4 address: 192.168.1.15
    • IPv4 netmask: 255.255.255.0
  5. On the Firewall Settings tab specify:
    • Create / Assign firewall-zone: wan
  6. Click Save, then Save & Apply.
  7. Enter “192.168.1.10” in your browser’s address bar to access the Huawei MA5671A:
  8. Follow the steps as in the example and watch the tutorials:

At this point the ONU SFP module should be reachable from any host in the LAN.

Command-line instructions

  1. Make sure the ONU SFP module subnet doesn’t overlap with your LAN, so change the LAN subnet.

    # Configure network
    uci set network.lan.ipaddr="192.168.5.1"
    uci commit network
    service network restart
    
  2. Assuming your ONU SFP module IP address is “192.168.1.10” and it is connected to the router’s WAN interface.

    Set up a static WAN alias and assign it to the WAN zone.

    # Configure network
    uci -q del network.modem
    uci set network.modem="interface"
    uci set network.modem.proto="static"
    uci set network.modem.device="@wan"
    uci set network.modem.ipaddr="192.168.1.15"
    uci set network.modem.netmask="255.255.255.0"
    uci commit network
    service network restart
    
    # Configure firewall
    uci del_list firewall.@zone[1].network="modem"
    uci add_list firewall.@zone[1].network="modem"
    uci commit firewall
    service firewall restart
    
  3. Enter “192.168.1.10” in your browser’s address bar to access the Huawei MA5671A:

  4. Follow the steps as in the example and watch the tutorials:

Also:

Yes, I’ve already done that. I’ve opened all the Firewalls, I’ve done it and redone it. And I still don’t have access.

Are you sure you don’t need the converter for this method of accessing the module?

I can’t figure out what’s wrong.

Watch these videos:

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?

1 Like

It worked!! :partying_face: :partying_face: :partying_face:

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.

Thanks for your help!

1 Like