LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RJ45 Serial Ports (https://www.linuxquestions.org/questions/linux-newbie-8/rj45-serial-ports-519932/)

DarkSun4241 01-16-2007 04:02 PM

RJ45 Serial Ports
 
I'm trying to setup a ha cluster. The problem I'm having is I can't get the two machines to talk to each other over a serial connection. I have never uses this type of serial port before and I'm not sure if I'm using the correct cable. I'm using a crossover cable to connect the two machines.

Command I'm using to talk to both machines.
Machine 1:
Cat </dev/ttyS1
Machine 2:
echo test >/dev/ttyS1


Machine 1:
cat /proc/tty/driver/serial
0: uart:16550A port:000003F8 irq:4 tx:0 rx:0 RTS|DTR
1: uart:16550A port:000002F8 irq:3 tx:206 rx:7 brk:7
2: uart:unknown port:000003E8 irq:4
3: uart:unknown port:000002E8 irq:3

Machine 2:
cat /proc/tty/driver/serial
serinfo:1.0 driver revision:
0: uart:16550A port:000003F8 irq:4 tx:0 rx:0
1: uart:16550A port:000002F8 irq:3 tx:2 rx:1 brk:1
2: uart:unknown port:000003E8 irq:4
3: uart:unknown port:000002E8 irq:3

Robert Diggs 01-16-2007 04:07 PM

Hey,

I can't offer much help, but I know that you aren't going wrong with the RJ45 crossover cable. That's exactly what you need. I can't help you out with the command, though. Try googling it. www.google.com/linux. The results are presorted so it goes a little faster and a little more accurate.

Regards,

Brandon

Electro 01-16-2007 06:12 PM

You will need a null modem cable to connect another computer up through a serial port. Serial port speed is no faster than 16 kilobytes, so a cluster is going to choke. I suggest using a 1 Gb network on a PCI Extended or PCI Express bus. If you can find a 10 Gb network card, use that instead.

With serial, I suggest using a terminal program to echo text to make sure the other computer can retrieve it.

DarkSun4241 01-16-2007 09:46 PM

Quote:

Originally Posted by Electro
You will need a null modem cable to connect another computer up through a serial port. Serial port speed is no faster than 16 kilobytes, so a cluster is going to choke. I suggest using a 1 Gb network on a PCI Extended or PCI Express bus. If you can find a 10 Gb network card, use that instead.

With serial, I suggest using a terminal program to echo text to make sure the other computer can retrieve it.

I can't seem to find a null modem cable with a RJ45 connector . That why I when with crossover cable. All the null modem cable I have find have a nine pin or 25 pin connector. Do you where I could find a null modem cable with a RJ45 connector or a wiring diagram.

Thanks for help

Wim Sturkenboom 01-16-2007 11:36 PM

You must find the pinout of the RJ45 and next make up your own RJ45 cables for this. Check the documentation that came with the equipment. It's not a standard (as far as I know)

A standard CAT5 cable (normal or cross) will NOT work.

Electro 01-16-2007 11:37 PM

http://www.zytrax.com/tech/layer_1/c...tech_rs232.htm

Wim Sturkenboom 01-17-2007 01:09 AM

OK, mistaken. Thanks for the link.


All times are GMT -5. The time now is 09:45 PM.