Firstly, you'll need to make sure that the port you're connecting to is actually spawning a "getty" to listen for the connection. You'll need something like the second line below in /etc/inittab:
If your serial cable doesn't have the DTR and DTD lines (recalled from memory), then you'll need "clogin" as a parameter in smit tty "STTY attributes for RUN time" and "STTY attributes for LOGIN".
Hi there,
I need to specify a port on my server (Linux Red Hat 7.2) so that when I access it throgh the browser it forwards me to a certain webpage or folder on the server.
For example, when I write http://domain.com: on the client side, it takes me to an administrator webpage on the server.... (5 Replies)
Does anyone know how to disable this:
When I plug a console cable into the back of a sun box using the DB-25 interface, it sends the box to the ok prompt.
I heard thiere is a way to disable this, but I have not had luck finding it.
Thanks in advance!!
Brian (1 Reply)
Does anybody know how to add a printer from network in Solaris 10 using IP settings? according to our IT support, in order to add this printer in Windows XP we introduce it as a local printer which is connected to a port with an IP address, like 128.79.44.110. Anyway I don't know how it can be done... (3 Replies)
Please help urgently.
I need to setup up some sort of service on a solaris server on a port.
I dont need it do anything special, anything that is sent to this port from an external server should be dump to /dev/null or a flat file..
Can you help urgently? (1 Reply)
Hi Guys,
I have SMC 3 port print server would liek to create 3 queues for each port , please advice what port name or number should be used while creating the quues , I have hpjetdirect and I have tried raw1, raw2 and raw3 on it and it works but it doesnt work for SMC , please advice.
... (1 Reply)
i am running solaris 10 in my vmware workstation. How to setup a console for my solaris box. in Vmware i could see a serial port option. can some one help me on how i can setup a console . (0 Replies)
Hi,
I am very newbie with AIX system.
I have changed the default IP address 192.168.2.147 of HMC1 to our LAN IP address. I can ping to the new ip address but unable to access to ASMI again with the new ip address. Is there a way that I can connect to the console or can reset to the default... (20 Replies)
I need to set a serial port to 9600 7E1. How do I accomplish this?
I've tried every combination, with no luck. (6 Replies)
Discussion started by: Meow613
6 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)