Skip to content

Step-by-Step Guide to Replacing Orange LIVEBOX with UDM PRO SE

With Orange fiber (FTTH), the Livebox does two jobs: it terminates the fiber (it contains the ONT, the fiber modem) and it routes your network. This guide replaces it entirely with a UniFi Dream Machine Pro SE (UDM PRO SE).

How it works

The fiber plugs into a GPON SFP stick, a tiny ONT that fits in the SFP+ port of the UDM. For the Orange network to accept it, the stick must present the identity of your Livebox (serial number, hardware and software versions), and the UDM must authenticate like the Livebox does (VLAN 832, DHCP options). All these values are read from your own Livebox in STEP 7.

Before: fiber ── Livebox (ONT + router) ── UDM PRO SE ── your network
After:  fiber ── GPON stick in UDM PRO SE (SFP+ port) ── your network

Before you start

  • Internet only: this guide covers Internet access. Orange TV and the landline phone, which rely on the Livebox, are not covered.
  • Keep the Livebox connected and working until STEP 7: the values it holds are required.
  • Plan an Internet cut of a few minutes during STEP 10.
  • Keep the Livebox afterwards: it is your way back if anything goes wrong (see Rollback), and Orange expects it back if you end your contract.

What do you need?

Info

You can order the GPON by sending an email or through the contact page. The price is 70 USD net per piece, plus 23% VAT for individuals, plus delivery. It comes to around 90 EUR for an individual, depending on the exchange rate and the delivery destination.

Warning

Make sure to get an SC-APC / SC-UPC cable (green / blue).

SC-UPC (blue) is plugged into the GPON

SC-APC (green) is plugged into the fiber wall socket in your house/apartment

STEP 1: Create a configuration network

On the UDM PRO SE:

  • Create a new network named CONF LEOX
  • Uncheck Auto-Scale Network
  • Set Host Address to 192.168.100.2
  • Set Netmask to 29 (5 usable IPs)
  • Set DHCP Mode to DHCP Server
  • Set DHCP Range to:
  • Start: 192.168.100.2
  • Stop: 192.168.100.6

Step 1

STEP 2: Connect the GPON adapter for configuration

Warning

The GPON must be plugged into a LAN port (port 11)

On the UDM PRO SE:

  • Set the port profile of the GPON port to the newly created network: CONF LEOX
  • Apply changes

Step 2

STEP 3: Allow your computer to access the GPON configuration

Info

Because this network has a DHCP server, your computer will automatically receive an IP address in the same subnet as the GPON

To communicate with the GPON, you need to be in the same subnet

On the UDM PRO SE:

  • Set the port profile of your computer's port to CONF LEOX
  • Apply changes

Step 3

STEP 4: Upgrade the GPON to the latest version

Step 4

Info

There is currently no changelog page on the Leolabs website, but they plan to publish one.

STEP 5: Verify the firmware version

Once the upgrade is done, check the version:

Step 5

STEP 6: Connect to the GPON via telnet

On the UDM PRO SE:

  • Install telnet package
apt update
apt install telnet
  • Open a telnet connection to the GPON
telnet 192.168.100.1
Trying 192.168.100.1...
Connected to 192.168.100.1.
Escape character is '^]'.
LXT-010S-H login: leox
Password: leolabs_7
#

You are now connected to the GPON.

STEP 7: Get the required information from the Livebox

Warning

Your computer must reach the Livebox (192.168.1.1 by default) for this step: the Livebox still has to be connected and powered on.

I've written a small Go application that fetches this information directly from the Livebox.

  • Download the app : GOBOX
  • Run it
  • Enter the Livebox IP, username and password

You should get something like this:

> ./gobox
Livebox IP : 192.168.1.1
Username : admin
Password :
✅ Successfully connected to Livebox ! ✅

===========LEOX GPON COMMAND=============
flash set GPON_PLOAM_PASSWD DEFAULT012
flash set OMCI_TM_OPT 0
flash set OMCI_OLT_MODE 1
flash set GPON_SN XXXXXXXXXXXX
flash set PON_VENDOR_ID SMBS
flash set HW_HWVER XXXXXXXXXXXX
flash set OMCI_SW_VER1 XXXXXXXXXXXXX
flash set OMCI_SW_VER2 XXXXXXXXXXXXX
=========================================

==========UDM PRO SE SETTINGS============
NAME              : LEOX GPON
VLAN ID           : 832
MAC Address Clone : XX:XX:XX:XX:XX:XX
DHCP OPTION 60    : sagem
DHCP OPTION 77    : FSVDSL_livebox.Internet.softathome.Livebox5
DHCP OPTION 90    : 00:00:00:00:00:00:00:00:00:00:00:1a:09:00:00:05:58:01:03:41:01:0D:66:74:69:2F:67:66:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX
DHCP CoS          : 6
=========================================

STEP 8: Configure the GPON

  • Go back to GPON configuration
  • Copy/paste all the LEOX GPON COMMAND lines from STEP 7
  • Check the GPON state
> diag gpon get onu-state
# IT SHOULD RETURN O5
gpon get onu-state
ONU state: Operation State(O5)

Info

  • If you get Operation State(O1), check your cable
  • If you get Operation State(O5), everything is fine and you can continue

Now find the OltVendorId:

> omcicli mib get 131
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
OltG
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
=================================
EntityId: 0x00
OltVendorId: ALCL
EquipId:
Version:
ToDInfo:
 Sequence number of GEM superframe: 0x0
 Timestamp: secs 0, nanosecs 0
=================================

OltVendorId should not be empty. If it is, check the previous steps.

Here, the OltVendorId is ALCL (Alcatel), so set OMCC_VER to 128 (see the table below for other vendors):

flash set OMCC_VER 128
OltVendorID OMCC_VER
ALCL 128
HWTC 136

GPON Configuration is done

STEP 9: Configure the UDM PRO SE

Make sure you are running UniFi Network version 7.4.145 or later

  • Go to UDM PRO SE -> Network -> Settings -> Internet
  • Select the second internet source

Step 9.1

Fill in everything returned by STEP 7

Apply your changes.

You should get something like this:

Step 9.2

STEP 10: Test in production

  • Move the GPON from port 11 to port 10
  • Wait a bit
  • You should see a public IP address in Network -> Settings -> Internet:

Step 10

You are now connected to the Internet without the Orange Livebox

Warning

If you get a private IP such as 172.16.152.14, something is misconfigured. Check all the steps and try again.

Once everything works, set the port profile of your computer back to its usual network, and delete the CONF LEOX network.

Troubleshooting

  • Operation State(O1) or no light on the stick: the fiber is not received. Check that the green connector goes to the wall socket, the blue one to the stick, and that the connectors are clean and fully inserted.
  • Stuck in O2, O3 or O4: the Orange network refuses the stick. Check the GPON_SN, HW_HWVER and OMCI_SW_VER values against STEP 7.
  • O5 but no IP on the UDM: check VLAN 832, the cloned MAC address and the DHCP options (60, 77, 90) in the UDM settings.

Rollback

To get back to the Livebox at any time:

  1. Unplug the fiber cable from the GPON stick and plug it back into the Livebox (or its ONT).
  2. On the UDM PRO SE, switch the Internet connection back to the port connected to the Livebox.
  3. Wait a few minutes for the Livebox to resynchronize.