Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


davidcole

6029 posts

Uber Geek

Trusted

#239434 17-Jul-2018 14:45
Send private message



Seems updates for the controller software has started duplicating some of the functions that are now offered in the gui so, because I had static name/up assignments in config.gateway.json the network name definition changed to include eth1. So it stopped working, and then with a firmware upgrade dns wouldn’t start. I managed to fix the network name issue and get dhcp going but I looked today at my clients and only the wireless items were shown, no wired.

I did a reboot of the controller and now the USG is not connected.

I assume I can set inform on it. But I also have lost the UniFi dns entry. It was in the config.boot, how can I get that back so that it can provision the device. I could add it to the config.gateway, but feel I just need a temporary method so that I can force provision.


or should I just start using dnsmasq for static dns assignments of clients?




Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


Create new topic
muppet
2566 posts

Uber Geek

Trusted

  #2057811 17-Jul-2018 15:24
Send private message

For something this specific you'd be way, way better posting in the Unifi forums.




davidcole

6029 posts

Uber Geek

Trusted

  #2057825 17-Jul-2018 15:40
Send private message

muppet:

 

For something this specific you'd be way, way better posting in the Unifi forums.

 

 

 

 

been there done that...you beat them in the fact that you actually replied...and it's normally faster to get resolution here than there.





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


michaelmurfy
meow
13240 posts

Uber Geek

Moderator
ID Verified
Trusted
Lifetime subscriber

  #2057967 17-Jul-2018 18:30
Send private message

Where is your UniFi server running? If it isn't showing up on the controller as online it is a factory reset / reprovision jobbie I'm afraid.




Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)

Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.




davidcole

6029 posts

Uber Geek

Trusted

  #2057986 17-Jul-2018 19:33
Send private message

I did a reboot on the USG then it did show up online. The controller is local.

And with that seems to be serving dhcp




Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


delebru
15 posts

Geek


  #2058195 18-Jul-2018 10:13
Send private message

I would suggest to always clear the config.gateway.json before updating the controller but unfortunately you're past that point :P

 

You could try removing the gateway.json, doing a factory reset to the USG and adopting it again in the controller. Then add all the DHCP reservations on the controller, not the gateway.json. If you still need some other manual configs in the gateway.json, it may be a good idea to check if the config structure didn't change before adding it to the controller again.

 

As far as I know the only DHCP provider on a UniFi network is the USG (or USG-P4, USG-XG), not the controller. You may need to manually set the IPs on the controller and USG config after doing the USG factory reset.

 

What controller version are you using? Did it recommended a specific USG firmware version? What other settings do you have in the gateway.json?


davidcole

6029 posts

Uber Geek

Trusted

  #2058204 18-Jul-2018 10:22
Send private message

delebru:

 

I would suggest to always clear the config.gateway.json before updating the controller but unfortunately you're past that point :P

 

You could try removing the gateway.json, doing a factory reset to the USG and adopting it again in the controller. Then add all the DHCP reservations on the controller, not the gateway.json. If you still need some other manual configs in the gateway.json, it may be a good idea to check if the config structure didn't change before adding it to the controller again.

 

As far as I know the only DHCP provider on a UniFi network is the USG (or USG-P4, USG-XG), not the controller. You may need to manually set the IPs on the controller and USG config after doing the USG factory reset.

 

What controller version are you using? Did it recommended a specific USG firmware version? What other settings do you have in the gateway.json?

 

 

 

 

Yeah I think that's what I might need to do going forward.  I think they're adding more into the controller, so things like static machine ips/names look like they're starting to conflict by being in the config.json.

 

Also looks like they're using dnsmasq more....so I might be better to start using that for static names (I prefer to have it in a file to hidden int he controller db/settings).

 

 

 

 





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


delebru
15 posts

Geek


  #2058242 18-Jul-2018 10:37
Send private message

Ah yup, if you want to have it all in the config.gateway.json (CGJ :P) you will probably need to:

 

  • remove the CGJ
  • factory reset the USG
  • adopt the USG
  • ssh into the USG and manually add one entry of each config you will want in the CGJ for reference
  • download the full USG configuration into a file
  • check if the structure changed for your custom settings
  • remake your CGJ

Not sure if there's an easier way but that would be my approach.


Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.