hack-gpon / hack-gpon.github.io

https://hack-gpon.org/
MIT License
149 stars 81 forks source link

FS.com GPON-ONU-34-20BI incorrect tagging #323

Open benbgg opened 6 months ago

benbgg commented 6 months ago

Hi Further to discussion yesterday re password authentication, I'm noticing the following weird symptom:

1) It appears that the SFP is staying in State 5 (implying authentication NOT an issue(?))

2) If I capture a trace to file on my Mikrotik RB4011 I see the following: a) My outbound traffic for PPPoE (PADO) is tagged with VLAN 6 (same configuration as when using 02 external ONT, which works). However, the returning PADI is tagged with 1421! b) The video VLAN is tagged (correctly for O2/ Movistar Spain) with VLAN 3)

My questions: Does stable state 5 mean I'm past authentication, assume OMCI programming is being processed incorrectly, and I need to try with different (eg Huawei) firmware?

Thanks for any suggestions. Screenshot 2024-02-19 at 12 10 00

nanomad commented 6 months ago

This is a classic issue. The inverse mapping rule is not correctly being applied by the ONU. It happens. Try using the native GPON VLAN (1421) instead of (2) and see if that helps.

Otherwise I'd try a different firmware

benbgg commented 5 months ago

Humm, not sure 1st options going to work - surely I'm only seeing PAD Offfers as a result of the server seeing my PADIs - so it would appear it's receiving ok, just the return path that's getting mangled/ incorrectly tagged. I'll definitely have a go at re-flashing today.

benbgg commented 5 months ago

Tried mA5671a_root_mtd5.img today and same deal: State 5, PADIs going out tagged with VLAN 6 and PADO coming back on VLAN 1421. Do I just keep trying different firmwares?

benbgg commented 5 months ago

I've fixed with the last email from FS: (Extract) This situation of downlink frame VLAN=1421 but Pbit is not equal to 1 can be avoided by enabling the OLT IOP interoperability compatibility option of the GPON MAC SGP ONU module. After logging in to the GPON MAC SFP ONU module via SSH, execute the following command:

fw_setenv omci_iop_mask 8 Note: This command will not take effect immediately and will only take effect after the GPON MAC SFP ONU module is unplugged and restarted;

benbgg commented 4 months ago

Is anyone going to update the page with this fix? Do you want me to propose a change?