Browse Source

Update USAGE.md

Alex 4 years ago
parent
commit
bb0c5a6d50
1 changed files with 4 additions and 4 deletions
  1. 4 4
      docs/USAGE.md

+ 4 - 4
docs/USAGE.md

@@ -110,11 +110,11 @@ On each machine you would like to add to the network, do the following:
 1. Confirm wireguard is installed: `sudo apt install wireguard-tools`
 2. Confirm ipv4 forwarding is enabled: `sysctl -w net.ipv4.ip_forward=1`
 3. Create a key or enable manual node signup at the network level
-4. Get the binary: `sudo wget 52.55.6.84:8081/meshclient/files/meshclient`
-5. Make it executable: `sudo chmod +x meshclient`
-6. Run the install command: `sudo ./meshclient -c install -g <network name> -s <server:port> -k <key value>`
+4. Run the install command generated by key create: `sudo curl -sfL https://raw.githubusercontent.com/gravitl/netmaker/v0.2/netclient-install.sh | KEY=YOUR_TOKEN sh -`  
+4.a. For subsequent installs, you can just run `sudo netclient -c install -t YOUR_TOKEN`
+4.b. For offline installs, you can self-host a netclient file server on netmaker
 
-This will install netclient.service and netclient.timer in systemd, which will run periodically to call the netclient binary, which will check to see if there are any updates that it needs and update WireGuard appropriately.
+This will install netclient@.service and netclient-YOUR_NET.timer in systemd, which will run periodically to call the netclient binary, which will check to see if there are any updates that it needs and update WireGuard appropriately.
 
 ## BUILDING
 **Back End Compilation**