Hacking RTL960x
When using custom GPON SFP ONTs (Small Form-factor Pluggable Optical Network Terminals), it’s important to be aware of potential risks and how they can affect not only your connection but also others on the same network.
- Connection Instability
Some users have reported that SFP ONTs may fail to connect properly or might frequently disconnect. - Network Disruptions
In some cases, faulty SFP ONTs can cause major problems, such as taking down the entire GPON (Gigabit Passive Optical Network) by creating signal collisions. This can affect all the users sharing the same network port. - Going Rogue
There have been situations where an SFP ONT "went rogue," causing disruptions for other users on the network. This happens because a single GPON port can serve up to 32 users (or 64 users in certain areas), so one malfunctioning ONT can impact everyone.
Always monitor for issues, and consider switching to certified models if problems persist to avoid affecting other users.
Warning
A technician once encountered an SFP ONT that was causing collisions, which affected the entire network. They had to replace the device with a different model (XGS PON) to restore stability and avoid further issues. While experimenting with custom devices can be fun, it’s essential to understand that you share the network with other customers.
tl;dr quote by @03HemiNorthIL at Reddit
If you’re experimenting with custom GPON sticks, keep the following in mind
- Monitor for Connection Issues
If your connection drops frequently or doesn’t work as expected, your SFP ONT might not be fully compatible. - Consider Network Impact
Be mindful that your actions can affect the other users on the same network port. If your ONT malfunctions, it could bring down the network for everyone. - Seek Alternatives
If problems persist, you may need to switch to a more stable, certified model, especially if you're sharing the network with many other users.
Note
Using GPON Sticks can potentially improve throughput for plans offering 2 Gbps by bypassing the limitations of a typical Gigabit Ethernet ONT. However, this will not provide any speed boost or "hacking" beyond your subscribed plan.
Caution
If your ISP detects the use of unauthorized commands or illegal activity, they have the right to ban your service and impose hefty fines for disrupting the PON network.
Important
We are not responsible for any illegal activity that occurs from the use of this hardware. By proceeding, you agree to all the warnings and terms outlined above.
Join us in enhancing this RTL960x documentation repository to support the xPON community. Every piece of information, no matter how small, can make a significant impact on others. Got spare knowledge about ONU Box functionalities? Share it by dumping the information here! Together, let's make xPON more accessible and straightforward!
Stick | SoC | NAND | Mode | 4-port EthUni |
2.5Gb |
---|---|---|---|---|---|
VSOL V2801F | RTL9601CI |
8MiB | VEIP & PPTP | Forced All | MOD |
T&W TWCGPON657 | RTL9601CI |
16MiB | VEIP & PPTP | V1.9.0-240204 |
MOD |
Ubiquiti UFiber Instant | RTL9601CI |
8MiB | PPTP | LAN 1 | NO |
ODI DFP-34X-2C2 (UPC) | RTL9601D |
8MiB | VEIP & PPTP | Selective All | YES |
ODI DFP-34X-2C3 (APC) | RTL9601D |
8MiB | VEIP & PPTP | Selective All | YES |
Nokia G-010S-Q | RTL9601CI |
16MiB | PPTP | NO | NO |
Device | Mode | SoC | NAND | UNI | 4-port EthUni |
---|---|---|---|---|---|
ODI DFP-34X-2C2 | GPON SFP | ZTE | ? | PPTP/VEIP | NO, NO OMCI EDIT |
Huawei MA5671a | GPON SFP | Lantiq | 16MiB | PPTP/VEIP | LAN 1 |
Nokia G-010S-P | GPON SFP | Lantiq | 16MiB | PPTP/VEIP | LAN 1 |
Nokia G-010S-A | GPON SFP | Lantiq | 16MiB | PPTP/VEIP | LAN 1 |
Stick | Mode | SoC | NAND | Mode | 4-port EthUni |
---|---|---|---|---|---|
Hisense LTF7263-BH+ | 10GE/XG/XGSPON | Realtek | ? | ? | ? |
Hisense LTF7267-BH+ | XG/XGSPON | Realtek | ? | ? | ? |
PRX126 | XG/XGSPON | Maxlinear PRX126 | ? | VEIP & PPTP | Maybe |
Note
For XG/XGS/10GE PON RTL CA series Hacking, checkout @YuukiJapanTech on Hacking CA8271x XGS-PON Stick
For XG/XGS PON MxL PRX series hacking, checkout @up-n-atom on 8311
- Backup
env
,env2
&config
partition Guide by @tdmadam - Setup XPON ONU SFP Stick
- Clone Stock ONU OMCI Info
- Fiberhome for who using Fiberhome ONT, high chance under Fiberhome OLT Standard, not Fiberhome OLT Universal
- ISP specific configuration
- Troubleshoot
- Clone Stock ONU OMCI Info
flash get
,flash set
- Health Reporting
- Telegram Mikrotik script by @smnrock, sending health report via Telegram Bot
- Telegram via #!/bin/bash Linux Bash script by @chiragkrishna, sending health report via Telegram Bot
- Grafana Grafana script by @Strykar, display PON Stats neatly! Project Repo
- Diagnostic
- Factory Reset
- Switch/Roll back Firmware
O5
no Internet fake ONU Status cause by some OLTOMCI_TM_OPT
stick cause internet speed slow? this look at this, found by @ccy- OMCI MIB INFO check various OMCI, VLAN, OLT
- Forward Operation
FwdOp
discussion about special VLAN (vlan 1) to force bridge - Forward Operation
FwdOp
fix_vlan.sh
script for special ISP
- Forward Operation
- OMCI VLAN list available VLAN that provided by OLT
- SFU/HGU feature bits RE done by @rajkosto also define 4-port emulation
ignore_conn_uniNode_check
UniG on SFU firmware - Wireshark OMCI decoding for Wireshark by @tdmadam
- UART
- TWCGPON657 × V2801F Firmware
- V2801F Auto Reboot
- Firmware Emulator
- Keygen
- SPI/EEPROM Programming
- SPI Flash & EEPROM
- SFP EEPROM for 2.5G AutoNeg Linux host need this for 2.5G mode if not hacking kernel
For those interested in learning more about the inner workings of PON technology, Hack-Gpon.org offers extensive resources, tools, and guides for in-depth study. It’s a great resource if you’re ready to dive into the technical details and explore the complexities of GPON—a true rabbit hole of learning!
List of users has successfully ditch stock ONU!
- @stich86 2.5GbE Internet
- My journey connecting fiber internet to my router
- Hinet users in TW
- @izhamsatria: ~2.5Gbps on TM Unifi before TIME announce 2Gbps plan in Malaysia
- Orange Fiber at 2Gbps (MikroTik 10Gbps CCR2004 router & ONT SFP+) In French
- MagtiCom Fiber in Georgia
- T-Mobile Netherlands replacing Huawei ONT English version
- SilkNet Fiber in Georgia
- Bangladesh: Dot-Internet Dhaka
Code | Full name | Meaning |
---|---|---|
PPTP | Physical Path Termination Point | Directly binds to a specific LAN port, with OLT managing VLANs and settings on the ONT. |
VEIP | Virtual Ethernet Interface Point | Acts like a virtual interface (e.g., tap0 ), allowing ONT firmware to assign to LAN ports, router mode, management, or VoIP. |
Note
Since a PON SFP Stick has only one interface to the host, its firmware may struggle to manage VLANs from both PPTP and VEIP. Many firmware versions simply bridge all VLANs from both, regardless of configuration, which can lead to issues:
- If the same VLAN ID is used for different services on PPTP and VEIP, the stick’s firmware might bridge them together without distinction, potentially causing issues with DHCP/IPoE.
- Most firmware prioritizes PPTP first, using VEIP only if PPTP is unavailable. A few firmware versions allow manual VLAN selection for bridging, independent of PPTP/VEIP.
Also, note that if your ISP uses ME 148 (which enforces PPPoE and routing on the ONT), you may not be able to bridge directly to your own router. For bridge mode, it's best to contact your ISP for assistance.
Many ISPs use PPTP to bind specific LAN ports to different service providers, allowing one ONT to support multiple ISPs. For instance, LAN 1 might be configured for ISP 1, LAN 2 for ISP 2, and so forth. This setup is common in areas served by single fiber vendors that host multiple ISPs.
However, this multi-ISP setup can pose issues for PON Sticks, as they might struggle to bridge VLANs on any port other than LAN 1. This limitation occurs because PPTP configurations, along with the Forwarding Operation (FwdOp), are often designed specifically for ONTs and may not be fully recognized by PON sticks. Some advanced setups attempt to resolve this by using an HGU MIB file to "trick" the OLT (Optical Line Terminal) into accepting the ME 84 and ME 171 operations, allowing better compatibility.
Some OLTs from manufacturers like Calix and Nokia, which support Universal ONU, may provide a “false O5” state, which can be misleading. A device might reach the O5 state (the operational stage where data transmission typically begins) even with incorrect Serial Number or PLOAM Password. In this scenario, the OLT might allow the connection to reach O5 but won’t actually push any VLAN configurations (typically ME 84 & ME 171).
To resolve this, double-check all configuration parameters, including the serial number and password. If the connection still doesn’t work after verification, the OLT may be requiring Vendor-Specific Managed Entities (ME) (IDs 350-399) which are sometimes mandated by ISPs for authentication or additional configuration.
A device entering an O2-O5 loop (oscillating between states) could indicate a similar issue as the "Fake O5" scenario. Another common reason for this loop is low optical receive power (RX), where the power level drops below the acceptable threshold (e.g., <= -23 dBm
). When this happens, the OLT may refuse to allow a stable O5 state to maintain PON performance.
To address an O2-O5 loop caused by low RX power:
- Inspect and clean the fiber connector to ensure there’s no dirt or damage impacting signal strength.
- Check RX readings after cleaning, as improved optical power might stabilize the connection and help maintain a steady O5 state.
Caution
If you have attempted all troubleshooting steps and are still unable to establish a connection, it’s recommended to stop further adjustments. Persistent errors or invalid configurations will be flagged by your ISP, and further experimentation can unintentionally disrupt the entire PON network in your area, affecting other users.
Please remember to use these tools responsibly and respect the shared network environment.
Thank you for your consideration and cooperation.
Please note that this repository does not contain ISP-specific configurations or sensitive information, both for legal reasons and to ensure responsible use. We aim to provide general guidance without supporting any unauthorized activity.
If you’re looking for a reliable GPON Stick solution that is ready to use with minimal setup, consider checking with resellers in your country. Many resellers offer modified PON Sticks pre-configured for local ISPs, including:
- Pre-configured serial numbers (S/N) and PLOAM passwords:
Some resellers can program these credentials before shipping, making installation seamless and avoiding configuration hassle. - Enhanced compatibility:
In many cases, these units are plug-and-play, tailored for compatibility with specific ISPs.
Note
By choosing a pre-configured unit from a reputable source, you can save time and ensure stability without needing to adjust settings manually.
Modern, Bootstrap WebGUI, community patches for RTL9601D based is W.I.P. Pixiv Artwork by @しみずけいたろう
Preview of OLT Info on Nijika Firmware
For community support and discussions, consider joining these groups. Please remember to be respectful and mindful that members are helping in their free time. PON settings can be very complex and difficult to understand,
so avoid pressuring others for help:
- RU-Board — Forum (RU)
- XPON SFP ONU — Telegram (RU)
- Usage GPON module SFP in Spain — Mikrotik Forum (EN)
- RTL960X Discuss — Discord (EN)