The first picture is the router my ISP installed: an all-in-one ONT + router that terminates the fiber and handles routing, NAT and Wi-Fi. They gave it to us against our will - I want to keep my own router (the OpenWrt box with my VLANs, firewall, DHCP and Wi-Fi) and have the fiber terminate in an ONT I control.

The ISP’s router: a ZTE ONT + router with its GPON SN printed on the label

The plan: read the GPON SN from the ISP router, write it into a Ubiquiti UFiber Loco, and run the Loco in bridge mode in front of my own router. This is the prototype - street fiber into the Loco, Loco bridged to my router:

Prototype: street fiber feed -> UFiber Loco (ONT) -> my own router

Prerequisites

  • A Ubiquiti UFiber Loco (or another UFiber device supported by the configurator).
  • An Ethernet cable and a PC/laptop with an Ethernet port.
  • 7-Zip (Windows) to extract the configurator release.

Install UFiber.Configurator

  1. Download the release from this link. It downloads a .zip.
  2. Decompress it with 7-Zip. That gives you a file called UFiber.Configurator-Windows.
  3. Rename that file to UFiber.Configurator-Windows.zip and decompress it again.
  4. Now you have the actual binary at win-x64/UFiber.Configurator.exe.

Configure the network on your PC/laptop

Connect an Ethernet cable directly from your machine to the ONT (no switch or router in between) and disable Wi-Fi and any VPN. The UFiber Loco answers on 192.168.1.1 with ubnt / ubnt, so put your adapter on the same /24:

  1. Set a static IPv4 address: 192.168.1.10, mask 255.255.255.0, gateway 192.168.1.1, DNS empty.

    • Windows: Settings -> Network & Internet -> Ethernet -> IP assignment -> Manual.
    • Linux: sudo ip addr add 192.168.1.10/24 dev eth0 && sudo ip link set eth0 up
    • macOS: System Settings -> Network -> Ethernet -> Details -> TCP/IP -> Manually.
  2. Verify the ONT is reachable:

    ping 192.168.1.1
    

If the ONT still hands out DHCP leases, leaving the adapter on DHCP also works, but the static address above always does.

Factory reset

Highly recommended if you used that ONT in the past, you can check the vendor’s instructions.

SN change

1. Read the GPON SN from the ISP router

The label on the back of the ISP router shows its GPON SN - in the first picture it is ZTEG11111111: the vendor prefix ZTEG (ZTE) followed by 8 characters. The same value is usually visible in the ISP router’s web UI.

Write yours down; that is the value we are going to clone into the UFiber Loco.

2. Write the SN into the UFiber Loco

Do a dry run first:

win-x64/UFiber.Configurator.exe --host 192.168.1.1 --user ubnt --pw "ubnt" --vendor ZTEG --serial 11111111 --dry-run

Then overwrite the SN with the real one:

win-x64/UFiber.Configurator.exe --host 192.168.1.1 --user ubnt --pw "ubnt" --vendor ZTEG --serial 11111111

Replace 11111111 with your own 8 characters and keep --vendor as the prefix (ZTEG for ZTE).

We should see:

Uploading patched file to the target UFiber device...
Uploaded!
### Applying patched file on the target UFiber device...
### Applied patch! Please reboot your UFiber device to load the new image.

3. Reboot the ONT over SSH

The UFiber Loco runs Linux and has SSH enabled, so the reboot is done over SSH on the Ubiquiti itself - no need to pull the power. Connect and run reboot:

ssh -l ubnt 192.168.1.1
# password: ubnt
reboot

Or as a one-liner:

ssh -l ubnt 192.168.1.1 reboot

Accept the host key fingerprint when asked (yes). The session drops when the device reboots, which is expected. The patch is written to the device’s flash, so the SN change is persistent after the reboot.

Verify in the UI

After the reboot, if the OLT only authenticates against the SN, the UFiber UI shows the link as connected and the serial number it is presenting. That is how you know the clone worked:

UFiber Loco UI showing STATE CONNECTED and the cloned serial number