06-09-2008
Thanks for posting back ayman metwally.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
looking for the answer to console port access via 25pin serial. Can i tip in from another unix box for access? (5 Replies)
Discussion started by: simplimarvelous
5 Replies
2. UNIX for Advanced & Expert Users
I have installed an application on AIX 5.3, however when i log in as the application owner i cannot open the RMI Port 1099. If i log in as root i can open the RMI port. Is there a specific setting that determines if a user can open the RMI port? I cannot add this user as part of SYS Admin group.
... (2 Replies)
Discussion started by: speedo
2 Replies
3. AIX
hello everybody.
Has anyone tried to install aix 5.2 on p520 machines. I've been trying but in the installation menu it says, "no disk found". I've used the same CD on a different 520 server and its working fine on it. Can anyone help, please? (5 Replies)
Discussion started by: soahel
5 Replies
4. Linux
Hey.
I am trying to upgrade my kernel to 2.6.21.1 and I am having issues. Everything is fine apart from a keymaps issue, and this is stopping me from running X. During startup, I get the error messages:
/dev/md0 failed to open
crond: failed
/dev/tty0 No such file or directory
Then, when... (0 Replies)
Discussion started by: newbie sarah
0 Replies
5. Solaris
Hi,
Is it possible to manually set the sc/rsc netmgt port speed and duplex settings, rather than have it auto-negotiate?
How do you see what speed the port is currently connected at, from the host side (not from switch or router)?
Thanks (2 Replies)
Discussion started by: melias
2 Replies
6. AIX
Hi Guy's
Just I want to know the default settings of security password in AIX there is some changes happened in my machine when I try to change my password I'm getting this message
Changing password for "root"
root's New password:
a minimum of 1 elapsed week between changes.... (1 Reply)
Discussion started by: Mr.AIX
1 Replies
7. AIX
Hi
Can any one tell the procedure to change the maxpout and minpout settings on AIX (1 Reply)
Discussion started by: newtoaixos
1 Replies
8. UNIX for Dummies Questions & Answers
I use a program called TinyTerm to access our AIX machine. It works fine except for when I rlogin into our SCO unix server. Backspace doesn't delete, ctrl-c doesn't work (delete key does same thing), and the most annoying thing is vi acts very wierd. I have to press the down arrow like 3 times to... (11 Replies)
Discussion started by: herot
11 Replies
9. AIX
Hi,
what are the ideal/best/recommended ulimit settings for a root user in AIX?
I understand that it depends on our environment. But I would like to know...what are settings you guys use in your environment for best performance.
default:
fsize = 2097151
core = 2097151
... (8 Replies)
Discussion started by: System Admin 77
8 Replies
10. AIX
There's no Vim in AIX (6 and 7), but Vi is natively available.
I want to save my configuration for Vi like `set nu` to number lines in files.
I couldn't find configuration related to Vi in /etc/ or /usr/etc/ folders.
Please help me with that. (4 Replies)
Discussion started by: Chinggis6
4 Replies
LEARN ABOUT DEBIAN
modbus_rtu_get_serial_mode
MODBUS_RTU_GET_SERIA(3) Libmodbus Manual MODBUS_RTU_GET_SERIA(3)
NAME
modbus_rtu_get_serial_mode - get the current serial mode
SYNOPSIS
int modbus_rtu_get_serial_mode(modbus_t *ctx);
DESCRIPTION
The modbus_rtu_get_serial_mode() function shall return the serial mode currently used by the libmodbus context:
MODBUS_RTU_RS232
the serial line is set for RS232 communication. RS-232 (Recommended Standard 232) is the traditional name for a series of standards for
serial binary single-ended data and control signals connecting between a DTE (Data Terminal Equipment) and a DCE (Data
Circuit-terminating Equipment). It is commonly used in computer serial ports
MODBUS_RTU_RS485
the serial line is set for RS485 communication. EIA-485, also known as TIA/EIA-485 or RS-485, is a standard defining the electrical
characteristics of drivers and receivers for use in balanced digital multipoint systems. This standard is widely used for
communications in industrial automation because it can be used effectively over long distances and in electrically noisy environments.
This function is only available on Linux kernels 2.6.28 onwards and can only be used with a context using a RTU backend.
RETURN VALUE
The modbus_rtu_get_serial_mode() function shall return MODBUS_RTU_RS232 or MODBUS_RTU_RS485 if successful. Otherwise it shall return -1 and
set errno to one of the values defined below.
ERRORS
EINVAL
The current libmodbus backend is not RTU.
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_RTU_GET_SERIA(3)