Skip to content

Instantly share code, notes, and snippets.

@ryck
Created January 7, 2021 16:26
Show Gist options
  • Save ryck/d3157331368c3555da06ee0eee1f10dd to your computer and use it in GitHub Desktop.
Save ryck/d3157331368c3555da06ee0eee1f10dd to your computer and use it in GitHub Desktop.
USG + Sky
{
"interfaces": {
"ethernet": {
"eth0": {
"address": ["dhcp"],
"dhcp-options": {
"client-option": [
"retry 60;",
"send dhcp-client-identifier "bacons";"
],
"default-route": "update",
"default-route-distance": "1",
"name-server": "no-update"
}
}
}
}
}
@ryck
Copy link
Author

ryck commented Jan 8, 2021

I don't have a cloudkey anymore, but it should be in /usr/lib/unifi/data/sites/default

@hfmitchell
Copy link

Well after a day of pulling my hair out I am no closer to getting this to work! I just cannot for the life of me get an Internet connection. I've factory reset the USG3, cloud Key Gen 2 and unifi switch. I've tried using WinSCP to put the Jason file into the cloud key folder as described with correct permissions but no luck. Tried factory resetting again and setting up the site and provisioning the USG first but still no luck. Tried to ssh and enter the commands manually for option 61 as seen on unifi forums but whatever seems to work for others just won't work for me! I wonder if it might be my Vigor 130 causing the issue but I can see it is in bridge mode when I connect to it and I get the vdsl connection on the home page ok. I am thinking of maybe posting everything I've done on the unifi & sky forums to see if anyone can help out otherwise it looks like no more unifi products sadly 😢

@ryck
Copy link
Author

ryck commented Jan 18, 2021

  1. You should be able to change your config.gateway.json. Without the proper json there your USG won't connect. So edit the file, force provision and wait, give it a couple of hours min.
  2. I don't think is the modem. I have the same one and I never touched it, it worked out of the box.
  3. Don't give up! It's overcomplicated (thanks Sky!) but is definitely possible!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment