USE AT YOUR OWN RISK. I assume no responsibility or liability for whatever you did. Consult with a lawyer and see if it breaches the contract with your ISP.
Many people have asked repeatedly how to bypass the ONT and connect fiber directly to a switch or router, like this post [Internet] Bypassing the HH3K up to 2.5Gbps using a BCM57810S NIC.
The good news is -- it is doable, you would just need to acquire your own SFP module.
Step 0: Prepare the variables
You would only need the FTR ONT's serial number, such as FTRO12341234. Nothing else is needed.
Step 1: Acquire a compatible SFP module
This might be the hardest part. I used a Huawei MA5671A SFP module, which is basically rebranded Nokia Alcatel G-010S-A. This module can be forced to run at 2.5Gbps speed. Some Unifi devices might support it.
Theoretically, any module would work, as FiOS network authenticates by the ONU's serial number.
You would also need root access to the SFP stick. Hardware modification is required.
Follow this direction Support MA5671A SFP GPON (openwrt.org) to get root access.
Change the SN of the module to match what you get from step 0.
Step 2: Get the VLAN ID
For that, you need to check ONU_GPE_EXTENDED_VLAN_TABLE (use /opt/lantiq/bin/gtop on the module to check)
This is an example table:
Name: ONU_GPE_EXTENDED_VLAN_TABLE
ID: 41
no;out tpid;in tpid;vlan rule pointer;dscp pointer
0;0x8100;0x8100; ;1
1;0x8100;0x8100; AA;1
Refer to rule AA for actual VLAN mapping:
Name: ONU_GPE_VLAN_RULE_TABLE
ID: 42
;;;enable;;;ethertype filter;;;;;outer;;;;;;;inner;;;;;;
no;end;def;two;one;zero;5;4;3;2;1;de enable;de filter;input tpid enable;vid enable;vid filter;priority enable;priority filter;de enable;de filter;input tpid enable;vid enable;vid filter;priority enable;priority filter
...
AA; ; ; ;1; ; ; ; ; ; ; ; ;1;1; BB; ; ; ; ; ; ; ; ;
...
This means on the GEM end, packets should have VLAN ID BB. The translation works as follows:
LAN side: VLAN ID = 0, proto = 0x800
GEM side: VLAN ID = BB, proto = 0x800
(Note: VLAN ID = 0 is tagged VLAN 0, not untagged native VLAN -- i.e. TPID 0x8100, PCP 0x0 DEI 0x0 VID 0x0)
Configure the device to tag traffic with VID 0.
Try to DHCP. Wait for sufficiently long time. If you can acquire an address. stop here.
Step 3: Configure VLAN filtering rule
If that does not work, you would need to modify OMCI VLAN tagging filter data (ME #84). Unfortunately, OMCI specification is protected by copyright laws. But with enough effort, you should be able to get a copy of it. At least, you need to know which OMCI variable to look at and modify.
This would be a homework for you to figure out what to set. Use "/opt/lantiq/bin/omci_pipe.sh meads" command to set it
Hint: you want to make it bridge all the ports unconditionally.
Helpful resources:
Read the OMCI specifications. Read them thoroughly. Plenty of knowledge about GPON network is required to make it to work.
ex-FiOS network only requires SN authenticate. No need to change MAC address, PLOAM password (they do not use it) or LOID (LOID is only used in China). With the correct SN, you should be in steady O5 state within seconds.
If it can't stay in O5 for long enough, you have got the wrong SN.
Lantiq tools such as gtop, onu and omci_pipe.sh are very useful -- this is partly why I used the Lantiq sticks.
Do not use the Realtek modules. The timing (as in signal timing) is off, the module is extremely hot (actually unsafe to touch), and OMCI implementation is buggy. They will crash on FiOS networks. Never buy them.
Google translate is your friend. Chinese broadband forums such as right.com.cn / chinadsl.net is invaluable.
If your downstream speed was limited to ~8Mbps -- forget about modem bypass forever. Do NOT contact your ISP, they will not help you at all.
↧