How to make your USG work with Sky Broadband

17 Feb 21

USGSky

To use yout Unifi gear with Sky you need basically two things:

  1. Get a modem
  2. Configure the USG to use the modem

Get a modem

The first thing you need is a modem. You have two options here:

  • Get a Openreach modem. There are two models (Huawei HG612 and ECI B-Focus), but both work. You can get them in Amazon, Ebay, etc. and they are quite old, so you should never pay more than £30 for one.
  • Get a Draytek Vigor 130. This is a more moderm device, and unlike the Openreach ones, you will have access to all the settings. The only drawback is the price, usually is ~2x the price of a Openreach one.

I have, well, all three of them, and I can not tell the difference, but some people swear you may get better results (aka, more speed) with different modems, depending on the DSLAM brand of your local fibre cabinet and stuff like that.

Once you have a modem, connect it to both your (using the RJ11 cable) and your USG (LAN1), so we can proceed to the next step...

Configure the USG to use the modem

Sky uses a weird protocol to provide you username and password. Previously, you would need to sniff your network traffic to find those out, but, thankfully, not anymore, and now you can use any string.

So, they key of all this is to add this configuration to your config.gateway.json

1{
2 "interfaces": {
3 "ethernet": {
4 "eth0": {
5 "address": ["dhcp"],
6 "dhcp-options": {
7 "client-option": [
8 "retry 60;",
9 "send dhcp-client-identifier "bacons";"
10 ],
11 "default-route": "update",
12 "default-route-distance": "1",
13 "name-server": "no-update"
14 }
15 }
16 }
17 }
18}
1{
2 "interfaces": {
3 "ethernet": {
4 "eth0": {
5 "address": ["dhcp"],
6 "dhcp-options": {
7 "client-option": [
8 "retry 60;",
9 "send dhcp-client-identifier "bacons";"
10 ],
11 "default-route": "update",
12 "default-route-distance": "1",
13 "name-server": "no-update"
14 }
15 }
16 }
17 }
18}

Depending on what are you using to host the controller (CloudKey, Docker, etc) your config.gateway.json location can vary, but Ubiquiti has a very nice documentation: UniFi - USG Advanced Configuration Using config.gateway.json

Once you have the right configuration in your config.gateway.json, force a reprovision and wait. Sometimes Sky takes a long time to lease you a new IP, so don't dispair and give it some time (I am talking about up otoa couple of hours)

If you are lucky, your USG should tell your modem how to connect and you will be online in no time!

Troubleshooting

If things are not working, check this:

  • Make sure you are editing the right config.gateway.json file.
  • Force a reprovision, just in case.
  • Reboot everything (modem + USG) and give it some time

Good luck!