terminal to a serial port
pbarker at barker.dropbear.id.au
Fri Feb 15 09:51:00 EST 2002
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?
> 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...).
> >> > 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
- 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.
- 9600 9N1 may not be the magic settings; what's used under NT?
- raspberry and potato sundaes
Peter Barker | N _--_|\ /---- Barham, Vic
Programmer,Sysadmin,Geek | W + E / /\
pbarker at barker.dropbear.id.au | S \_,--?_*<-- Canberra
You need a bigger hammer. | v [35S, 149E]
qq%I've never heard of it or used it, apart from finding it in the Camel
book and saying "Oh god".% -- Onceler
More information about the linux