Giter Site home page Giter Site logo

edgemax4orange's Introduction

Edgemax Setup For Orange France FTTH

French version and support of this guide is here : https://lafibre.info/orange-tutoriels/en-cours-remplacer-sa-livebox-par-un-routeur-ubiquiti-edgemax/

Overview


This setup will help you setup an edgemax router for french ISP Orange with FTTH.

Following this tutorial you'll have internet and tv working including replays and vod. Other services like gaming, radios are also reported to work.

Phone will not work but we have a trick if you need it (see at the end).

Network setup


I've came up with the following setup for Orange:

"Orange Setup

Edgemax setup


This is how we gonna set up the edgemax (based on the 3 ports).

  • 2 separated LANs on ports eth0 and eth2
  • Fully functionnal LANs with DHCP
  • LANs are isolated (static routes could link them).

On the software side :

  • Simple Stupid Setup.
  • No firewall, you'll manage this :)
  • Upnp activated on both LANs
  • Debian sources setup

"Edgemax"

Requirements


You'll need :

  • Minimal general handling of the edgemax, CLI, editing conf, etc...
  • 1.5 beta firmware (at the moment of writing beta1 is the latest)
  • Mac address of your original Livebox provided by Orange (written on the back of the Livebox)

All files used for this tutorial are available in the github repo.

Get your TV mac Address


You TV mac address is the same than your livebox one with "4" added to the last byte.

So if you have a mac adress like : a1:b2:c3:d4:e5:f6

f6 + 4 = fa

Your TV mac address will be a1:b2:c3:d4:e5:fa

Edgemax Setup


I presume you are root, by doing :

  • sudo -i or prefixing commands with sudo

Prepare and load the conf and assets.

Now you should be able to load the conf in ssh :

configure
load config-orange.boot
commit

If everything went ok, you can save otherwise discard and start again, something's wrong.

Now it's time to plug ONT on port eth1, your LAN on eth0 or eth2, and reboot the edgemax.

If everything went ok, you now have Internet access through the edgemax.

Now for the TV services

Then, in ssh :

modprobe 8021q

Now is time to launch my custom script which will :

  1. Set priorities on Vlans
  2. Launch DHCP on br0
  3. Launch igmpproxy

sh /config/tv.sh

Now you should :

  1. Have internet access
  2. Got an IP through dhcp on br0

Check like this for the IP on br0 show interfaces

"interfaces"

One last thing for replays/vod, static routes.

  • Get the IP you got from the dhcp on br0
  • Let's say this IP is 10.54.56.154
  • Change the last part with "254", we now have : 10.54.56.254

Use this gateway to setup your static routes like this

route add -net 80.10.117.120/31 gateway 10.54.56.254
route add -net 81.253.206.0/24 gateway 10.54.56.254
route add -net 81.253.210.0/23 gateway 10.54.56.254
route add -net 81.253.214.0/23 gateway 10.54.56.254
route add -net 172.19.20.0/23 gateway 10.54.56.254
route add -net 172.20.224.167/32 gateway 10.54.56.254
route add -net 172.23.12.0/22 gateway 10.54.56.254
route add -net 193.253.67.88/29 gateway 10.54.56.254
route add -net 193.253.153.227/32 gateway 10.54.56.254
route add -net 193.253.153.228/32 gateway 10.54.56.254

You must replace 10.54.56.254 with the value you deduced base on the DHCP IP of br0 and type this through ssh on the edgemax.

Now reboot your Orange TV Box, everything should work fine.

If everything is OK:

Copy / Move the "tv.sh" script in /config/scripts/post-config.d/ for automatic startup execution.

You'll probably need to (unsure, check the script rights) chmod +x tv.sh

edgemax4orange's People

Contributors

c0mm0n avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.