Serial port configuration
- From: "Jerónimo Lopes" <jlopes@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 18 Jan 2007 12:33:15 -0000
I have a problem connecting an old serial device (a weighing machine) in
RedHat Enterprise Linux 4 ES.
I tested telnet from another computer with the same cable and the
communication is correct when I use de default settings.
It seems I can't use the correct options and commands to configure the
serial port. I tried to use a line on inittab with "m:2345:off:/sbin/agetty
9600 ixon .. ttyS1";
I tried to put the stty line on rc.local.
I think setserial command does not allow all the parameters I need.
I think there is another issue about controlling the flow between the
devices and maybe another one with UART capability of devices.
On SCO Openserver I used to turn around the problem editing the S80lp file
and introduce the following line:
(stty 9600 ixon ixoff -ixany parenb cs7 ; while :; do sleep 3600 ; done)
</dev/tty2a &
Can please someone help me in this case?
.
- Prev by Date: Re: Help me to solve Red Hat Enterprise Linux questions.
- Next by Date: Re: Help me to solve Red Hat Enterprise Linux questions.
- Previous by thread: Help me to solve Red Hat Enterprise Linux questions.
- Next by thread: redhat ent3 not picking up and executing my static routes
- Index(es):
Relevant Pages
|