LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-16-2007, 05:02 PM   #1
DarkSun4241
LQ Newbie
 
Registered: May 2004
Posts: 19

Rep: Reputation: 0
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
 
Old 01-16-2007, 05:07 PM   #2
Robert Diggs
Member
 
Registered: Dec 2006
Location: Florida
Distribution: The ones that come in magazines and books.
Posts: 136

Rep: Reputation: 15
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
 
Old 01-16-2007, 07:12 PM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
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.
 
Old 01-16-2007, 10:46 PM   #4
DarkSun4241
LQ Newbie
 
Registered: May 2004
Posts: 19

Original Poster
Rep: Reputation: 0
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
 
Old 01-17-2007, 12:36 AM   #5
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
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.
 
Old 01-17-2007, 12:37 AM   #6
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
http://www.zytrax.com/tech/layer_1/c...tech_rs232.htm
 
Old 01-17-2007, 02:09 AM   #7
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
OK, mistaken. Thanks for the link.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
serial to rj45 ethernet wrich Linux - Networking 3 10-11-2006 06:44 PM
problem with serial ports houssamfarag Linux - Hardware 1 02-24-2006 02:48 PM
serial ports pricej DamnSmallLinux 1 02-03-2006 04:21 AM
Can only use one of my serial ports steaktc Linux - Hardware 1 11-23-2005 07:07 AM
Serial ports KenHorse Programming 2 12-27-2004 09:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration