Subject: Re: This isn't very helpful on setting up a modem
To: Frederick Bruckman <fb@enteract.com>
From: Thor Lancelot Simon <tls@rek.tjls.com>
List: port-i386
Date: 05/08/2001 23:52:36
On Tue, May 08, 2001 at 06:50:49PM -0500, Frederick Bruckman wrote:
> 
> There's lots of ways, but "cu" is very simple to use...
> 
>   1) Create a file, "/etc/uucp/port", with the following lines:
> 
> port modem
> type modem
> device /dev/tty03
> speed 115200
> 
>   2) As root, type "cu -p modem". If the modem is supported, you'll be
>      able to enter "AT" commands (try "at", "at&v", "ati11", "ati13",
>      "atli5"). Exit from "cu" by typing "~." (that's "tilde", then
>      "period", without the quotes).

This won't quite work, if the modem really does fail to work at all without
hardware flow control.  It won't work because AFAIK there is no way to set
hardware flow control from within 'cu'.

After you start the 'cu', suspend it (^Z or <ret>~^Z depending how far it's
gone since you ran it) and type "stty -f /dev/tty03 crtscts".  Then you will
be testing the documented behaviour.

To get crtscts turned on all the time on that tty, add "rtscts" (NOT
"crtscts") to the /dev/tty03 line in /etc/ttys and run ttyflags -a or
reboot (which will run ttyflags -a for you).  You could do that, then try
the cu test, too.

Thor