Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Connect to XServes via direct serial connection OS X Server
We spent a long time trying to get our XServe Macs to talk serial to serial. Putting together many of the hints and pieces, we finally came up with a relatively simple Terminal solution. Just connect the serial cables together of two machines and run this on one of them:

#!/bin/bash

sudo /System/Library/StartupItems/SerialTerminalSupport/SerialTerminalSupport stop
screen /dev/cu.serial 57600
sudo /System/Library/StartupItems/SerialTerminalSupport/SerialTerminalSupport start

Here's what each line in the script does (other than the first one):
  1. Turn off serial support (incoming to the machine)
  2. Talk out over the serial port to the target machine
  3. Restore serial support (incoming to the machine)
[robg adds: I haven't tested this one.]
    •    
  • Currently 2.22 / 5
  You rated: 5 / 5 (9 votes cast)
 
[7,683 views]  

Connect to XServes via direct serial connection | 2 comments | Create New Account
Click here to return to the 'Connect to XServes via direct serial connection' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Connect to XServes via direct serial connection
Authored by: ershler on Apr 17, '07 11:44:33AM

What were you trying to achieve by connecting the two xserves via the serial line?



[ Reply to This | # ]
Connect to XServes via direct serial connection
Authored by: sheurich on Apr 17, '07 03:30:11PM

You don't need to disable incoming serial connections in order to initiate an outbound connection via screen. We've been doing this on our (Intel-based) Xserves without any problems.



[ Reply to This | # ]