Stoufiler / GO-BOX

CLI to generate commands to bypass Orange Livebox
https://stoufiler.github.io/isp/bypass-livebox/
43 stars 4 forks source link

GO-BOX

Tool to help you to bypass your Livebox or Funbox
![GitHub all releases](https://img.shields.io/github/downloads/StephanGR/GO-BOX/total?style=for-the-badge)

Overview

GO-BOX is an application written in GO that allows you to automatically generate commands to help you to bypass your Livebox or Funbox

This idea came to me while looking for how to replace my Livebox with my UDM SE.

I've spent so much time to find how to configure the SFP GPON and DHCP Options, so to learn GO and share to community I decided to create this simple app

Setup

Use binaries

Download latest release according to your OS

tar -xvcf GO-BOX_Linux_x86_64.tar.gz
cd GO-BOX_Linux_x86_64
./gobox

Compile by yourself

git clone https://github.com/StephanGR/GO-BOX.git
cd GO-BOX
go build .
./GO-BOX

Usage

NAME:
   GO-BOX - CLI tool to fetch infos from Livebox/Funbox

USAGE:
   GO-BOX --ip <box ip> --box <livebox/funbox>

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --box value  Type of orange box (Livebox, Funbox)
   --ip value   IP address of box
   --help, -h   show help

Windows

Open a powershell terminal or cmd and go to executable file

.\GO_BOX.exe --ip 192.168.1.1 --box livebox

Linux / MacOS

Open a terminal and go to executable file

./GO-BOX --ip 192.168.1.1 --box livebox

Example

Do not copy, because some values are redacted due to security/privacy reasons and each modem has its own unique values

./GO-BOX --ip 192.168.1.1 --box livebox
Password : 
✅ Successfully connected to Livebox ! ✅

===========LEOX GPON COMMAND=============
flash set GPON_SN SMBS031E9F7D
flash set PON_VENDOR_ID SMBS

## Unplug fiber from Livebox and plug it into UDM and wait a minute ##

Execute this command -> omcicli mib get 131

OLT VENDOR ID (HWTC, ALCL, ...) : ALCL

Execute this command -> flash set OMCC_VER 128
flash set HW_HWVER SMBSSGLBF121
flash set OMCI_SW_VER1 SAHEOFR046600
flash set OMCI_SW_VER2 SAHEOFR045314
flash set OMCI_TM_OPT 0
flash set OMCI_OLT_MODE 1
=========================================

==========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 (Requires Network App 7.4.X or later)
=========================================

Contribution

If you encounter any OLT Vendors that are unknown to us please open an issue so we can figure it out together!

Special thanks

I would never have been able to have all this information without the help of the lafibre.info forum as well as iMordo

Thanks to them !