stich86 / UF-Instant-Mod

Swap Unifi custom firmware with modified firmware to use GPON-ONU on 3rd party OLT
44 stars 3 forks source link

Almost there... but not yet (help needed) #18

Open SrTaronja opened 10 months ago

SrTaronja commented 10 months ago

Hello everyone,

I am trying to use my UF-Instant to replace the ONT provided by my ISP, and I am very close to achieve it but there's something not working (probably because I'm doing something wrong). Let me explain what I have and what I have done:

My ISP (an European company without its own infrastructure in my country - at least not where I live) provided me a router (ZTE ZXHN H298Q) and an ONT (Huawei HG8010Hv6). I already replaced that router with my Ubiquiti ER12P, but I was still using the Huawei ONT. My idea is now replacing that ONT with a UF-Instant SFP ONT.

What I have done so far (Note: My UF-Instant came with version 4.1.0) 1) After moving to partition 1, I uploaded the latest official firmware 4.4.9 to tmp and upgraded partition 0. 2) From partition 0, I uploaded official firmware 4.3.1 to tmp and upgraded partition 1 (in order to be aligned with the guide). 3) Back to partition 0 (because the firmware upgrade command automatically reboots and moves you to the upgraded partition), I erased mtd3 and mtd7 from dev, then uploaded the modified rootFS to tmp and moved it from there to dev as mtd7 4) I moved to partition 1 and rebooted 5) I checked the active partition and the software versions of each partition, and everything looked ok ==> 6) I checked my Huawei ONT settings through its web interface and mapped them to the corresponding flash setting in the UF-Instant. I think I may not be doing a proper mapping here. <== 7) I configured my Ubiquiti router with a PPPoE connection on eth11 (the one where the UF-Instant is plugged), with the exact same data as the one for eth9 (where my Huawei ONT router is connected to). I also configured everything to go through this new PPPoE connection instead of the previous one and, last but not least, I disconnected the fiber cable from the Huawei ONT and connected it to the UF-Instant.

Where I am now: According to the router's web UI, the new PPPoE has a "established connection", and its IP address is type A but it is NOT a public one (10.64.x.x). I obviously have no access to internet at all. Because the UF-Instant web UI does not really work (with or without being connected), I don't know what's the O status or how to check it.

I would highly appreciate if someone that has been able to replace their ONT with the hacked UF-Instant could guide me on configuring it with the proper flash settings. Ideally someone from Spain using Digi through Neba/Movistar, but any help will be more than welcomed.

SOME VARIATIONS FROM THE OFFICIAL GUIDE THAT I HAD TO FOLLOW: - I could not upload any file to the UF-Instant via the nc command (which is not available neither in 4.1.0 nor in 4.4.9), so I grabbed them from my computer via the telnet session using the wget command after mounting a small web-server on my computer. Nevertheless, the MD5 checksums of all the uploaded files matched on both sides (computer/UF-Instant). - The erase_all command does not exist in version 4.4.9, so I used erase instead. I also had to use the cat command to move the hacked mtd7 from tmp to dev - After replacing the mtd7 partition and rebooting, partition 1 version is no longer 4.3.1 but 1.9.0 instead (in a "non-Ubiquiti" format). I guess this is okay and that it is due to the hacking process done by stich86.

Kozino1 commented 8 months ago

** erase mtd3 (config) and mtd7 (rootfs of image1) flash_eraseall /dev/mtd3 && flash_eraseall /dev/mtd7

** erase mtd3 (config) and mtd5 (rootfs of image0) flash_eraseall /dev/mtd3 && flash_eraseall /dev/mtd5

Kozino1 commented 8 months ago

@SrTaronja Ideally someone from Spain using Digi through Neba/Movistar, but any help will be more than welcomed. https://forum.mikrotik.com/viewtopic.php?t=116364&sid=2217293499ed676013f4f7d52e531242