LATD.CONF(5) File Formats Manual LATD.CONF(5)NAME
latd.conf - LAT configuration file
SYNOPSIS
/etc/latd.conf
DESCRIPTION
/etc/latd.conf is a shell script (run by /bin/sh) that is run when latd is started up using the latcp -s command.
It contains commands used to customise lat for your site and usually consists of a list of latcp commands.
latd.conf is run with a minimal PATH and a minimal environment. The variable $LATCP points to the latcp binary used to invoke the script.
EXAMPLE
# /etc/latd.conf
# This is a sample configuration file for latd
# it is run as s shell script from latcp -s with a minimal
# environment and PATH. latcp should be invoked using the
# environment variable $LATCP.
#
# You can fiddle with all the latd parameters you like in here,
# the first service announcement will not be made until this
# script completes.
#
# Set the multicast timeout to 30 seconds
$LATCP -m 30
# Add another login service
$LATCP -A -a ZAPHOD -r 100
# Add a queued reverse LAT service to a printer on a DECserver
$LATCP -A -p /dev/lat/printer -Hdecserver -Vdecserver -Q
# Only advertise our service in groups 1-10 and 200
$LATCP -G 1-10,200
exit
SEE ALSO
latcp(8), latd(8)LAT Server June 2 2000 LATD.CONF(5)
Check Out this Related Man Page
MOPRC(8) System Manager's Manual MOPRC(8)NAME
moprc - MOP Remote console requestor
SYNOPSIS
moprc [options] <nodename>|<MAC Address>
DESCRIPTION
moprc allows a system administrator to connect to MOP console devices (usually terminal servers) and log into them to issue commands
remotely. It is the equivalent of "NCP CONNECT NODE" or "SET HOST/MOP" on VMS.
The node maybe specified as a MAC address in Unix format (ie as 6 pairs of hex digits seperated by colons) or as a name that appears in
/etc/ethers.
You will need to be root or have privileges to use moprc.
OPTIONS
-i Selects the ethernet interface to use to connect to the device. By default the value of environment variable MOPRC_INTERFACE or
"eth0" is used.
-v Shows some information about the node that is connected to
-t Trigger the node. This normally reboots the server so use this with care!
-p <n> Changes the poll interval of moprc from 200 ms to <n> ms. Changing this down will increase the risk of timeouts, increasing it will
decrease the speed of the link.
-h -? Shows the usage message.
-V Shows the version of moprc.
EXAMPLES
moprc ds200
moprc -i eth1 08:00:2B:2B:AD:99
ENVIRONMENT VARIABLES
MOPRC_INTERFACE defines the default interface to use if not specified on the command line. If not present the interface "eth0" will be
used.
BUGS
On Darwin you cannot specify an ethernet address on the command-line, the name MUST be in /etc/ethers.
You can script moprc but it sends one character per ethernet packet so is very slow.
There is no locking in moprc so be careful to only run once instance at a time.
SEE ALSO
latd(8), latd.conf(5), ethers(5), llogin(1)MOP Remote Console November 21 2001 MOPRC(8)
I am getting this message when I run my script.
$ runscript.sh
Not connected to any service!
Here is the beginning of the script:
# 1 - failure
#
# variable declaration
FILEDATE=`date +"%Y%m%d"`
Not connected to any service!
Right after the FILEDATE gets loaded I get that... (6 Replies)
Hi! I'm somewhat new to Unix (I use it to fiddle, but not seriously), and at my work I have come to use it quite a bit. My question is this:
I want to create a script to take the tedium out of repetitious tasks. However, I need to pass a file name into the script in order for it to work.
... (5 Replies)
Hi There,
I'm trying to get a script to su to a user and then run a following script but all it seems to do is su to a new users within a new shell and then run the commands after in the old shell.
Is there a way to su and then get the user to run the commands?
Cheers
Kees (11 Replies)
I'm writing a script that will ssh to a number of hosts and run commands. I'm a bit stumped at the moment as some of the commands that I need to run contain wildcards (i.e. *), and so far I have not figured out how to escape the * character so the script doesn't expand it. More specifically, here's... (9 Replies)
All,
I am pretty new to Unix and still in the learning curve :) I have a simple requirement for which I did not get an answer yet (Atleast I do not know how to keyword the search for my requirement!!!).
I have an executable script my.script1 in a folder /data/misc/scripts/dev, which when... (5 Replies)
How can I tell, in a shell script, if a certain service is running? I know how to do this on the command line, but not in a script. Is an error thrown somehow that I can check?
Thanks. (6 Replies)
Combine points of specific key (a1) based on user defined size (lets say 200 in this example).
so a1 191 and 191+200 and sum of all the values (4th column)
and vice versa...
Thanx a bunch!
a1 191 201 1
a1 201 211 2
a1 211 221 1
a1
.......
....
a2.........
........ (7 Replies)
Hi,
I need to write a shell script which will run i background and will execute other script only on Mon to Fri 10 AM but not on Sat and Sun.
I am able to set it to run on every day at 10AM but how to make it to run only on Mon to Fri
Thanks,
Firestar. (7 Replies)
how to run an already developed script run against a list of ip addresses solaris 8 question.
the script goes away and check traffic information, for example
check_GE-VLANStats-P3 1.1.1.1
and returns the results ok.
how do I run this against an ip list? i.e a list of 30 ip addresses (26 Replies)
Hi,
Im looking for a shell script which will search for a particular string in a log file as below scenario
1. I need to run URL http://localhost/client/update?feedid=200 in shell script at(eg)4:00 PM which will not take more than 15 mins to complete.
2. After 15 mins i need to... (6 Replies)
Environment
Solaris 9
I have configured the Solaris9 as NTP client in which Solaris9 is syncing the time with a windows2008 R2 Server which is runing fine. Now I want that the xntpd service should start at startup. I did this via a script. Kindly correct if I did any thing wrong:
1.)Made... (9 Replies)
I want the below script to omit every chunk of data that contains a specific hostname.
here's the scenario. i have a configuration file that contains the configuration of several hosts. a sample of this configuration file is this:
define host {
address ... (12 Replies)
Hi,
I am unable to call one script from another script in c shell on windows SUA environment.
Please find below code ,
File1 āTmp.csh:
#!/bin/csh
setenv PATH "${PATH}:.:$TOP/bin:$TOP/RMBIN/bin:$GP_SUA/:$INTERIX_ROOT"
echo "hi1"
. /tmp1.csh
File2ātmp1.csh
... (6 Replies)
Hi Experts,
I have one script which I have to run on multiple servers.
One way is to keep that script on every unix box and run it. I am looking for some best practise to do it. Like remotly login to the server using credentials and execute the script.
below is the snippet from the... (7 Replies)
I'm trying to create a minimal, crude keylogger for X using only a shell script. I was quickly stumped: Why do these two commands entered in a terminal emulator produce output when I type...
$ xinput test 6 | grep press
$ xinput test 6 | awk '{print $3}'
...but this command produces no... (13 Replies)