Re: Serial Direct Connect
> Can any one give me advice on how to set up one of my serial ports for a
> direct terminal connection?
> All I need is a terminal session at 9600 - 8 - n - 1 for this, and it
> will not talk to a modem. I will not be talking DTE to DTE, it will be
> DCE to DTE via a serial data connection. I looked on the list of
> HOW-TO's but the closest thing I saw was a SERIAL-PROGRAMMING HOW-TO. I
> think what I need is the SERIAL-HOW-TO.
> Any help would be appreciated.
Look into your /etc/inittab, it should contain examples on how to put
getty on a direct serial line. I myself use mgetty for this (to have
flexibility to use this connection for both direct login frm the dumb
terminal and ppp connection. Tne line I put into /etc/inittab:
s1:2345:respawn:/sbin/mgetty -r -D ttyS1
/etc/mgetty/mgetty.config contains (in addition to other stuff) the
following:
port ttyS1
direct y
speed 19200
toggle-dtr n
and the last line in /etc/mgetty/login.config used in case of dumb
terminal:
* - - /bin/login @
Alex Y.
--
_
_( )_
( (o___ +-------------------------------------------+
| _ 7 | Alexander Yukhimets |
\ (") | http://pages.nyu.edu/~aqy6633/ |
/ \ \ +-------------------------------------------+
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: