[lug] Serial Line Direct Connection
Timothy C. Klein
teece at silverklein.net
Thu Apr 18 21:44:53 MDT 2002
This is how I do it with my serial consoles:
On the 'server' I have this in inittab:
T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
I then use the following parameters in kermit:
set line /dev/ttyS0
set parity none
set speed 115200
set serial 8n1
set carrier-watch off
The two machines are hooked up with a null modem cable, and away I go.
If your line will support it, 57600 or higher is *much* funner to work
with.
HTH,
Tim
* Steve Pollock (spollock at cisco.com) wrote:
> 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
>
--
==============================================
== Timothy Klein || teece at silverklein.net ==
== ---------------------------------------- ==
== "Hello, World" 17 Errors, 31 Warnings... ==
==============================================
More information about the LUG
mailing list