Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DFP-34X-2C2 disappeared after changing LAN_SDS_MODE #169

Closed
Voidstranger opened this issue Jun 27, 2023 · 3 comments
Closed

DFP-34X-2C2 disappeared after changing LAN_SDS_MODE #169

Voidstranger opened this issue Jun 27, 2023 · 3 comments

Comments

@Voidstranger
Copy link

Voidstranger commented Jun 27, 2023

Hi. I changed LAN_SDS_MODE to 4 and can't reach sfp-module anymore.
I use BPI-R3 router with OpenWRT and other user confirmed, that he is using DFP-34X-2C2 with BPI-R3 router too and he hasn't any problems with 4, 5, 6 option of LAN_SDS_MODE. I'm using M110_sfp_ODI_210702 firmware.

ethtool eth1 (eth1 is port, where sfp-module is located) output:
Screenshot 2023-06-27 203419
It seems, that there is link on the interface.

No Rx to eth1. Why?
Screenshot 2023-06-27 222617

Also I changed sfp's ip address to 192.168.2.1. But this isn't a problem, right?

@Anime4000
Copy link
Owner

the ODI Stick have auto negotiate which LAN Mode to use, perhaps your OpenWRT need the tweak first.

try revert back to 1G on OpenWRT if your new SFP are working...

if working, then try adjusting the OpenWRT router,

if is not, you need reset it back via TTL UART

@Voidstranger
Copy link
Author

Voidstranger commented Jun 28, 2023

  1. Also, my stick is in epon mode. Can this cause an issue? I don't understand why this sfp module works with same router and lan_sds_mode 4, 5, 6 for everyone, but not me.

  2. As for UART.
    I can see two little Rx and Tx spots near the chip on the stick. Ground is ground, I can connect it to metal cage, for example, right? But do I need to connect 3.3 cable? Where should I connect it? I have this: https://gleanntronics.ie/en/products/cp2102-usb-rs232-ttl-uart-converter-3-3v-5v-logic-1256.html But I don't understand which wire and where I must to connect. I can see some photo here: https://hack-gpon.org/ont-odi-realtek-dfp-34x-2c2/
    I understand, that bottom wires are Rx and Tx. But what about two other wires? I have no idea which spots on the board I must connect to them.

UPD.

  1. Also do I understand correctly - I must connect Rx cable from uart device to left spot on sfp (Tx) and connect Tx cable from uart device to right spot on sfp (Rx)? Can I just plug sfp then to the router and doesn't connect any other cables? Or can I stick 3.3 v cable from uart device to the stick itself? Can I just connect it to some "golden finger" of sfp module? Which golden finger should I use?

Is this correct connection?
ttl

  1. Also I can't solder. Can I just stick cables via scotch tape/paper clips or something like that?

  2. In case of success connection - should I just run these commands and that's all, right?
    flash set LAN_SDS_MODE 3
    reboot

@Anime4000
Copy link
Owner

you can use flying probe if don't want do soldering, this much cleaner.
image

I suggest you do a factory reset, and try not change default IP Address, leave it as 192.168.1.1/24, this known issue most of the RTL based stick if not configured properly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants