20 Jul 2022 09:31 PM
@BentleyBoy183 I've had a look at the dump from my USG and from my understanding, the config.gateway.json file is used to ensure anything present in the file is used when the device is rebooted whereas issuing the command line instructions is lost after a reboot.
I'd run mca-ctrl -t dump-cfg before doing anything so you've got the current settings then issue the commands and then run the dump again. In there you should have eth0, eth1 & eth2.
Compare the eth0 sections and create a config.gateway.json file for any new config in the 2nd dump in the format of
{
"interfaces": {
"ethernet": {
"eth0": {
<New Config>
}
}
}
}
}
The New Config needs going in exactly as in the dump taken after issuing the commands. Each section of new config needs seperating with a comma (bar the last one)
Send the file to your support team and they need to save it in the /usr/lib/unifi/data/sites/default/ directory on the USG. They don't/shouldn't need the whole dump file.
I'd check to see if you have anything in a config.gateway.json file currently as this would obviously overwite that.
If you do combine them and send that over.
21 Jul 2022 06:11 AM
Quick update as my fibre was swapped onto Sky overnight.
I just enabled DHCPv4 in the GUI and it's connected
I haven't had to run any CLI commands or edit my config.gateway.json file.
speedtest.net shows me on sky's network and I'm getting the same up & down speeds as my previous ISP (BT)
I'll see how it goes
21 Jul 2022 09:56 AM
@Doofusburger thank you for the update. I was also enabled overnight and have tested using the Sky provided router to confirm the broadband was working.
My original settings on the USG for the WAN were as follows:
USG "WAN" Settings for BT Broadband
Are you saying that you made a change in the GUI to enable DHCPv4 and that alone allowed your USG to connect (i.e. no setting of DHCP scope options)?
Please could you share a screen shot of your configuration?
21 Jul 2022 10:10 AM
Posted by a Superuser, not a Sky employee. Find out moreThat screenshot you posted can't be shown as it contains your username so feel free to upload it again with that bit blanked out !
21 Jul 2022 10:17 AM
Sorry @caesarome I will share again without that username. That was the username which is standard for all PPoE connections to BT Broadband (FTTP) as is the password (not shown), but to be safe I have now blanked it out. That you for flagging.
My original settings on the USG for the WAN (Internet) with BT Broadband (FTTP) were was follows:
21 Jul 2022 10:34 AM
Posted by a Superuser, not a Sky employee. Find out more
@caesarome wrote:That screenshot you posted can't be shown as it contains your username so feel free to upload it again with that bit blanked out !
That was/is generic BT username used in a similar way to the SKy one is often shown in images & frequently given freely in this forum 🙂
Also approved on this post
😄
21 Jul 2022 09:10 PM
@BentleyBoy183 , Sorry been at work. yeah all I did was enable DHCPv4 and disabled DHCPv6. nothing else.
Here is my Advanced config.
21 Jul 2022 09:19 PM
As a comparison here was the eth0 interface config from a dump of the USG (minus BT username & password)
21 Jul 2022 09:25 PM
Damn no edit facility so I'll chuck this in here.
For reference, I'm running v7.1.66 of the Unifi Network Application
21 Jul 2022 09:49 PM
Posted by a Superuser, not a Sky employee. Find out more
@Doofusburger wrote:Maybe I should try that but that will have to wait until the weekend as I can't risk having connection issues tomorrow as it's a WFH day and I don't want to miss the Tour De France🤣
@Doofusburger Today's stage was excellent 🙂
22 Jul 2022 07:14 AM
My connection dropped overnight so I'm assuming that's when the DHCP lease expired.
I've issued the following commands on the UDG CLI interface
Configure
set interfaces ethernet eth0 dhcp-options client-option "send dhcp-client-identifier "bacons";"
commit;save;exit
After a while, the connection came back.
Oh I also enabled DHCPv6 with the prefix set to 64 as I noticed on the sky router they were using DHCPv6 though it looks like they might be using a prefix of 56
I'm now struggling to find the gonfig.gateway.json file as it looks like Unifi have to change the location with the newer versions of the network app
I have found one in /root.dev/w.o/home/<username>/config.gateway.json
where <username> is actually the username used to SSH to the devices (you can find this in the GUI under Settings > System > Network Device SSH Authentication)
I'm starting work soon so I'm going to modify the file here but leave a reboot/re-provision till tomorrow morning.
22 Jul 2022 08:07 AM
😠really should keep up with emails as I've just seen this from Sky yesterday
I do seem to be getting the speed expected. Hope it's not too intermitted today
22 Jul 2022 03:27 PM
Thank you @Doofusburger this information is very useful. I'm up and running with the Sky Hub in place of my USG (and I have learned that the rest of my Ubiquity UniFi equipment can continue to be managed from the cloud controller - which is good). I've got the family visiting this weekend so will test the switch to the USG next week although all is working well so might stick with the as-is.
01 Jan 2023 12:03 PM
Hi @BentleyBoy183 I know this is a old post but I hope you get a notification for this.
I'm with sky FTTC and at the moment use a Draytek modem to make the connection with it's wi-fi turned off and connect that to 2 Netgear APs flashed with Openwrt but I'm looking at changing as much as I can to Unifi.
I'm getting confused with your post I see you entering the internet connection details into the USG but from what I see they don't have a modem or dsl connection only RJ45 ones or does sky FTTC not use the same as me ?
I fancy 2 of the Unifi 6 AC lites but can't work out what other Ubiquiti devices I might need, I know I need PoE somewhere to power the AC lites,
So far I'm thinking I still need to keep my Draytek modem then connect that to Unifi PoE switch (or is a USG the same ?) and hard wire them to however many AC lites I have.
Or is there a way I can get rid of my Draytek as I can't see any modems.
Thanks for any help.
30 Jan 2023 02:55 PM
Hi Doofusburger,
I was just reading through the thread as I know someone that has just got Sky FTTP and we are trying to use a USG3 so going through the same pain.
I have spoken to my cloud controller host unificloud.co.uk and they said I need to provide the .json file.
I wondered if anyone had a .json which I could use, it that possible or would they all be unique?
Regards,
Paul
No problem. Browse or search to find help, or start a new discussion on Community.
On average, new discussions are replied to by our users within 4 hours
New Discussion