From: jmichel Date: Wed, 13 Feb 2013 16:31:44 +0000 (+0100) Subject: added rpc config for ubuntu X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=f86e1cf2c936f2c3821a42a6c85ec1d42f5e3fb5;p=daqdocu.git added rpc config for ubuntu --- diff --git a/trb3/GbEGettingStarted.tex b/trb3/GbEGettingStarted.tex index af0e0c2..346f27c 100644 --- a/trb3/GbEGettingStarted.tex +++ b/trb3/GbEGettingStarted.tex @@ -52,20 +52,24 @@ interface, so we have to tell the rpcbind daemon running on the machine where the trbnetd should run, that it should accept connections from anywhere. This is the option "-i". -In OpenSuse you have to edit the file -/etc/sysconfig/rpcbind and make the following entry: +\paragraph{OpenSuse}~\\ +Edit the file +\verb!/etc/sysconfig/rpcbind! and make the following entry: +\verb!RPCBIND_OPTIONS="-i"! +and then restart the daemon: +\verb!rcrpcbind restart! -\begin{verbatim} - RPCBIND_OPTIONS="-i" -\end{verbatim} -and then restart the daemon: +\paragraph{Ubuntu}~\\ +Using a recent ubuntu-flavoured Linux, the setting can be found in +\verb!/etc/init/portmap.conf!, change the line \verb!OPTIONS="-w"! to +\verb!"-wi"!. Then restart portmap: \verb!service portmap restart!. -\begin{verbatim} - rcrpcbind restart -\end{verbatim} - -If you have a running instance of trbnetd and want to know to which TRB3 it connects: + + + +If you have a running instance of trbnetd and want to know to which TRB3 it +connects: \begin{verbatim} cat /proc/$(pgrep -f "trbnetd")/environ | strings | grep TRB3 \end{verbatim} diff --git a/trb3/main.tex b/trb3/main.tex index 7fba822..0f5af49 100755 --- a/trb3/main.tex +++ b/trb3/main.tex @@ -30,6 +30,7 @@ \usepackage{wrapfig} \usepackage[caption=false]{subfig} \usepackage{amsmath} +\usepackage[update,prepend]{epstopdf} \definecolor{darkblue}{rgb}{.1,.1,.6} \usepackage[linkbordercolor={0 0 0},