aboutsummaryrefslogtreecommitdiffstats
path: root/host/docs/usrp_n3xx.dox
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2018-11-05 14:01:31 -0800
committerMartin Braun <martin.braun@ettus.com>2018-11-08 09:39:43 -0800
commit2132cadc8b5cf73c69b06a0b88fb13cb4dff9c24 (patch)
tree5019f9bbb25fbf4ae7409d8394baad11a01675be /host/docs/usrp_n3xx.dox
parentd8c72d42707968dc0fd27853a1743b4d8d33b73e (diff)
downloaduhd-2132cadc8b5cf73c69b06a0b88fb13cb4dff9c24.tar.gz
uhd-2132cadc8b5cf73c69b06a0b88fb13cb4dff9c24.tar.bz2
uhd-2132cadc8b5cf73c69b06a0b88fb13cb4dff9c24.zip
docs: n3xx & e320: Add more information on Salt
Diffstat (limited to 'host/docs/usrp_n3xx.dox')
-rw-r--r--host/docs/usrp_n3xx.dox42
1 files changed, 42 insertions, 0 deletions
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