Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

Home Networking Ditch ONU, use GPON SFP on Business Grade Router, 2.5G ONU for Unifi & Maxis, NO NEED VLAN

views
     
afif92
post Mar 1 2021, 06:34 PM

Casual
***
Junior Member
374 posts

Joined: Mar 2010
QUOTE(Anime4000 @ Mar 1 2021, 12:07 PM)
There many good reason using own ONT.

1. Make All in One with flexibility of SFP on High End/Enterprise Router.

2. Learn more about xPON technology (after know xDSL)

3. Make your setup look Professional 😜

4. Giving us more control and optical reading live (You can't do that on TM Unifi after OMCI kick in)

5. Modify some GPON/PON/OMCI parameters, if you in luck, you can modify Bandwidth Control,

CODE

# cat /etc/version
C00R657V00B12 --  Thu Nov 21 14:52:46 CST 2019
# diag
RTK.0> gpon show onu-info
Vendor ID   : GPON
Model ID    : G657
Gpon MAC    : 6cefc6000000
Hardware    : V1.0
Software    : C00R657V00B13
RTK.0> gpon show us-flow
============================================================
   GPON ONU MAC U/S Flow Status
Flow ID | GEM Port | Type | TCont
     0 |      263 |  ETH |     0
     1 |      264 |  ETH |     1
     2 |      267 |  ETH |     1
     3 |      272 |  ETH |     2
    64 |        2 | OMCI |    16
============================================================
RTK.0> bandwidth get egress port all
port: 0  rate:4194296
        queue: 0  apr-index: 0
        queue: 1  apr-index: 0
        queue: 2  apr-index: 0
        queue: 3  apr-index: 0
        queue: 4  apr-index: 0
        queue: 5  apr-index: 0
        queue: 6  apr-index: 0
        queue: 7  apr-index: 0
port: 2  rate:4194296
        queue: 0  apr-index: 0
        queue: 1  apr-index: 0
        queue: 2  apr-index: 0
        queue: 3  apr-index: 0
        queue: 4  apr-index: 0
        queue: 5  apr-index: 0
        queue: 6  apr-index: 0
        queue: 7  apr-index: 0
RTK.0> bandwidth get ingress port all rate
port: 0 rate:4194296
port: 2 rate:4194296
RTK.0> bandwidth set egress port all rate
<UINT:rate>                                      - rate vlaue (unit 1Kbps), <8~1048568>
RTK.0> bandwidth set ingress port all rate
<UINT:rate>                                      - rate value (unit 1Kbps), <8~1048568>
RTK.0> bandwidth set egress port all rate 1048568
RTK.0> bandwidth set ingress port all rate 1048568
RTK.0> bandwidth get egress port all
port: 0  rate:1048568
        queue: 0  apr-index: 0
        queue: 1  apr-index: 0
        queue: 2  apr-index: 0
        queue: 3  apr-index: 0
        queue: 4  apr-index: 0
        queue: 5  apr-index: 0
        queue: 6  apr-index: 0
        queue: 7  apr-index: 0
port: 2  rate:1048568
        queue: 0  apr-index: 0
        queue: 1  apr-index: 0
        queue: 2  apr-index: 0
        queue: 3  apr-index: 0
        queue: 4  apr-index: 0
        queue: 5  apr-index: 0
        queue: 6  apr-index: 0
        queue: 7  apr-index: 0
RTK.0> bandwidth get ingress port all rate
port: 0 rate:1048568
port: 2 rate:1048568
RTK.0> port get status port all
Port Status Speed    Duplex TX_FC RX_FC
---- ------ -----    ------ ----- -----
0    Up     1000M    Full   En    En
2    Up     1000M    Full   Dis   Dis


[attachmentid=10800181]
*
which value shows the upload speed has been modified?
afif92
post Mar 1 2021, 10:01 PM

Casual
***
Junior Member
374 posts

Joined: Mar 2010
QUOTE(Anime4000 @ Mar 1 2021, 07:53 PM)
I think "egress" part as mean exit, modifying GEM and OMCI command can trigger alarm on TM OLT, so far so good.
*
Can you show the speedtest video or gif? I want to look if the upload will spike to more than 500Mbps and down back to the subscribed speed.
afif92
post Mar 10 2021, 11:21 PM

Casual
***
Junior Member
374 posts

Joined: Mar 2010
QUOTE(Anime4000 @ Mar 10 2021, 11:00 PM)
Nice, mean modified firmware able regenerate new VS_AUTH_KEY when change ELAN_MAC_ADDR and/or HW_HWVER
I can make quick patch,
TWCGPON657 firmware don't have VS_AUTH_KEY and can't get GPON working.

Another Update:
TM OLT notice my modified bandwidth limiter sad.gif
Damn, OMCI Security pretty tight, sure somewhere can crack TM OLT

Also I notice, TM did bridge VLAN500 on LAN2, as I see this:
CODE

RTK.0> l2 get entry address valid
...
LUT address: 0x00fc (1K LUT)
L2 Unicast table:
MACAddress        Spa Fid Age Vid  State  Ext  Hash
00:00:5E:00:01:60 2   0   7   500  Auto   0    SVL
CtagIf Auth DaBlock SaBlock Arp
En     Dis  Dis     Dis     Dis
...

*
Oh no, now your speed back to normal?
afif92
post Sep 3 2021, 12:35 AM

Casual
***
Junior Member
374 posts

Joined: Mar 2010
QUOTE(Anime4000 @ Jul 25 2021, 11:26 PM)
To avoid OLT Alarm, you need make your SFP ONU Stick like your original ONU, by updating required info for your SFP ONU Stick
You can read here, I make complete guide and sacrifice my ONU collection for this purpose: https://github.com/Anime4000/RTL9601C1/blob.../VS_AUTH_KEY.md

TLDR, Using HG8240H ONT Device Information on SFP ONU Stick;
CODE

flash set PON_VENDOR_ID HWTC
flash set HW_CWMP_MANUFACTURER 'Huawei Technologies Co., Ltd'
flash set HW_CWMP_PRODUCTCLASS HG8240H
flash set HW_HWVER BF9.A
flash set ELAN_MAC_ADDR 043389FE8F59
flash set VS_AUTH_KEY 4FF78A9422FCBC797A0A3061186F20B7

flash set OMCI_FAKE_OK 1
flash set OMCI_SW_VER1 V3R017C10S100
flash set OMCI_SW_VER2 V3R017C10S100
flash set GPON_ONU_MODEL HG8240H
flash set GPON_SN HWTC98AFDD9D
flash set GPON_PLOAM_PASSWD 1234567890


When SFP ONU Stick connecting to OLT, and everything checks out!

Take note that GPON has fixed MTU size which is 2000 bytes.

Advantage using SFP ONU Stick allow you to use PPPoE MTU 1500, able to access many website that block MTU 1492
If your ISP support RFC4638

About Telephone over xPON, I pretty sure they use VLAN for this, refer to your ISP which VLAN they use for Telephone line, then you bridge it, either bridge tagged to tagged or tagged to untag
*
How to find website that block MTU under 1500?

afif92
post Jul 17 2023, 09:21 PM

Casual
***
Junior Member
374 posts

Joined: Mar 2010
QUOTE(Anime4000 @ Jul 10 2023, 02:56 PM)
sorry ejery this dude has become #1

user posted image

Results:
https://www.speedtest.net/result/d/6f6d079f...91-8e53cec2c6cd

only Selangor people can have nice speed and nice ping.

we live outside Selangor will suffer high ping,
like Seremban, must go Melaka first 🤣
*
Muar can get low ping like Selangor.. I try play Dota at my friend's house and get 7ms ping (on wifi and use stock TM router)

This post has been edited by afif92: Jul 17 2023, 09:22 PM
afif92
post Oct 13 2024, 04:45 PM

Casual
***
Junior Member
374 posts

Joined: Mar 2010
-deleted-

This post has been edited by afif92: Oct 13 2024, 04:48 PM

 

Change to:
| Lo-Fi Version
0.0197sec    0.22    7 queries    GZIP Disabled
Time is now: 7th December 2025 - 01:35 AM