[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Connecting a console.



On Thu, Jun 29, 2000 at 09:35:47PM +0300, Nimrod S. Carmi wrote:
> > the VT should just be set to the same line speed and soft flow control,
> > remember to cross the serial cable because both computer and terminal
> > are DTE, so a modem cable won't do. simple 1-1, 2-3, 3-2, 7-7 should be
> > fine for a D-type 25. if your linux has only 9 pin outputs, I don't
> > remember the pinout (sorry).
> 
> Thats the problem, it's 9 pin and I'm almost sure that my problem is the
> cable I made is not good.
> Any way I could find such cable in office depot or something ?

You might, but note that a 9-to-25 pin adapter is completely standard,
and that you can pick *those* up in virtually any shop that sells
computer stuff.

Alternatively, blackdown.org used to have a very nice hardware handbook
with pinouts. They may have removed it, but look for "~hwb" there or
something. These things *are* on the web.

(Oh, and Dror Maarachot sell cute 9 or 25-pin to RJ-45 connectors that
you can wire any way you want. You buy two of those at about NIS 5.-
each, and connect them with a piece of flat universal cable of any
length you wish (well, RS-232 says 15 meters tops if I remember these
things correctly, but I think more might work too), and you're on.)
  
> > after that, you simply add a getty to /etc/inittab to listen on that
> > port. but try mgetty instead of mingetty, it's supposed to have more
> > options for terminal. see the manpage for setting Xon/Xoff flowcontrol
> > and you're on your way.
> 
> Can't I just do something like "echo "blah" > /dev/cua2" and see it
> written on the monitor of the VT ?

Sure you can, but unless you set your computer's serial port correctly,
it may not work :-)

Start by trying to get minicom to "talk" with the terminal. Play with
its options interactively until you get it right. Then copy the settings
to your *getty program.

-- 
believing is seeing
gaal@forum2.org
http://www.forum2.org/gaal/

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il