From 2132cadc8b5cf73c69b06a0b88fb13cb4dff9c24 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 5 Nov 2018 14:01:31 -0800 Subject: docs: n3xx & e320: Add more information on Salt --- host/docs/usrp_n3xx.dox | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) (limited to 'host/docs/usrp_n3xx.dox') diff --git a/host/docs/usrp_n3xx.dox b/host/docs/usrp_n3xx.dox index ff471e46f..f35da1420 100644 --- a/host/docs/usrp_n3xx.dox +++ b/host/docs/usrp_n3xx.dox @@ -553,6 +553,48 @@ salt-minion): $ systemctl enable salt-minion +To make use of Salt, both the device needs to be configured (the "minion") and, +typically, a server to act as the Salt master. Refer to the Salt documentation +on how to configure the minion and the master. A typical sequence to get started +will look like this: + +1. Install the salt-master package on the server (e.g. by running `apt install salt-master` + if the server is an Ubuntu system), and make sure the Salt master is running. +2. Add the network address / hostname of that server to the `/etc/salt/minion` + file on the device by editing the `master:` line. +3. Launch the Salt minion on the USRP by running the command `systemctl start salt-minion`. +4. The minion will try to connect to the master. You need to authorize the + minion by running `salt-key -a $hostname` where `$hostname` is the name of + the minion. +5. Once the device is authorized, you can try various commands to see if the + communication was established: + + $ [sudo] salt '*' test.ping + ni-n3xx-311FE00: + True + $ [sudo] salt '*' network.interfaces + ni-n3xx-311FE00: + ---------- + eth0: + ---------- + hwaddr: + 02:00:03:11:fe:00 + inet: + |_ + ---------- + address: + 10.16.32.113 + broadcast: + 10.16.33.255 + label: + eth0 + netmask: + 255.255.254.0 + up: + True + # [...] + + \section n3xx_synchronization Clock/Time Synchronization \subsection n3xx_synchronization_internal Internal references -- cgit v1.2.3