notebook:copy_config.gateway.json_to_unifi_controller

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
notebook:copy_config.gateway.json_to_unifi_controller [2018/05/27 20:40] macgeek312notebook:copy_config.gateway.json_to_unifi_controller [2025/05/12 13:37] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== COPY CONFIG.GATEWAY.JSON TO UNIFI CONTROLLER ====== ====== COPY CONFIG.GATEWAY.JSON TO UNIFI CONTROLLER ======
-\\+ 
 +<bootnote warning>Adding a custom **config.gateway.json** could cause unintended consquences such as a provisioning loop on your USG. Please be careful and validate your file via **[[https://jsonlint.com/ | JSONlint]]** before creating or replacing on your controller; however, this **DOES NOT** promise proper provisioning...**ONLY** that the JSON is valid.</bootnote> 
 + 
 ===== Mac OS X / Linux ===== ===== Mac OS X / Linux =====
   * Open Terminal on your machine   * Open Terminal on your machine
   * Navigate to the folder where the **config.gateway.json** file resides on your computer.   * Navigate to the folder where the **config.gateway.json** file resides on your computer.
   * Enter the following :   * Enter the following :
-      * <code>scp config.gateway.json <user>@x.x.x.x:~</code>+      * <code>scp config.gateway.json <user>@x.x.x.x:<site path></code>
 <bootnote>   <bootnote>  
       * <user> - your user account on the UniFi Controller's operating system       * <user> - your user account on the UniFi Controller's operating system
       * x.x.x.x - UniFi Controller's IP       * x.x.x.x - UniFi Controller's IP
 +      * <site path> - Path to <unifi-base> on controller (see below)
 </bootnote> </bootnote>
-  * SSH into your controller. 
-  * Navigate to the location of the folder <unif-base> where **config.gateway.json** should exist. 
-    * [[https://help.ubnt.com/hc/en-us/articles/115004872967| UniFi - Where is <unifi_base>]] - for information on where the folder resides. 
-    * Unifi Controller Example (with only one site in default): 
-      * <code>cd /srv/unifi/data/sites/default/</code> 
-  * Rename the file to replace the current version. 
-    *<code>sudo mv ~/config.gateway.json config.gateway.json</code> 
  
-<bootnote warning>Adding a custom **config.gateway.json** could cause unintended consquences such as a provisioning loop on your USG. Please be careful and validate your file via **[[https://jsonlint.com/ | JSONlint]]** before creating or replacing on your controller; however, this does NOT promise proper provisioning...ONLY that the JSON is valid</bootnote>+* [[https://help.ubnt.com/hc/en-us/articles/115004872967UniFi - Where is <unifi_base>]] - for information on where the folder resides.
  • notebook/copy_config.gateway.json_to_unifi_controller.1527471640.txt.gz
  • Last modified: 2025/05/12 13:37
  • (external edit)