terminal to a serial port
kim.holburn at anu.edu.au
Fri Feb 15 11:01:13 EST 2002
At 9:51 AM +1100 02/2/15, Peter Barker wrote:
>On Fri, 15 Feb 2002, Kim Holburn wrote:
>> I did that, deleted all the modem setup and dial strings. Set the
>> rate to 9600N81.
>The init strings shouldn't really matter - unless they are going to
>confuse whatever is at the end of the serial link.
>I use minicom as a serial console for the little sparc classic I have
>here. Works just fine, so keep working at it :-)
>> ¦ E - Bps/Par/Bits : 9600 8N1 ¦
>Are these all the same numbers as used under NT?
They are standard serial port values and they are what I need to talk to a sun and many other network devices.
> > How do you start a session without dialing? When I dial, nothing much
>> happens and it just keeps trying to dial again and again.
>Start a minicom session without dialling? My minicom (1.83.1) does not
>automatically dial anything (which I see as a good thing...).
OK then minicom is not able to talk to the serial port.
>> >> > tail -f /dev/ttyS0
>> >> tail: /dev/ttyS0: Input/output error
>> >> tail: tail.c:728: recheck: Assertion `valid_file_spec (f)' failed.
>> >> Abort
>That _may_ just be tail not liking a device file as a source. My tail has
>no problems with the above command, however. But let's not go there.
>Some other ideas:
> - Are you sure the device is on ttys0? Martijn mentioned the
I've tried it on both serial ports at the back of the box.
> - connecting to a device directly on the serial port has _nothing_ to do
>with dialling. Tapping at strings at a modem to get it to dial does.
> - once you get the settings right, you should just be able to tap enter a
>few times to get whatever prompt the other end is sending you (certainly
>this is the way getty works)
> - check the interrupt counts, make sure they are going up
> - strace! Unfortunately, stracing minicom is a bastard; there's a _lot_
>of calls it makes for the terminal stuff.
> - I'm assuming you're using the same hardware setup for NT and Linux, so
>the hardware is all verified as connected correctly.
No, 2 completely different boxes
> - 9600 9N1 may not be the magic settings; what's used under NT?
9600 8N1 is what the remote device talks.
> - raspberry and potato sundaes
Do you cook the rasberries or eat the potatoes raw?
Kim Holburn Network Consultant P/F: +61 2 61258620 M: +61 0417820641
Email: kim.holburn at anu.edu.au - PGP Public Key on request
Life is complex - It has real and imaginary parts.
Andrea Leistra (rec.arts.sf.written.Robert-jordan)
More information about the linux