On Wed, Nov 08, 2000 at 11:13:47PM -0400, Marco Shaw wrote:
| Will minicom 'listen' on a serial port? I don't want to actually talk
| 'outwards', but want to configure a terminal on my Linux box to listen to
| ttyS0, so I can get the terminal from another headless machine.
|
| headless--->serial port-->null modem-->cable-->ttyS0-->Linux & get console
| from headless machine
|
| If minicom won't listen, shouldn't it at least echo output from the other
| system if I configure minicom to connect to ttyS0, then press <enter>?
Not if the tty is in raw mode, without echo.
You want to edit /etc/inittab. The man entry has the format. In short, copy
one of the existing virtual console lines:
2:2345:respawn:/sbin/mingetty tty2
and adapt for ttyS0:
S0:2345:respawn:/sbin/mgetty ttyS0
(mingetty is no good for serial lines, which have many attributes which
are irrelevant for virtual consoles) and then say:
telinit q
See if you now have an mgetty on ttyS0 by examining the output of "ps axf"
and by trying to use it from your second box.
The remaining stuff is getting the baud rate etc to match at each end;
read the manual entries on mgetty and gettydefs for this. You might
also want to look at installing agetty instead of mgetty as an
alternative. I'm not recommending one as better than another, merely
mentioning it.
Cheers,
--
Cameron Simpson, DoD#743 [EMAIL PROTECTED] http://www.zip.com.au/~cs/
Their are thre mistakes in this sentence.
- Rob Ray DoD#33333 <[EMAIL PROTECTED]>
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list