HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Serial port configuration
Operating System - Linux
1825639
Members
3496
Online
109683
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2004 03:35 PM
05-30-2004 03:35 PM
Hi all,
I have configurefd the serail link between two HP A400 servers (for redundancy)
Now I used the echo /cat commands for testing, but after several seconds the 'cat' doesn't display the
messages sent by 'echo' on the other server.
I did three things:
1. I redirected the 'cat' command into a test file;
2. I applied a tusc process on the 'cat' process to see what really took place.
3. I used 'ps -ef | grep tty0p2' to see if another process was susing the device
1. On the text file, apparently there were apparently a lot of "NULL characters" added to the messages characters,
as if another process was using the device (tty0p2), but the ps command didn't show any such process.
2. Apparently, tusc showed that for a while the 'cat' process listened to the msg and wrote them into the log file,
but from time to time it goes 'sleeping' during several seconds.
Could anyone have an idea about configuration of serail link?
Thanks
Alex
I have configurefd the serail link between two HP A400 servers (for redundancy)
Now I used the echo /cat commands for testing, but after several seconds the 'cat' doesn't display the
messages sent by 'echo' on the other server.
I did three things:
1. I redirected the 'cat' command into a test file;
2. I applied a tusc process on the 'cat' process to see what really took place.
3. I used 'ps -ef | grep tty0p2' to see if another process was susing the device
1. On the text file, apparently there were apparently a lot of "NULL characters" added to the messages characters,
as if another process was using the device (tty0p2), but the ps command didn't show any such process.
2. Apparently, tusc showed that for a while the 'cat' process listened to the msg and wrote them into the log file,
but from time to time it goes 'sleeping' during several seconds.
Could anyone have an idea about configuration of serail link?
Thanks
Alex
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2004 12:03 AM
05-31-2004 12:03 AM
Solution
What kind of protocol are you hoping to use on this serial line?
It sound like you are just using it like a "pipe" between the two machines. The most common cause of problems with this kind of config is the cable. I've never done it on a PC but I iamgine you need to at least, swap pins two and three. However there are a host of things you need to be sure are correct. Baud, parity, handshaking etc.
Assuming all these things are correct, I'd try a "sleep 1000 < /dev/ttyS0 &" first too.
Also, have you tried looking into "slip" or "cslip"?
It sound like you are just using it like a "pipe" between the two machines. The most common cause of problems with this kind of config is the cable. I've never done it on a PC but I iamgine you need to at least, swap pins two and three. However there are a host of things you need to be sure are correct. Baud, parity, handshaking etc.
Assuming all these things are correct, I'd try a "sleep 1000 < /dev/ttyS0 &" first too.
Also, have you tried looking into "slip" or "cslip"?
Never preceed any demonstration with anything more predictive than "watch this"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2004 04:31 AM
06-01-2004 04:31 AM
Re: Serial port configuration
As mentioned in the above post the type of cable you need would be a null cable 2-3 crossed, and some hardware pins also. Another type of cable would be the modem type. The type of cable is called DCE to DCE. Computer to computer type of cable. A straight through cable will not work.
Good luck.
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2004 09:47 PM
06-12-2004 09:47 PM
Re: Serial port configuration
Hi
Try to connect the systems with cable connections :
2 ----> 3
3 ----> 2
4 ----> 6
5 ----> 5
6 ----> 4
7 ----> 8
8 ----> 7
you can leave 1 & 9 pins disconnected.
Regards,
Ramaraju
Try to connect the systems with cable connections :
2 ----> 3
3 ----> 2
4 ----> 6
5 ----> 5
6 ----> 4
7 ----> 8
8 ----> 7
you can leave 1 & 9 pins disconnected.
Regards,
Ramaraju
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP