|
|
|
|||||||||||||||||||
|
Unix FAQ Menu ![]() PC 9-Pin RS232(left) & VGA connectors ![]() The combined serial ports on a Sun SparcStation
A null modem simply swaps RD/TD ![]() RS232 female 9-pin ![]() RS232 Female 25-pin ![]() RS232 male 25-pin |
Question; have a simple question. Well, at least I think that it should be
fairly simple. I don't have much experience with Unix (BSD) so I am in
a little bind right now with the following. My F5 BIG/ip currently uses
only the display and not the terminal port for accessing it. It runs the
BSD OS (3.0). I need to be able to disable it from using the display and
enable the terminal port so that I can connect a serial cable to the terminal
port to manage the machine with my laptop. Answer;Firstly I should say that I'm not familiar with your platform. Thus some of this advice may sound a little general... There are two distinct aspects to what you are trying to achieve. First is easy, second can be difficult. 1. Login via the COM (serial) port; This is generally just a case of enabling a program called getty(8) to
run on the port on question. The way getty is started & configured
varies widely. Once you've got a getty running on the serial port you should be able
to attach you laptop and get a login prompt. From this you can manage
your machine in most respects. One important thing you can't still do
is interact with the boot process - say an 'fsck' needing manual input.
Serial stuff: To connect a laptop,
PDA, or other "DTE" you'll likely need a cable with
pins 2/3 (rd/td) swapped at one end - or a null modem on a straight through
cable. A three wire cable is sufficient - pins 2,3, & 7 on a DB25
connector. Connecting a modem ( a "DCE" ) requires
a straight-through cable with the hardware handshake control lines (RTS/CTS).
RS232 BREAK; Be aware that many Unix
variants react to an RS232 BREAK signal on their console port by dropping
to some sort of boot/diagnostic prompt - suspending the Unix kernel. A
BREAK signal is frequently sent when a serial device is powered up - such
as when a modem or laptop is switched on. If this occurs on a Sun Solaris
box, type 'go' to the OpenBoot 'ok' prompt and your system should
continue running, thus; ok goGenerally I'd suggest disconnecting the cable before powering up your RS232 device.
Footnote 1. DTE stands for Data Terminal Equipment. Any device that is at the end of a communication link is a DTE. Examples are PCs, Unix boxes, PDAs, dumb terminals. Contrast with - 2. DCE Data Communication Equipment; devices that form part of a communication link. A modem is probably the most common example of a DCE. The RS232 specification was originally intended as a means of connecting DTEs to DCEs which explains why one needs to swap pins 2 & 3 ( Receive/Transmit ) when connecting two DTEs FeedbackI hope you found this FAQ to be of some use. It would be most helpful if you
could rate it below. All fields are optional... |
|||||||||||||||||||
|
||||||||||||||||||||