On Mon, 2011-05-23 at 13:59 -0700, Hai Tao wrote: > this might not be too close to HA, but I am not sure if someone has seem this > before: > > I use a serial cable between two nodes, and I am testing the heartbeat with : > > > server2$ cat < /dev/ttyS0 > server1$ echo hello > /dev/ttyS0 > > instead of receiving "hello" on server2, I see some hashed code there. > > Does someone have an idea why I do not receive the "hello" in clear text?
This normally means there is something wrong with your tty settings (see "man stty"). Either your settings at each end do not match, or the settings you are using will not work with the cable you have. Or perhaps the pinouts on the cable you are using are incorrect, but if you are getting something across, it's more likely stty settings than cable pinouts. I am not an expert on serial communications so this is about all the help I can give, but I do know that seeing garbage on a serial tty usually means the stty settings are wrong. I can also say that I have used serial heartbeats in the past with success, but some things (like certain USB-to-serial adapters), I could just never get to work. But I've never had any trouble getting a serial cable between two on-board serial ports to work. --Greg _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
