mirror of
https://github.com/Anime4000/RTL960x.git
synced 2024-06-17 21:49:24 +00:00
Update README.md
This commit is contained in:
parent
36ed2d7124
commit
0c770726e6
90
README.md
90
README.md
|
@ -1,11 +1,14 @@
|
|||
# Hacking RTL9601C1
|
||||
Hacking V2801F & TWCGPON657 to suite your ISP Fiber
|
||||
|
||||
# Setup
|
||||
Setup your [SFP XPON ONU Stick here](Docs/Setup_Stick.md)
|
||||
> GPON market is a mess, plus explicit OMCI cause ONU Stick did not work
|
||||
|
||||
# Guide, Links, Info
|
||||
* [Setup SFP XPON ONU Stick here](Docs/Setup_Stick.md)
|
||||
* [Utility Link, Firmware Update](Docs/Useful_Links.md)
|
||||
* [TWCGPON657 with V2801F firmware](Docs/TWCGPON657.md)
|
||||
* [V2801F Auto Reboot](Docs/V2801F.md)
|
||||
|
||||
# Issue
|
||||
GPON market is a mess, plus explicit OMCI cause ONU Stick did not work
|
||||
|
||||
## With my issue:
|
||||
* [V2801F](https://www.amazon.com/Universal-Stick-Address-Supported-Attention/dp/B08C818JSQ)
|
||||
|
@ -83,82 +86,3 @@ Based on [ru-board](http://forum.ru-board.com/topic.cgi?forum=8&topic=80480&star
|
|||
* V2801F cannot use TWCGPON657 firmware
|
||||
* DFP-34X-2C2 (Realtek) cannot use V2801F firmware
|
||||
* TWCGPON657 **can use** V2801F firmware
|
||||
|
||||
# Utility Link, Firmware Update
|
||||
[Read here (with images)](Docs/Useful_Links.md)
|
||||
|
||||
# Flash
|
||||
I have been using TWCGPON657 (without fan) for a month and never had an issue, so in this sections, flash V2801F firmware into TWCGPON657 stick and fix auto-reboot issue.
|
||||
|
||||
## Steps:
|
||||
* Downgrade your TWCGPON657 to version B13 or below.
|
||||
* Flash with `V2801F_V1.9.0-201104.tar` and wait.
|
||||
* Quickly login and execute `echo 3 > /proc/fiber_mode` to avoid auto-reboot (invalid `VS_AUTH_KEY`)
|
||||
* Disconnect fiber from module to restore telnet
|
||||
* Update `VS_AUTH_KEY` acording to `ELAN_MAC_ADDR` and `HW_HWVER`
|
||||
* Reboot (in telnet)
|
||||
* Reflash again with `V2801F_V1.9.0-201104.tar` (must do after fix `VS_AUTH_KEY`)
|
||||
* Enjoy!
|
||||
|
||||
# Auto Reboot Fix
|
||||
## V2801F
|
||||
### Issue
|
||||
* Invalid `VS_AUTH_KEY`
|
||||
* Changing MAC Address `ELAN_MAC_ADDR` can cause wrong `VS_AUTH_KEY` value
|
||||
|
||||
### Fix
|
||||
* You need to generate new `VS_AUTH_KEY` when change `ELAN_MAC_ADDR` and `HW_HWVER`
|
||||
* Apperently, you have few seconds to access Telnet before rebooting
|
||||
* To prevent auto reboot by entering `echo 3 > /proc/fiber_mode` (XPON Ethernet Mode)
|
||||
|
||||
> If you can't type fast enough, use this autoit script `quick_telnet-login.au3`.
|
||||
>
|
||||
> Take a look some generated [`VS_AUTH_KEY` here](Docs/VS_AUTH_KEY.md)
|
||||
|
||||
### Note
|
||||
When `echo 3 > /proc/fiber_mode` is set, you lose telnet acccess, you need to unplug fiber to get back
|
||||
|
||||
## TWCGPON657
|
||||
* No such problem, `VS_AUTH_KEY` does not exist.
|
||||
|
||||
# Usage
|
||||
* Please read [FLASH_GETSET_INFO.md](Docs/FLASH_GETSET_INFO.md) for how to configure, login, etc...
|
||||
* Advance setting like duplicate ONT Info, read [FLASH_GETSET_DEV.md](Docs/FLASH_GETSET_DEV.md)
|
||||
* For a manual for the built-in Realtek `diag` utility, see: [RTKPONDiagShellUserGuide](Docs/RTKPONDiagShellUserGuideV001.291982779.pdf)
|
||||
* Source: https://usermanual.wiki/Pdf/RTKPONDiagShellUserGuideV001.291982779/html
|
||||
|
||||
|
||||
# Modify
|
||||
You need a Linux PC/VM, Ubuntu as Operating System
|
||||
|
||||
## Prerequisite
|
||||
You need these program installed:
|
||||
* `tar` (extract tar package)
|
||||
* `squashfs-tools` (extract/repack rootfs)
|
||||
* `qemu-user-static` (run MIPS VM)
|
||||
|
||||
## Extract firmware
|
||||
* Extract Firmware package in `tar` format, we need `rootfs` file
|
||||
* Extract `rootfs` partition
|
||||
```
|
||||
unsquashfs rootfs
|
||||
```
|
||||
|
||||
## Repack firmware
|
||||
* Repack `rootfs`
|
||||
```
|
||||
mksquashfs squashfs-root rootfs.new -b 131072 -comp lzma
|
||||
```
|
||||
* Rename `rootfs`
|
||||
```
|
||||
mv rootfs rootfs.old
|
||||
mv rootfs.new rootfs
|
||||
```
|
||||
* Update `md5sum`
|
||||
```
|
||||
md5sum fwu.sh rootfs uImage fwu_ver > md5.txt
|
||||
```
|
||||
* tar current folder
|
||||
```
|
||||
tar -cvf ../firmware.tar *
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue
Block a user