Edgemax Setup For Orange France FTTH
French version and support of this guide is here : http://www.homelabs.fr
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:
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
Requirements
You'll need :
- Minimal general handling of the edgemax, CLI, editing conf, etc...
- 1.7 firmware (at the moment of writing 1.7 RC2 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 withsudo
Prepare and load the conf and assets.
- Download https://github.com/c0mm0n/edgemax4orange/blob/master/config-orange.boot
- Edit lines 44 and 45 with your Orange logins (fti/xxxxx and password)
- Replace the xx:xx:xx:xx:xx:xx with the TV mac address deduced from the livebox one (the +4 one). the "1:" must stay.
- Upload file on edgemax in /config folder
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
- Install vlan : either
apt-get install vlan
(untested but should be the easiest method) - or get it there : https://github.com/c0mm0n/edgemax4orange/blob/master/vlan_1.9-3_mips.deb and install with
dpkg -i /config/scripts/post-config.d/vlan_1.9-3_mips.deb
Then, in ssh :
modprobe 8021q
Now is time to launch my custom script which will :
- Set priorities on Vlans
- Launch DHCP on br0
- Launch igmpproxy
sh /config/tv.sh
Now you should :
- Have internet access
- Got an IP through dhcp on br0
Now reboot your Orange TV Box, everything should work fine.