[lug] Serial Line Direct Connection
Steve Pollock
spollock at cisco.com
Thu Apr 18 19:08:18 MDT 2002
Perhaps an easy question for some of you. I want to use COM1 as a console, no modem control, speed fixed at 9600, 8N1.
I was able to change the speed with setserial:
[root at redhot log]# setserial -av /dev/ttyS0
/dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
Baud_base: 115200, close_delay: 50, divisor: 0
closing_wait: 3000, closing_wait2: infinte
Flags: spd_normal skip_test
[root at redhot /bin]# setserial -v /dev/ttyS0 baud_base 9600
But it still doesn't work for me with a simple terminal emulator and a serial cable connected. I suspect that it is looking for modem control signals which I will not provide. What is the best way to tell it this is a direct connection?
I looked at mgetty, but mgetty -s 9600 -r just hangs forever..
Regards & Thanks,
-Steve
More information about the LUG
mailing list