Created
          December 7, 2022 14:43 
        
      - 
      
- 
        Save 1ARdotNO/aa5c43d000ecaa71045fd67549d9fb91 to your computer and use it in GitHub Desktop. 
    Install zerotier on Unifi USG
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # related to bug https://github.com/zerotier/ZeroTierOne/issues/1553 | |
| mkdir -p /config/data/firstboot/install-packages | |
| cd /config/data/firstboot/install-packages | |
| curl https://download.zerotier.com/dist/ubiquiti/zerotier-one_mips64.deb --output /config/data/firstboot/install-packages/zerotier-one.deb | |
| mv zerotier-one.deb zerotier-one-xz.deb | |
| ar -x zerotier-one-xz.deb | |
| xz --decompress control.tar.xz | |
| xz --decompress data.tar.xz | |
| gzip control.tar | |
| gzip data.tar | |
| ar -r zerotier-one.deb debian-binary control.tar.gz data.tar.gz | |
| sudo dpkg -i zerotier-one.deb | |
| sudo zerotier-cli join <networkid> | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment