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.


4053 posts

Uber Geek
+1 received by user: 535

Trusted

Topic # 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

NextPVR: 
Gigabyte AMD A8 Brix --> Samsung LA46A650D via HDMI, NextPVR,
OpenHAB: ODroid C2 eMMC DriveOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave and Bluetooth LE Sensors
Media:Chromecast v2, ATV4, Roku3, HDHomeRun Dual
Windows 2012 
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


Create new topic
2010 posts

Uber Geek
+1 received by user: 768

Trusted

  Reply # 2057811 17-Jul-2018 15:24
One person supports this post
Send private message

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




4053 posts

Uber Geek
+1 received by user: 535

Trusted

  Reply # 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

NextPVR: 
Gigabyte AMD A8 Brix --> Samsung LA46A650D via HDMI, NextPVR,
OpenHAB: ODroid C2 eMMC DriveOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave and Bluetooth LE Sensors
Media:Chromecast v2, ATV4, Roku3, HDHomeRun Dual
Windows 2012 
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


Meow
7900 posts

Uber Geek
+1 received by user: 3927

Moderator
Trusted
Lifetime subscriber

  Reply # 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.






4053 posts

Uber Geek
+1 received by user: 535

Trusted

  Reply # 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

NextPVR: 
Gigabyte AMD A8 Brix --> Samsung LA46A650D via HDMI, NextPVR,
OpenHAB: ODroid C2 eMMC DriveOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave and Bluetooth LE Sensors
Media:Chromecast v2, ATV4, Roku3, HDHomeRun Dual
Windows 2012 
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


11 posts

Geek
+1 received by user: 1


  Reply # 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?




4053 posts

Uber Geek
+1 received by user: 535

Trusted

  Reply # 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

NextPVR: 
Gigabyte AMD A8 Brix --> Samsung LA46A650D via HDMI, NextPVR,
OpenHAB: ODroid C2 eMMC DriveOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave and Bluetooth LE Sensors
Media:Chromecast v2, ATV4, Roku3, HDHomeRun Dual
Windows 2012 
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


11 posts

Geek
+1 received by user: 1


  Reply # 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

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



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.

Alternatively, you can receive a daily email with Geekzone updates.