11-04-2008
I'm using solaris 8 but set it as a slave probably a best solution. How can you set up NIS not using broadcast method
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi@all,
I'd setup a nis server and 4 slaves. Update of passwd work's fine, but if i create a netgroup file the make all process hang by push the netgroup file.
I work with AIX 4.3.3.0 and Maintance Level 5.
Tank's for help (1 Reply)
Discussion started by: Michael
1 Replies
2. UNIX for Dummies Questions & Answers
hi
i got fbsd here,when i try to start my X server as an user I got hte following error.
Fatal server error:
xf86OpenConsole: Server must be running with root permissions
You should be usig Xwrapper to start the server or xdm.
We strongly advise against making the server SUID root!
But... (2 Replies)
Discussion started by: Stormpie
2 Replies
3. UNIX for Advanced & Expert Users
Hi all,
I use a sparc 1000 Enterprice server with solaris 5.8 as nis server.
IŽam able to login as root user on the server and switch after
that to any other user (If I am switch as root user) . So far so good.
But if i try a
rlogin server -l user_name
or
su - user (if I am no root user)... (5 Replies)
Discussion started by: joerg
5 Replies
4. UNIX for Advanced & Expert Users
Hi Experts,
For configuring NIS server/clients which i've done several times already, i faced some problem which i have not seen before.
The problem is that after configuring NIS server & the clients, for instance when i run "ypcat hosts " it gives this message:
"No such map in domain services"... (5 Replies)
Discussion started by: nikk
5 Replies
5. Solaris
I have a Solaris 9 system running on a sparc platform which is configured for NIS. The domain is set to unixlab.ocas.uc.edu on this system and the yp processes are running. The client machinces successfully binds using the ypinit -c command and specifying the servers name. I also copied the... (2 Replies)
Discussion started by: meyersp
2 Replies
6. Solaris
I'm having an issue with NIS. I run the following:
./nisclient -i -d XXX.XXXX.XXX -h XXXX-XXXX
Everytime I do this with both my master and slave servers up and running and I go to reboot my client the client will hang after starting RPCBIND, and NIS Cachemanager. If I take my slave NIS... (1 Reply)
Discussion started by: buckhtr77
1 Replies
7. Shell Programming and Scripting
Hey Guys
I have an extremely annoying problem with regular expressions! At this point i believe the command 'read' is causing the problem due to the carriage return it places once its done.
I have an continuous loop until the input is correct: (After initial read statement)
while ... (7 Replies)
Discussion started by: shadow0001
7 Replies
8. AIX
Hi,
We are facing a problem with nis . we have a master server and there are 5 -6 slave servers configured with NIS. All the servers are IBM aix with different O/s versions installed Ex.5.2, 5.3 and 6.1
The master nis server is a 5.2 aix server system and all others are installed with nis... (6 Replies)
Discussion started by: ramkalluri
6 Replies
9. Red Hat
Hello Everyone!
When my NIS clients sync to the master server they have a problem with only the group maps.
Upon executing "ypcat group" on the client, just one entry displayed for groups. That entry corresponds to the local group account (/etc/group) on the master. This particular group... (0 Replies)
Discussion started by: pingmeback
0 Replies
10. Shell Programming and Scripting
Hello,
I met a problem with following code:
#!/usr/bin/perl -w
# test.pl
use strict;
use diagnostics;
use DBI;
my $dbh = DBI->connect(
"DBI:mysql:BibleBook","yifangt","password")
or die("Cannot connect: $DBI::errstr");
my $sql = qq(SELECT * FROM library WHERE isbn =... (2 Replies)
Discussion started by: yifangt
2 Replies
LEARN ABOUT DEBIAN
modbus_set_slave
MODBUS_SET_SLAVE(3) Libmodbus Manual MODBUS_SET_SLAVE(3)
NAME
modbus_set_slave - set slave number in the context
SYNOPSIS
int modbus_set_slave(modbus_t *ctx, int slave);
DESCRIPTION
The modbus_set_slave() function shall set the slave number in the libmodbus context.
The behavior depends of network and the role of the device:
RTU
Define the slave ID of the remote device to talk in master mode or set the internal slave ID in slave mode. According to the protocol,
a Modbus device must only accept message holing its slave number or the special broadcast number.
TCP
The slave number is only required in TCP if the message must reach a device on a serial network. The special value MODBUS_TCP_SLAVE
(0xFF) can be used in TCP mode to restore the default value.
The broadcast address is MODBUS_BROADCAST_ADDRESS. This special value must be use when you want all Modbus devices of the network receive
the request.
RETURN VALUE
The modbus_set_slave() function shall return 0 if successful. Otherwise it shall return -1 and set errno to one of the values defined
below.
ERRORS
EINVAL
The slave number is invalid.
AUTHORS
The libmodbus documentation was written by Stephane Raimbault <stephane.raimbault@gmail.com[1]>
NOTES
1. stephane.raimbault@gmail.com
mailto:stephane.raimbault@gmail.com
libmodbus 3.0.3 05/26/2012 MODBUS_SET_SLAVE(3)